aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/LangOptions.cpp
diff options
context:
space:
mode:
authorJeremy Morse <jeremy.morse@sony.com>2020-04-16 10:24:47 +0100
committerJeremy Morse <jeremy.morse@sony.com>2020-04-16 10:26:47 +0100
commitc8d6fa5134ae66f3fb8e0b8caac5de4f737c8bef (patch)
tree5114ad7031338f68f33d14219a22c287f9b8eb97 /clang/lib/Basic/LangOptions.cpp
parent7b9c6c16c33deb52e7081f94ad51e3910ca592c9 (diff)
downloadllvm-c8d6fa5134ae66f3fb8e0b8caac5de4f737c8bef.zip
llvm-c8d6fa5134ae66f3fb8e0b8caac5de4f737c8bef.tar.gz
llvm-c8d6fa5134ae66f3fb8e0b8caac5de4f737c8bef.tar.bz2
[LiveDebugValues] Terminate open ranges on DBG_VALUE $noreg
In D68209, LiveDebugValues::transferDebugValue had a call to OpenRanges.erase shifted, and by accident this led to a code path where DBG_VALUEs of $noreg would not have their open range terminated, allowing variable locations to extend past blocks where they were terminated. This patch correctly terminates the open range, if present, when such a DBG_VAUE is encountered, and adds a test for this behaviour. Differential Revision: https://reviews.llvm.org/D78218
Diffstat (limited to 'clang/lib/Basic/LangOptions.cpp')
0 files changed, 0 insertions, 0 deletions