[PATCH] D68973: WIP: [LiveDebugValues] Support the debug entry values for modified parameters

Djordje Todorovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 15 00:48:11 PDT 2019


djtodoro created this revision.
djtodoro added reviewers: aprantl, vsk, jmorse.
djtodoro added a project: debug-info.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.

Keep track of an entry value of a modified parameter if the modification of the parameter can be expressed in terms of its entry value and a constant (expression like (`DW_OP_LLVM_entry_value reg1; DW_OP_plus_uconst, 7, DW_OP_stack_value`) where we describe situation like `param = param + 7;`).


https://reviews.llvm.org/D68973

Files:
  llvm/include/llvm/IR/DebugInfoMetadata.h
  llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp
  llvm/lib/CodeGen/LiveDebugValues.cpp
  llvm/lib/IR/DebugInfoMetadata.cpp
  llvm/test/DebugInfo/MIR/X86/entry-value-of-modified-param.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68973.224961.patch
Type: text/x-patch
Size: 7591 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191015/f1412768/attachment.bin>


More information about the llvm-commits mailing list