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

Kyle Huey khuey@pernos.co
Wed Feb 28 17:07:19 GMT 2024


On Tue, Feb 27, 2024 at 9:35 PM Cary Coutant <ccoutant@gmail.com> wrote:
>
> > 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

gmail claims this was rejected from your inbox last night even though
it did go through to the list, so resending below

~~~

Mmm, the location where that was inserted seems odd. I specifically
looked at the latest working draft for something like this before
sending my email and didn't find it, although I do see if now that I
know the exact text to search for. Is there a reason it's not in the
DW_OP_piece specific subsection (especially since the language in the
DW_OP_bit_piece subsection is still there), or in the first paragraph
in 2.6.1.2?

- Kyle


More information about the Dwarf-discuss mailing list