aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ExecutionEngine/Orc/DebugObjectManagerPlugin.cpp
diff options
context:
space:
mode:
authorgbtozers <stephen.tozer@sony.com>2020-09-30 19:15:44 +0100
committerStephen Tozer <Stephen.Tozer@Sony.com>2021-03-11 13:33:49 +0000
commitc0f3dfb9f119bb5f22dd8846f5502b6abaf026d3 (patch)
tree2cc0da19c4c2e97515466cbdf9273105603d4c87 /llvm/lib/ExecutionEngine/Orc/DebugObjectManagerPlugin.cpp
parentea834c8365ca7c4f0b491f5de98c521df9401ea9 (diff)
downloadllvm-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