aboutsummaryrefslogtreecommitdiff
path: root/lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp
diff options
context:
space:
mode:
authorChris Jackson <chris.jackson@sony.com>2021-07-22 09:27:46 +0100
committerChris Jackson <chris.jackson@sony.com>2021-07-27 13:00:36 +0100
commit76f3ffb2b285998f02639db8fd42fb0de8a540d0 (patch)
tree5ce9da40364159b2a9633b2c554c4f422e212864 /lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp
parent43e45f0ec920b45d6073c0aff47597c44948f52c (diff)
downloadllvm-76f3ffb2b285998f02639db8fd42fb0de8a540d0.zip
llvm-76f3ffb2b285998f02639db8fd42fb0de8a540d0.tar.gz
llvm-76f3ffb2b285998f02639db8fd42fb0de8a540d0.tar.bz2
[DebugInfo][LoopStrengthReduction] SCEV-based salvaging for LSR
This patch extends salvaging of debuginfo in the Loop Strength Reduction (LSR) pass by translating Scalar Evaluations (SCEV) into DIExpressions. The method is as follows: - Cache dbg.value intrinsics that are salvageable. - Obtain a loop Induction Variable (IV) from ScalarExpressionExpander or the loop header. - Translate the IV SCEV into an expression that recovers the current loop iteration count. Combine this with the dbg.value's location op SCEV to create a DIExpression that salvages the value. Review by: jmorse Differential Revision: https://reviews.llvm.org/D105207
Diffstat (limited to 'lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp')
0 files changed, 0 insertions, 0 deletions