aboutsummaryrefslogtreecommitdiff
path: root/lldb/unittests/ScriptInterpreter
diff options
context:
space:
mode:
authorJordan Rupprecht <rupprecht@google.com>2018-11-02 18:25:41 +0000
committerJordan Rupprecht <rupprecht@google.com>2018-11-02 18:25:41 +0000
commit80e7e86c2999f90be7730036479c5418c059d336 (patch)
tree4b0e344bc0b4ffa5c45e056c2bbf650fab2e0ce5 /lldb/unittests/ScriptInterpreter
parent5f7cb79e94e6ad4f34efe1f074956b7aaa05eaef (diff)
downloadllvm-80e7e86c2999f90be7730036479c5418c059d336.zip
llvm-80e7e86c2999f90be7730036479c5418c059d336.tar.gz
llvm-80e7e86c2999f90be7730036479c5418c059d336.tar.bz2
[DebugInfo][InstMerge] Fix -debugify for phi node created by -mldst-motion
Summary: -mldst-motion creates a new phi node without any debug info. Use the merged debug location from the incoming stores to fix this. Fixes PR38177. The test case here is (somewhat) simplified from: ``` struct S { int foo; void fn(int bar); }; void S::fn(int bar) { if (bar) foo = 1; else foo = 0; } ``` Reviewers: dblaikie, gbedwell, aprantl, vsk Reviewed By: vsk Subscribers: vsk, JDevlieghere, llvm-commits Tags: #debug-info Differential Revision: https://reviews.llvm.org/D54019 llvm-svn: 346027
Diffstat (limited to 'lldb/unittests/ScriptInterpreter')
0 files changed, 0 insertions, 0 deletions