summaryrefslogtreecommitdiff
path: root/include/llvm/Transforms
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2012-12-28 09:30:44 +0000
committerAlexey Samsonov <samsonov@google.com>2012-12-28 09:30:44 +0000
commitf045df1b8b7f80e17e34c2b5639082a1d0e289ae (patch)
tree353d3494ea6cfdacf77b049afea885f0e1ced2db /include/llvm/Transforms
parentae34b4280ebde6217706902e8a27bb858765a61c (diff)
downloadllvm-f045df1b8b7f80e17e34c2b5639082a1d0e289ae.tar.gz
llvm-f045df1b8b7f80e17e34c2b5639082a1d0e289ae.tar.bz2
llvm-f045df1b8b7f80e17e34c2b5639082a1d0e289ae.tar.xz
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/Transforms')
-rw-r--r--include/llvm/Transforms/Instrumentation.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/Transforms/Instrumentation.h b/include/llvm/Transforms/Instrumentation.h
index 3fe7aeee9b..5504dc90f6 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