[PATCH] D69028: [DebugInfo] Correctly place DW_OP_derefs for arguments passed on stack

Paul Robinson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 16 07:59:41 PDT 2019


probinson added a comment.

Just to clarify things in my own mind:  dbg.declare expressions describe a location, while dbg.value expressions describe a value?  And that's why you're wanting to add a trailing deref?
Then when we emit the actual DWARF, the trailing deref is omitted so the expression again describes a location.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69028/new/

https://reviews.llvm.org/D69028





More information about the llvm-commits mailing list