aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorEvgenii Stepanov <eugenis@google.com>2020-03-17 15:33:26 -0700
committerEvgenii Stepanov <eugenis@google.com>2020-03-31 15:25:42 -0700
commitf9471b001089c744050c7a9cff39ebda2ff69011 (patch)
tree03aebf5f8369784147b518b9c1c1cd4efbda78df /clang/lib/Frontend/CompilerInvocation.cpp
parent0f44a09757f4f45e527e2bb79f15eb16967457a1 (diff)
downloadllvm-f9471b001089c744050c7a9cff39ebda2ff69011.zip
llvm-f9471b001089c744050c7a9cff39ebda2ff69011.tar.gz
llvm-f9471b001089c744050c7a9cff39ebda2ff69011.tar.bz2
Fix MSan false positive due to select folding.
Summary: Select folding in JumpThreading can create a conditional branch on a code patch that did not have one in the original program. This is not a valid transformation in sanitize_memory functions. Note that JumpThreading does select folding in 3 different places. Two of them seem safe - they apply to a select instruction in a BB that ends with an unconditional branch to another BB, which (in turn) ends with a conditional branch or a switch with the same condition. Fixes PR45220. Reviewers: glider, dvyukov, efriedma Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D76332
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions