diff options
author | gbtozers <stephen.tozer@sony.com> | 2020-09-30 19:15:44 +0100 |
---|---|---|
committer | Stephen Tozer <Stephen.Tozer@Sony.com> | 2021-03-11 13:33:49 +0000 |
commit | c0f3dfb9f119bb5f22dd8846f5502b6abaf026d3 (patch) | |
tree | 2cc0da19c4c2e97515466cbdf9273105603d4c87 /llvm/lib/ExecutionEngine/Orc/DebugObjectManagerPlugin.cpp | |
parent | ea834c8365ca7c4f0b491f5de98c521df9401ea9 (diff) | |
download | llvm-c0f3dfb9f119bb5f22dd8846f5502b6abaf026d3.zip llvm-c0f3dfb9f119bb5f22dd8846f5502b6abaf026d3.tar.gz llvm-c0f3dfb9f119bb5f22dd8846f5502b6abaf026d3.tar.bz2 |
[DebugInfo] Use variadic debug values to salvage BinOps and GEP instrs with non-const operands
This patch improves salvageDebugInfoImpl by allowing it to salvage arithmetic
operations with two or more non-const operands; this includes the GetElementPtr
instruction, and most Binary Operator instructions. These salvages produce
DIArgList locations and are only valid for dbg.values, as currently variadic
DIExpressions must use DW_OP_stack_value. This functionality is also only added
for salvageDebugInfoForDbgValues; other functions that directly call
salvageDebugInfoImpl (such as in ISel or Coroutine frame building) can be
updated in a later patch.
Differential Revision: https://reviews.llvm.org/D91722
Diffstat (limited to 'llvm/lib/ExecutionEngine/Orc/DebugObjectManagerPlugin.cpp')
0 files changed, 0 insertions, 0 deletions