aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorAlexander Potapenko <glider@google.com>2021-12-07 13:20:12 +0100
committerAlexander Potapenko <glider@google.com>2021-12-10 10:27:51 +0100
commit1aa59ff2f789776ebfa2d4b315fd3ea589652b4a (patch)
tree88e385f61a52418959d518cf8384f19eb1c30494 /clang/lib/CodeGen/CodeGenFunction.cpp
parent37a395b3965916541139a4bb5381f4595dc7b4a3 (diff)
downloadllvm-1aa59ff2f789776ebfa2d4b315fd3ea589652b4a.zip
llvm-1aa59ff2f789776ebfa2d4b315fd3ea589652b4a.tar.gz
llvm-1aa59ff2f789776ebfa2d4b315fd3ea589652b4a.tar.bz2
[msan] Implement -msan-disable-checks.
To ease the deployment of KMSAN, we need a way to apply __attribute__((no_sanitize("kernel-memory"))) to the whole source file. Passing -msan-disable-checks=1 to the compiler will make it treat every function in the file as if it was lacking the sanitize_memory attribute. Differential Revision: https://reviews.llvm.org/D115236
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions