[PATCH] libdw: Handle .debug_rnglists in dwarf_ranges.

Mark Wielaard mark@klomp.org
Mon May 28 12:57:00 GMT 2018


On Thu, 2018-05-24 at 21:08 +0200, Mark Wielaard wrote:
> 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.

Pushed this to master.

But I first regenerated the new test files with a newer GCC that fixes
the location expressions as promised for the just posted "libdw: Handle
.debug_loclists in dwarf_getlocation" patch.

It seemed better to only have one set in the tree.
Both testfileranges5.debug and testfilesplitranges5.debug got
regenerated (and the test results slightly adjusted) to show that the
ranges are identical for both, even though they are using completely
different DWARF encodings.

Cheers,

Mark



More information about the Elfutils-devel mailing list