diff options
author | Mark Wielaard <mark@klomp.org> | 2018-05-19 00:46:02 +0200 |
---|---|---|
committer | Mark Wielaard <mark@klomp.org> | 2018-05-23 00:31:22 +0200 |
commit | 144b73c49acf3ed894e4635aedb9b0d1208ade2e (patch) | |
tree | 53ce2f235c75324b4010c419b5d5fe1a524c09ba /tests/testfilesplitranges4.debug.bz2 | |
parent | a4c74cc67de22cb3208fc768989c509d6837cd77 (diff) | |
download | elfutils-144b73c49acf3ed894e4635aedb9b0d1208ade2e.tar.gz |
libdw: Handle GNU DebugFission split ranges.
GNU DebugFission split dwarf handles DW_FORM_sec_offset specially for
attributes that point to ranges. The .debug_ranges section is not in
the .dwo file, but in the main/skeleton object file. The sec_offset is
not relocated (in the ELF file), but is an offset against the skeleton
DIE DW_AT_GNU_ranges_base attribute. dwarf_formudata is changed so it
still looks like a normal offset ptr into the .debug_ranges section.
dwarf_ranges is adapted to look for the .debug_ranges in the main object
file. dwarf_highpc and dwarf_lowpc now handle the highpc and lowpc
attributes being inherited for the split unit DIE from the skeleton.
A new testcase is added to iterate over all ranges in a split GNU
DebugFission file.
Signed-off-by: Mark Wielaard <mark@klomp.org>
Diffstat (limited to 'tests/testfilesplitranges4.debug.bz2')
-rwxr-xr-x | tests/testfilesplitranges4.debug.bz2 | bin | 0 -> 2154 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/tests/testfilesplitranges4.debug.bz2 b/tests/testfilesplitranges4.debug.bz2 Binary files differnew file mode 100755 index 00000000..df8e3ac4 --- /dev/null +++ b/tests/testfilesplitranges4.debug.bz2 |