summaryrefslogtreecommitdiffstats
path: root/tests/run-dwarf-ranges.sh
Commit message (Collapse)AuthorAgeFilesLines
* libdw: Handle .debug_rnglists in dwarf_ranges.Mark Wielaard2018-05-281-0/+21
| | | | | | | | | 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 <[email protected]>
* libdw: Restructure address range reading for .debug_loc and .debug_ranges.Mark Wielaard2018-04-131-1/+79
| | | | | | | | 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 <[email protected]>
* dwarf_ranges: do not request base address attributes if not necessaryPetr Machata2015-02-111-0/+27
- Instead of bailing out at iteration start, we remember the base-address-selecting attributes were not seen, and then bail out later if no base address selection entry has been seen. Signed-off-by: Petr Machata <[email protected]>