summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorPaul Robinson <paul.robinson@sony.com>2017-12-09 00:17:01 +0000
committerPaul Robinson <paul.robinson@sony.com>2017-12-09 00:17:01 +0000
commit8bd9d6ad838dd6a030f4cfcf691fb54162976e48 (patch)
tree46b1f81a97c6aef26e536df824d3c7b3740df900 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent502775a2ee08e2fe1df7dd0741722a31debffa16 (diff)
downloadbcm5719-llvm-8bd9d6ad838dd6a030f4cfcf691fb54162976e48.tar.gz
bcm5719-llvm-8bd9d6ad838dd6a030f4cfcf691fb54162976e48.zip
Fix out-of-order stepping behavior in programs with sunk instructions.
MachineSink attempts to place instructions near the basic blocks where they are needed. Once an instruction has been sunk, its location relative to other instructions no longer is consistent with the original source code. In order to ensure correct stepping in the debugger, the debug location for sunk instructions is either merged with the insertion point or erased if the target successor block is empty. Originally submitted as r318679, revised to fix sanitizer failure and improve testing. Patch by Matthew Voss! Differential Revision: https://reviews.llvm.org/D39933 llvm-svn: 320216
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud