libdw: Handle .debug_rnglists in dwarf_ranges.
authorMark Wielaard <mark@klomp.org>
Fri, 6 Apr 2018 16:53:34 +0000 (18:53 +0200)
committerMark Wielaard <mark@klomp.org>
Mon, 28 May 2018 12:51:26 +0000 (14:51 +0200)
commit879f3a4f99dfc7f3678dc1c959e66784f21886bb
tree06e9556b14ba7a3753afa344679119348676b983
parentbc1f86b0c4fd9d00f184e759be5dbab1a15be934
libdw: Handle .debug_rnglists in dwarf_ranges.

Handle all new DW_RLE opcodes in .debug_rnglists in dwarf_ranges. Extract
code for reading .debug_addr indexes from dwarf_formaddr as __libdw_addrx
to reuse in __libdw_read_begin_end_pair_inc. And add new testcase for
"plain" DWARF5 and add a new test all-dwarf-ranges to test split DWARF5.

Signed-off-by: Mark Wielaard <mark@klomp.org>
15 files changed:
libdw/ChangeLog
libdw/dwarf_formaddr.c
libdw/dwarf_getlocation.c
libdw/dwarf_ranges.c
libdw/libdwP.h
src/ChangeLog
src/readelf.c
tests/ChangeLog
tests/Makefile.am
tests/run-all-dwarf-ranges.sh
tests/run-dwarf-ranges.sh
tests/testfile-ranges-hello5.dwo.bz2 [new file with mode: 0644]
tests/testfile-ranges-world5.dwo.bz2 [new file with mode: 0644]
tests/testfileranges5.debug.bz2 [new file with mode: 0755]
tests/testfilesplitranges5.debug.bz2 [new file with mode: 0755]