diff options
author | Alexey Samsonov <samsonov@google.com> | 2012-12-28 09:30:44 +0000 |
---|---|---|
committer | Alexey Samsonov <samsonov@google.com> | 2012-12-28 09:30:44 +0000 |
commit | f045df1b8b7f80e17e34c2b5639082a1d0e289ae (patch) | |
tree | 353d3494ea6cfdacf77b049afea885f0e1ced2db /include/llvm | |
parent | ae34b4280ebde6217706902e8a27bb858765a61c (diff) | |
download | external_llvm-f045df1b8b7f80e17e34c2b5639082a1d0e289ae.zip external_llvm-f045df1b8b7f80e17e34c2b5639082a1d0e289ae.tar.gz external_llvm-f045df1b8b7f80e17e34c2b5639082a1d0e289ae.tar.bz2 |
Add proper support for -fsanitize-blacklist= flag for TSan and MSan. LLVM part.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171183 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/Transforms/Instrumentation.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/Transforms/Instrumentation.h b/include/llvm/Transforms/Instrumentation.h index 3fe7aee..5504dc9 100644 --- a/include/llvm/Transforms/Instrumentation.h +++ b/include/llvm/Transforms/Instrumentation.h @@ -44,10 +44,11 @@ ModulePass *createAddressSanitizerModulePass( bool CheckInitOrder = false, StringRef BlacklistFile = StringRef()); // Insert MemorySanitizer instrumentation (detection of uninitialized reads) -FunctionPass *createMemorySanitizerPass(bool TrackOrigins = false); +FunctionPass *createMemorySanitizerPass(bool TrackOrigins = false, + StringRef BlacklistFile = StringRef()); // Insert ThreadSanitizer (race detection) instrumentation -FunctionPass *createThreadSanitizerPass(); +FunctionPass *createThreadSanitizerPass(StringRef BlacklistFile = StringRef()); // BoundsChecking - This pass instruments the code to perform run-time bounds |