aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorXun Li <xun@fb.com>2020-10-13 10:21:45 -0700
committerXun Li <xun@fb.com>2020-10-13 10:21:45 -0700
commit0ccf9263cceb462a5f3b823becf7e9471e5fb212 (patch)
tree73c1ff18b71280ed5fe62c0ceeaf836f4cf8d4a4 /clang/lib/Frontend/CompilerInvocation.cpp
parent6713332fddb796f5b14fcb6a7e5d36979676e4ab (diff)
downloadllvm-0ccf9263cceb462a5f3b823becf7e9471e5fb212.zip
llvm-0ccf9263cceb462a5f3b823becf7e9471e5fb212.tar.gz
llvm-0ccf9263cceb462a5f3b823becf7e9471e5fb212.tar.bz2
[ASAN] Make sure we are only processing lifetime markers with offset 0 to alloca
This patch addresses https://bugs.llvm.org/show_bug.cgi?id=47787 (and hence https://bugs.llvm.org/show_bug.cgi?id=47767 as well). In latter instrumentation code, we always use the beginning of the alloca as the base for instrumentation, ignoring any offset into the alloca. Because of that, we should only instrument a lifetime marker if it's actually pointing to the beginning of the alloca. Differential Revision: https://reviews.llvm.org/D89191
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions