[llvm-dev] RFC: Introduce DW_OP_LLVM_memory to describe variables in memory with dbg.value
Robinson, Paul via llvm-dev
llvm-dev at lists.llvm.org
Wed Sep 6 11:14:10 PDT 2017
>> 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.
--paulr
More information about the llvm-dev
mailing list