diff options
author | Mark Wielaard <mark@klomp.org> | 2021-11-08 09:27:51 +0100 |
---|---|---|
committer | Mark Wielaard <mark@klomp.org> | 2021-11-09 18:28:00 +0100 |
commit | 5b21e70216b853065fa2fef34273db5f7dcdc88b (patch) | |
tree | 8b879a48628c114a3b409bbedcced19caafb8db2 /tests/testfile-dwarf5-fat-lto.o.bz2 | |
parent | 039f427a3574ec75985c755108399a2bb37c2c86 (diff) | |
download | elfutils-5b21e70216b853065fa2fef34273db5f7dcdc88b.tar.gz |
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 <mark@klomp.org>
Diffstat (limited to 'tests/testfile-dwarf5-fat-lto.o.bz2')
-rw-r--r-- | tests/testfile-dwarf5-fat-lto.o.bz2 | bin | 0 -> 3101 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/tests/testfile-dwarf5-fat-lto.o.bz2 b/tests/testfile-dwarf5-fat-lto.o.bz2 Binary files differnew file mode 100644 index 00000000..ce3659f4 --- /dev/null +++ b/tests/testfile-dwarf5-fat-lto.o.bz2 |