Any interest in seeing some patches which upgrade dwarflint to latest elfutils-0.170? Djordje Todorovic has more details about the patches. Thanks, Ananth
On 8/3/17, 2:13 AM, "Mark Wielaard" <m...@klomp.org> 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. > 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