summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/fuzzer/FuzzerLoop.cpp
diff options
context:
space:
mode:
authorPaul Robinson <paul.robinson@sony.com>2017-11-09 20:01:31 +0000
committerPaul Robinson <paul.robinson@sony.com>2017-11-09 20:01:31 +0000
commitb46256b0b4ce0746b7d9c121a2572c17765cffea (patch)
treebd396f0cece021870a0f4c2fd25dad94ed4424a0 /compiler-rt/lib/fuzzer/FuzzerLoop.cpp
parent2af11919eb009319fae38c9afd7c75254bb671f6 (diff)
downloadbcm5719-llvm-b46256b0b4ce0746b7d9c121a2572c17765cffea.tar.gz
bcm5719-llvm-b46256b0b4ce0746b7d9c121a2572c17765cffea.zip
Fix out-of-order stepping behavior in programs with hoisted constants.
When the Constant Hoisting pass moves expensive constants into a common block, it would assign a debug location equal to the last use of that constant. While this is certainly intuitive, it places the constant in an out-of-order location, according to the debug location information. This produces out-of-order stepping when debugging programs affected by this pass. This patch creates in-order stepping behavior by merging the debug locations for hoisted constants, and the new insertion point. Patch by Matthew Voss! Differential Revision: https://reviews.llvm.org/D38088 llvm-svn: 317827
Diffstat (limited to 'compiler-rt/lib/fuzzer/FuzzerLoop.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud