[PATCH] readelf: Deal with combined normal and split dwarf DebugFission .debug_loc.

Mark Wielaard mark@klomp.org
Fri Jun 1 13:19:00 GMT 2018

On Fri, 2018-06-01 at 02:51 +0200, Mark Wielaard wrote:
> Normal and split dwarf from GNU DebugFission look the same, but should
> be treated competely separtely. When having a file with both skeletons
> and real compile units only note the secoffsets into the real .debug_loc
> in readelf. Otherwise or known_locslistptr will get confused.
> Add a testfile that combines an normal -gdwarf-4 object with a
> -gsplit-dwarf object. libdw already got this right, but add a
> run-varlocs.sh test to make sure.

Pushed to master.

More information about the Elfutils-devel mailing list