[Dwarf-discuss] Location expressions for partially-optimized-out structs

Cary Coutant ccoutant@gmail.com
Wed Feb 28 05:35:40 GMT 2024


> The text for DW_OP_bit_piece, on the other hand, does explicitly
> contemplate this, containing the language:
>
> If the location description is empty, the offset doesn’t matter and
> the DW_OP_bit_piece operation describes a piece consisting of the
> given number of bits whose values are undefined.
>
> I propose adding similar language to the description of DW_OP_piece. e.g.

This has been clarified for DWARF 6; see:

    https://dwarfstd.org/issues/181205.1.html

-cary


More information about the Dwarf-discuss mailing list