diff options
author | Fangrui Song <i@maskray.me> | 2020-01-19 21:53:10 -0800 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2020-01-21 12:14:27 -0800 |
commit | 138451c771abe013b7b99650faeb7ae6010f7a8d (patch) | |
tree | b8f47d36fa55af91325cf90db213900e22a47311 /lldb/packages/Python/lldbsuite/test/lang/cpp/bitfields/TestCppBitfields.py | |
parent | 587b3b2a13d27c50006607a6b7e7458e6d7cc3fa (diff) | |
download | bcm5719-llvm-138451c771abe013b7b99650faeb7ae6010f7a8d.tar.gz bcm5719-llvm-138451c771abe013b7b99650faeb7ae6010f7a8d.zip |
[StackColoring] Remap FixedStackPseudoSourceValue frame index referenced by MachineMemOperand
StackColoring::remapInstructions() remaps MachineOperand frame index (e.g. %stack.1 -> %stack.0)
but does not remap FixedStackPseudoSourceValue frame index (e.g. store 4 into %stack.1.ap2.i.i)
referenced by MachineMemoryOperand.
This can cause an assertion failure when LiveDebugValues references a dead stack object.
It is difficult to craft a test case. -g, va_copy and stack-coloring are required.
I can only reproduce it on ppc32.
(cherry picked from commit eaab1bf21e1d6803fd217fe6052537fc33b06837)
(cherry picked from commit 854f7be20a0cb1a95671a16d6cc8200107ee25f4)
(cherry picked from commit 7a8b0b1595e7dc878b48cf9bbaa652087a6895db)
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/bitfields/TestCppBitfields.py')
0 files changed, 0 insertions, 0 deletions