lvc / abi-dumper

Dump ABI of an ELF object containing DWARF debug info
GNU Lesser General Public License v2.1
178 stars 35 forks source link

Support DWARF 5's `debug_loclists` #33

Open MrAnno opened 2 years ago

MrAnno commented 2 years ago

Hi,

I'm opening this issue as an enhancement idea.

gcc >= 11 now defaults to DWARF 5, which makes abi-dumper fail due to the missing debug_loc section:

ERROR: invalid debug_loc section of object, please fix your elf utils

It seems debug_loc has been replaced with debug_loclists, which is considered a "more compact representation".


Thanks for open-sourcing abi-compliance-checker, it's an amazing toolset.