Re: [PATCH] libdw: Handle DW_OP_GNU_uninit in dwarf_getlocation

2023-02-14 Thread Mark Wielaard
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 t

[PATCH] libdw: Handle DW_OP_GNU_uninit in dwarf_getlocation

2023-02-10 Thread Mark Wielaard
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. Signed-off-by: Mark Wielaard --- libdw/Chang