[PATCH] libdw: Handle DW_OP_GNU_uninit in dwarf_getlocation

Mark Wielaard mark@klomp.org
Tue Feb 14 16:30:54 GMT 2023


Hi,

On Fri, 2023-02-10 at 14:01 +0100, Mark Wielaard wrote:
> dwarf_getlocation would return an error when it saw a
> DW_OP_GNU_uninit. Handle it by simply recognizing as a no argument
> operation.
> 
> DW_OP_GNU_uninit is emitted by GCC as a marker to flag the location
> expression as referring to an uninitialized value.

I pushed this.

Cheers,

Mark


More information about the Elfutils-devel mailing list