aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test/configuration.py
diff options
context:
space:
mode:
authorRicky Zhou <ricky+llvm@rzhou.org>2020-05-08 10:55:27 -0700
committerVedant Kumar <vsk@apple.com>2020-05-08 11:10:25 -0700
commitb38d77f185c53cb4bf108f0c29df1d6d7cfe13b4 (patch)
treed97be54ebf7b70064d1b29de321d6909298a55db /lldb/packages/Python/lldbsuite/test/configuration.py
parent70293ba26feecdab6fe3c0e71503424f0d38e838 (diff)
downloadllvm-b38d77f185c53cb4bf108f0c29df1d6d7cfe13b4.zip
llvm-b38d77f185c53cb4bf108f0c29df1d6d7cfe13b4.tar.gz
llvm-b38d77f185c53cb4bf108f0c29df1d6d7cfe13b4.tar.bz2
[SimplifyCFG] Remap rewritten debug intrinsic operands.
FoldBranchToCommonDest clones instructions to a different basic block, but handles debug intrinsics in a separate path. Previously, when cloning debug intrinsics, their operands were not updated to reference the correct cloned values. As a result, we would emit debug.value intrinsics with broken operand references which are discarded in later passes. This leads to incorrect debuginfo that reports incorrect values for variables. Fix this by remapping debug intrinsic operands when cloning them. Fixes https://bugs.llvm.org/show_bug.cgi?id=45667. Differential Revision: https://reviews.llvm.org/D79602
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/configuration.py')
0 files changed, 0 insertions, 0 deletions