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. > https://sourceware.org/elfutils/DwarfLint > 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: https://github.com/pmachata/dwlocstat It should handle DW_OP_GNU_entry_value but is also a bit old so might not handle the latest DWARF extensions. Cheers, Mark