summaryrefslogtreecommitdiffstats
path: root/libdw/dwarf.h
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2021-11-08 09:27:51 +0100
committerMark Wielaard <[email protected]>2021-11-09 18:28:00 +0100
commit5b21e70216b853065fa2fef34273db5f7dcdc88b (patch)
tree8b879a48628c114a3b409bbedcced19caafb8db2 /libdw/dwarf.h
parent039f427a3574ec75985c755108399a2bb37c2c86 (diff)
libdw: dwarf_elf_begin should use either plain, dwo or lto DWARF sections.
When opening an ELF file that contained a mix of plain, dwo or lto .debug sections the result could be confusing. Add a check to pick just the plain .debug sections, or the .dwo sections or the .gnu.debuglto_.debug sections (in that order of preference). That way there is always a consistent set. https://sourceware.org/bugzilla/show_bug.cgi?id=27367 Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'libdw/dwarf.h')
0 files changed, 0 insertions, 0 deletions