summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Instrumentation/Instrumentation.cpp
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2012-02-13 22:50:51 +0000
committerKostya Serebryany <kcc@google.com>2012-02-13 22:50:51 +0000
commite2a0e4163a7eab225de1a9b83434cddf6695012e (patch)
tree9f0f92b057a1ab183be5d40b813d11adadb393c0 /llvm/lib/Transforms/Instrumentation/Instrumentation.cpp
parent59700591f1cf4948200fad10b99a0e04d57f0692 (diff)
downloadbcm5719-llvm-e2a0e4163a7eab225de1a9b83434cddf6695012e.tar.gz
bcm5719-llvm-e2a0e4163a7eab225de1a9b83434cddf6695012e.zip
ThreadSanitizer, a race detector. First LLVM commit.
Clang patch (flags) will follow shortly. The run-time library will also follow, but not immediately. llvm-svn: 150423
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/Instrumentation.cpp')
-rw-r--r--llvm/lib/Transforms/Instrumentation/Instrumentation.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/Instrumentation.cpp b/llvm/lib/Transforms/Instrumentation/Instrumentation.cpp
index 6d6e0ae34bc..c7266e2f8de 100644
--- a/llvm/lib/Transforms/Instrumentation/Instrumentation.cpp
+++ b/llvm/lib/Transforms/Instrumentation/Instrumentation.cpp
@@ -25,6 +25,7 @@ void llvm::initializeInstrumentation(PassRegistry &Registry) {
initializePathProfilerPass(Registry);
initializeGCOVProfilerPass(Registry);
initializeAddressSanitizerPass(Registry);
+ initializeThreadSanitizerPass(Registry);
}
/// LLVMInitializeInstrumentation - C binding for
OpenPOWER on IntegriCloud