summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/functionalities/command_source/TestCommandSource.py
diff options
context:
space:
mode:
authorHsiangkai Wang <hsiangkai@gmail.com>2018-08-23 03:28:24 +0000
committerHsiangkai Wang <hsiangkai@gmail.com>2018-08-23 03:28:24 +0000
commit97edcbc4e0ff1f1d689b9b70e43ff4cd28379d20 (patch)
treeb9e544c708082b381158b2291cb99fbb7eb3f420 /lldb/packages/Python/lldbsuite/test/functionalities/command_source/TestCommandSource.py
parenta755f4d1a076b3fefd46be8cd398aeaa7d60beb9 (diff)
downloadbcm5719-llvm-97edcbc4e0ff1f1d689b9b70e43ff4cd28379d20.tar.gz
bcm5719-llvm-97edcbc4e0ff1f1d689b9b70e43ff4cd28379d20.zip
[DebugInfo] Fix bug in LiveDebugVariables.
In lib/CodeGen/LiveDebugVariables.cpp, it uses std::prev(MBBI) to get DebugValue's SlotIndex. However, the previous instruction may be also a debug instruction. It could not use a debug instruction to query SlotIndex in mi2iMap. Scan all debug instructions and use the first debug instruction to query SlotIndex for following debug instructions. Only handle DBG_VALUE in handleDebugValue(). Differential Revision: https://reviews.llvm.org/D50621 llvm-svn: 340508
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/command_source/TestCommandSource.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud