summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Timer.cpp
diff options
context:
space:
mode:
authorJeremy Morse <jeremy.morse.llvm@gmail.com>2019-04-29 09:13:16 +0000
committerJeremy Morse <jeremy.morse.llvm@gmail.com>2019-04-29 09:13:16 +0000
commit055aee1d8a75e9414d0662c4d9f4b8f0393f6100 (patch)
treee144962857c88059453ae1cb190c8b02939b6b5f /llvm/lib/Support/Timer.cpp
parent97b8cd54adec9dc6308a3e7babc855775871cca3 (diff)
downloadbcm5719-llvm-055aee1d8a75e9414d0662c4d9f4b8f0393f6100.tar.gz
bcm5719-llvm-055aee1d8a75e9414d0662c4d9f4b8f0393f6100.zip
[DebugInfo] Terminate more location-list ranges at the end of blocks
This patch fixes PR40795, where constant-valued variable locations can "leak" into blocks placed at higher addresses. The root of this is that DbgEntityHistoryCalculator terminates all register variable locations at the end of each block, but not constant-value variable locations. Fixing this requires constant-valued DBG_VALUE instructions to be broadcast into all blocks where the variable location remains valid, as documented in the LiveDebugValues section of SourceLevelDebugging.rst, and correct termination in DbgEntityHistoryCalculator. Differential Revision: https://reviews.llvm.org/D59431 llvm-svn: 359426
Diffstat (limited to 'llvm/lib/Support/Timer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud