diff options
author | Kostya Serebryany <kcc@google.com> | 2012-02-13 22:50:51 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2012-02-13 22:50:51 +0000 |
commit | 60ebb1947faed42e493179e569c5db0c01d38a2a (patch) | |
tree | bf3043d9450f0f9b8c066c74228e2b6d7581834f /lib/Transforms/Instrumentation/Instrumentation.cpp | |
parent | ce9259923dd7c9f2de21a241f109b42abbdf8a9d (diff) |
ThreadSanitizer, a race detector. First LLVM commit.
Clang patch (flags) will follow shortly.
The run-time library will also follow, but not immediately.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150423 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Instrumentation/Instrumentation.cpp')
-rw-r--r-- | lib/Transforms/Instrumentation/Instrumentation.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Transforms/Instrumentation/Instrumentation.cpp b/lib/Transforms/Instrumentation/Instrumentation.cpp index 6d6e0ae34b..c7266e2f8d 100644 --- a/lib/Transforms/Instrumentation/Instrumentation.cpp +++ b/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 |