[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
Thu Sep 7 10:32:20 PDT 2017


>
>
>> Sure - this goes back to my adding the "indirect" flag to support C++
>> non-trivial pass by value in C++, before we had all the more general
>> expression support, etc. (hilariously, what was there before was even more
>> awesome: we encoded the type of the parameter in the DWARF as T& instead of
>> T... literally changing the signature of the function... )
>>
>
> Awesome, Bob just did the same thing for CodeView for NRVO in r312034,
> because we don't have DW_OP_deref.
>

Oh, hey, right...

Is this what MSVC does? That does seem unfortunate.

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


More information about the llvm-dev mailing list