-
- Downloads
[asan] Add support for disable_sanitizer_instrumentation attribute
For ASan this will effectively serve as a synonym for __attribute__((no_sanitize("address"))). Adding the disable_sanitizer_instrumentation to functions will drop the sanitize_XXX attributes on the IR level. This is the third reland of https://reviews.llvm.org/D114421. Now that TSan test is fixed (https://reviews.llvm.org/D120050) there should be no deadlocks. Differential Revision: https://reviews.llvm.org/D120055
Showing
- clang/docs/AddressSanitizer.rst 6 additions, 0 deletionsclang/docs/AddressSanitizer.rst
- clang/lib/CodeGen/CodeGenFunction.cpp 16 additions, 15 deletionsclang/lib/CodeGen/CodeGenFunction.cpp
- clang/lib/CodeGen/SanitizerMetadata.cpp 2 additions, 0 deletionsclang/lib/CodeGen/SanitizerMetadata.cpp
- clang/test/CodeGen/address-safety-attr-flavors.cpp 9 additions, 0 deletionsclang/test/CodeGen/address-safety-attr-flavors.cpp
- clang/test/CodeGen/asan-globals.cpp 13 additions, 10 deletionsclang/test/CodeGen/asan-globals.cpp
- llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp 3 additions, 0 deletionsllvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
- llvm/test/Instrumentation/AddressSanitizer/asan-disable-sanitizer-instrumentation.ll 47 additions, 0 deletions...ddressSanitizer/asan-disable-sanitizer-instrumentation.ll
Loading
Please register or sign in to comment