[PATCH] libdw: Handle all address FORMs for dwarf_highpc, handle errors better.

Mark Wielaard mark@klomp.org
Fri May 25 13:12:00 GMT 2018


On Tue, 2018-05-22 at 14:44 +0200, Mark Wielaard wrote:
> dwarf_highpc can use any address FORM, not just DW_FORM_addr. Just try
> whether the address can be resolved as address. Always set error when
> attribute couldn't be found or resolved. When calculating the base
> address for a CU don't try to second guess the error code, just treat
> an error the same as the attribute not being there.

Pushed to master.



More information about the Elfutils-devel mailing list