commit | 60ebb1947faed42e493179e569c5db0c01d38a2a | [log] [tgz] |
---|---|---|
author | Kostya Serebryany <kcc@google.com> | Mon Feb 13 22:50:51 2012 +0000 |
committer | Kostya Serebryany <kcc@google.com> | Mon Feb 13 22:50:51 2012 +0000 |
tree | bf3043d9450f0f9b8c066c74228e2b6d7581834f | |
parent | ce9259923dd7c9f2de21a241f109b42abbdf8a9d [diff] [blame] |
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
diff --git a/lib/Transforms/Instrumentation/Instrumentation.cpp b/lib/Transforms/Instrumentation/Instrumentation.cpp index 6d6e0ae..c7266e2 100644 --- a/lib/Transforms/Instrumentation/Instrumentation.cpp +++ b/lib/Transforms/Instrumentation/Instrumentation.cpp
@@ -25,6 +25,7 @@ initializePathProfilerPass(Registry); initializeGCOVProfilerPass(Registry); initializeAddressSanitizerPass(Registry); + initializeThreadSanitizerPass(Registry); } /// LLVMInitializeInstrumentation - C binding for