> DW_OP_implicit_value and DW_OP_stack_value produce values (that is
> R-values), not locations. I might be able to read
> DW_OP_implicit_pointer as providing a location; I'm not sure.
No, they don't produce a value. The expression that precedes them
produces a value, and these operators produce
On 3/23/20 3:58 PM, Cary Coutant via Dwarf-Discuss wrote:
I think that the description has become a bit less clear with the
addition of the Implicit Location Descriptions in Section 2.6.1.1.4,
which do compute values, rather than locations. Perhaps these should
have been described in Section
> I think that the description has become a bit less clear with the
> addition of the Implicit Location Descriptions in Section 2.6.1.1.4,
> which do compute values, rather than locations. Perhaps these should
> have been described in Section 2.5 as parts of a DWARF expression, not
> as parts of
I recall this being intentional as well. This is how I think of these items.
And this is just the gist of things. I didn't put on my ABI Lawyer hat for
this:
A DWARF expression is a stack machine that evaluates to a value.
A location description describes the "location" of an object. A
On 3/23/20 6:28 AM, Robinson, Paul via Dwarf-Discuss wrote:
From: Dwarf-Discuss On Behalf
Of Adrian Prantl via Dwarf-Discuss
On Mar 19, 2020, at 5:49 PM, Michael Eager via Dwarf-Discuss
disc...@lists.dwarfstd.org> wrote:
My reading of sections 2.5 & 2.6 is that you cannot have a DW_OP_piece
> -Original Message-
> From: Dwarf-Discuss On Behalf
> Of Adrian Prantl via Dwarf-Discuss
> Sent: Friday, March 20, 2020 1:29 PM
> To: Michael Eager
> Cc: dwarf-discuss@lists.dwarfstd.org
> Subject: Re: [Dwarf-Discuss] Use of Location Description operations i
> On Mar 19, 2020, at 5:49 PM, Michael Eager via Dwarf-Discuss
> wrote:
>
> My reading of sections 2.5 & 2.6 is that you cannot have a DW_OP_piece in an
> DWARF expression.
>
I wonder if this is an intentional part of the design because of
ambiguity/correctness issues or is this just
On 3/19/20 9:30 AM, David Stenberg via Dwarf-Discuss wrote:
Hi!
This is something that has popped up in a number of LLVM patch reviews,
and is something that we would like to get some help with clarifying.
For DWARF[345], may a DWARF Expression (described in section 2.5)
contain any of the
Hi!
This is something that has popped up in a number of LLVM patch reviews,
and is something that we would like to get some help with clarifying.
For DWARF[345], may a DWARF Expression (described in section 2.5)
contain any of the operations listed under the Location Descriptions
section (2.6)?