diff options
author | Alexander Potapenko <glider@google.com> | 2021-12-07 13:20:12 +0100 |
---|---|---|
committer | Alexander Potapenko <glider@google.com> | 2021-12-10 10:27:51 +0100 |
commit | 1aa59ff2f789776ebfa2d4b315fd3ea589652b4a (patch) | |
tree | 88e385f61a52418959d518cf8384f19eb1c30494 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 37a395b3965916541139a4bb5381f4595dc7b4a3 (diff) | |
download | llvm-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