[PATCH] D80345: [DwarfExpression] Support entry values for indirect parameters
Vedant Kumar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 20 17:40:52 PDT 2020
vsk created this revision.
vsk added reviewers: djtodoro, aprantl, dstenb.
Herald added subscribers: lldb-commits, hiraditya.
Herald added projects: LLDB, LLVM.
A struct argument can be passed-by-value to a callee via a pointer to a
temporary stack copy. Add support for emitting an entry value DBG_VALUE
when an indirect parameter DBG_VALUE becomes unavailable. This is done
by omitting DW_OP_stack_value from the entry value expression, to make
the expression describe the location of an object.
rdar://63373691
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D80345
Files:
lldb/test/API/functionalities/param_entry_vals/basic_entry_values/main.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h
llvm/lib/CodeGen/LiveDebugValues.cpp
llvm/test/DebugInfo/MIR/AArch64/dbgcall-site-indirect-param.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80345.265391.patch
Type: text/x-patch
Size: 13743 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200521/f8c78a28/attachment.bin>
More information about the llvm-commits
mailing list