This is the mail archive of the
mailing list for the elfutils project.
Re: Latest version of dwarflint?
I have managed to integrate dwarflint on the top of elfutils-0.170 release, so dwarflint and locstats can use all conveniences and improvements of the newest libdw library (such as
handling ops like DW_OP_GNU_entry_value).
It is used internally by our compiler team. I have also managed to add some new enhancements for locstats, such as reporting summary either for formal parameter or local variable,
reporting some kind of verbose info about particular variable or formal parameter of particular function.
But, beside these enhancements that were interested for our compiler team, dwarflint and locstats have a lot of good utilities that can be really useful to compiler developers. For
example, dwarflint tool can detect mistakes in debug sections such as debug info, debug line etc., and help compiler developers to get rid of those mistakes. Locstats can
apparently report useful summary and show progress of making better coverage for local variables or formal parameter in debug sections, so it can save a lot of time to compiler
At least, maybe considering a making new branch called „dwarflint“ on elfuitls git repository, which follows the newest source code, would be good for the beginning, the same as it
was on elfutils-0.152? Because, getting more feedback from users, these tools would be better and more useful, so it can be, one day, merged on to master branch.
If you are interested, I can share my patches.
On 21.09.2017. 17:59, Ananthakrishna Sowda (asowda) wrote:
Any interest in seeing some patches which upgrade dwarflint to latest elfutils-0.170? Djordje Todorovic has more details about the patches.
On 8/3/17, 2:13 AM, "Mark Wielaard" <email@example.com> wrote:
On Wed, 2017-08-02 at 19:47 +0000, Ananthakrishna Sowda (asowda) wrote:
> I found the dwarflint and locstats tools in the ‘dwarf ‘ branch of elfutils.
> Any plans of merging this into main branch?
Currently not, sorry.
> I get following error from locstats:
> error: .debug_info: DIE 0x3f10fc: dwarf_getlocation_addr: invalid DWARF
> This error is reported on DW_OP_GNU_entry_value in DWARF location list. Any newer version of these tools which can handle DWARF5 ops such as DW_OP_GNU_entry-value?
There is a standalone version of dwlocstat here:
It should handle DW_OP_GNU_entry_value but is also a bit old so might
not handle the latest DWARF extensions.