diff options
| author | Bjorn Pettersson <bjorn.a.pettersson@ericsson.com> | 2020-09-14 22:53:54 +0200 |
|---|---|---|
| committer | Bjorn Pettersson <bjorn.a.pettersson@ericsson.com> | 2020-09-15 14:15:50 +0200 |
| commit | aa8be5aeead7ad894270aa025e7165169c1a54d2 (patch) | |
| tree | 5c009b90bb12bcb0dc91e2a4a0afaa96e90c8395 /lldb/test/Shell/ScriptInterpreter/Python/python.test | |
| parent | af3789a188116e400dd021bae54d91dc543aca7d (diff) | |
[Scalarizer] Avoid changing name of non-instructions
The "takeName" logic in ScalarizerVisitor::gather did not consider
that the value vector could refer to non-instructions, such as
global variables. This patch make sure that we avoid changing the
name of a value if it isn't an instruction.
Reviewed By: lebedev.ri
Differential Revision: https://reviews.llvm.org/D87685
Diffstat (limited to 'lldb/test/Shell/ScriptInterpreter/Python/python.test')
0 files changed, 0 insertions, 0 deletions
