]> git.ipfire.org Git - thirdparty/elfutils.git/commit
libdw: Restructure address range reading for .debug_loc and .debug_ranges.
authorMark Wielaard <mark@klomp.org>
Mon, 2 Apr 2018 21:08:40 +0000 (23:08 +0200)
committerMark Wielaard <mark@klomp.org>
Fri, 13 Apr 2018 11:37:16 +0000 (13:37 +0200)
commita46d8d5f87e42b7d61cdff671ec7d3728cd1a637
tree9fc38d4cc99bbe28bb665cc360411af5af737744
parent7f3934c919bc24e5b39499b24a28f8fed0f9a649
libdw: Restructure address range reading for .debug_loc and .debug_ranges.

This caches the CU base address, makes error checking slight more relaxed
and restructures the code so it will be easier to add different forms
of ranges. Adds a new test for the new CU base address code.

Signed-off-by: Mark Wielaard <mark@klomp.org>
libdw/ChangeLog
libdw/dwarf_formudata.c
libdw/dwarf_getlocation.c
libdw/dwarf_ranges.c
libdw/libdwP.h
libdw/libdw_findcu.c
tests/ChangeLog
tests/Makefile.am
tests/run-dwarf-ranges.sh
tests/testfileranges4.debug.bz2 [new file with mode: 0755]