ThreadSanitizer, a race detector. First LLVM commit.
authorKostya Serebryany <kcc@google.com>
Mon, 13 Feb 2012 22:50:51 +0000 (22:50 +0000)
committerKostya Serebryany <kcc@google.com>
Mon, 13 Feb 2012 22:50:51 +0000 (22:50 +0000)
commit60ebb1947faed42e493179e569c5db0c01d38a2a
treebf3043d9450f0f9b8c066c74228e2b6d7581834f
parentce9259923dd7c9f2de21a241f109b42abbdf8a9d
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
include/llvm/InitializePasses.h
include/llvm/Transforms/Instrumentation.h
lib/Transforms/Instrumentation/CMakeLists.txt
lib/Transforms/Instrumentation/Instrumentation.cpp
lib/Transforms/Instrumentation/ThreadSanitizer.cpp [new file with mode: 0644]
test/Instrumentation/ThreadSanitizer/dg.exp [new file with mode: 0644]
test/Instrumentation/ThreadSanitizer/tsan_basic.ll [new file with mode: 0644]