[PATCH] libdw: Handle .debug_loclists in dwarf_getlocation.

Mark Wielaard mark@klomp.org
Tue May 29 22:22:00 GMT 2018


On Mon, 2018-05-28 at 13:32 +0200, Mark Wielaard wrote:
> Handle all new DW_LLE opcodes in .debug_loclists in dwarf_getlocation.
> __libdw_read_begin_end_pair_inc now also handles a default location
> (which is simply the range [0,-1]). Since expression blocks can now
> also come from the .debug_loclists section add a new fake_loclists_cu
> necessary for checking bounds while parsing expression blocks. Adapt
> varlocs test to handle .debug only files. Run it on testfileranges5.debug
> and testfilesplitranges5.debug.

Pushed to master (without the regeneration of the testfiles since that
was already done in an earlier commit).



More information about the Elfutils-devel mailing list