[llvm-dev] RFC: Introduce DW_OP_LLVM_memory to describe variables in memory with dbg.value

David Blaikie via llvm-dev llvm-dev at lists.llvm.org
Wed Sep 6 11:45:28 PDT 2017

On Wed, Sep 6, 2017 at 11:14 AM Robinson, Paul <paul.robinson at sony.com>

> >> So, whether we want to start throwing around deref or stack_value or
> >> regx (implicit or explicit) really depends on whether we are going to
> >> be using value expressions or location expressions.  Let's not start
> >> mixing them up, it will just make the discussion more confusing.
> >
> > Where do non-location DWARF expressions appear?
> For things that might or might not be constants.  I have used non-location
> DWARF expressions to describe bounds for variable-size arrays.  I can
> imagine using them for constexpr situations as well.

Fair enough. The only things in this discussion are location expressions, I
believe - good to have the terminology to be clear about that.

- Dave

> --paulr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170906/c14ffe39/attachment.html>

More information about the llvm-dev mailing list