diff options
author | Jeremy Morse <jeremy.morse@sony.com> | 2021-11-29 21:55:26 +0000 |
---|---|---|
committer | Jeremy Morse <jeremy.morse@sony.com> | 2021-11-29 21:57:24 +0000 |
commit | 9cf31b8d39d67843eeb314bacf6f78a1c969e1cc (patch) | |
tree | a405df5b4b242280f8c6d6bb3dd7d55f7ebe09b9 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
parent | 410d276400a9ee2440387d372db6b0f112853cc0 (diff) | |
download | llvm-9cf31b8d39d67843eeb314bacf6f78a1c969e1cc.zip llvm-9cf31b8d39d67843eeb314bacf6f78a1c969e1cc.tar.gz llvm-9cf31b8d39d67843eeb314bacf6f78a1c969e1cc.tar.bz2 |
[DebugInfo][InstrRef] Preserve properties of restored variables
InstrRefBasedLDV observes when variable locations are clobbered, scans what
values are available in the machine, and re-issues a DBG_VALUE for the
variable if it can find another location. Unfortunately, I hadn't joined up
the Indirectness flag, so if it did this to an Indirect Value, the
indirectness would be dropped.
Fix this, and add a test that if we clobber a variable value (on the stack
in this case), then the recovered variable location keeps the Indirect
flag.
Differential Revision: https://reviews.llvm.org/D114378
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions