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?
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? Thanks Ananth