summaryrefslogtreecommitdiffstats
path: root/tests/run-readelf-addr.sh
Commit message (Collapse)AuthorAgeFilesLines
* readelf handle .debug_addr section.Mark Wielaard2018-05-301-0/+143
Add debug-dump=addr which will show the .debug_addr section tables. The only tricky bit is the fact that GNU DebugFission, a DWARF4 extension, didn't produce unit table headers. So if we see a mixed DWARF4/5 .debug_addr table we have to reconstruct the table length from the CU DIE DW_AT_[GNU_]_addr_base offsets. Signed-off-by: Mark Wielaard <[email protected]>