/external/compiler-rt/lib/tsan/tests/rtl/ |
D | tsan_mop.cc | 19 TEST(ThreadSanitizer, SimpleWrite) { in TEST() argument 25 TEST(ThreadSanitizer, SimpleWriteWrite) { in TEST() argument 32 TEST(ThreadSanitizer, WriteWriteRace) { in TEST() argument 39 TEST(ThreadSanitizer, ReadWriteRace) { in TEST() argument 46 TEST(ThreadSanitizer, WriteReadRace) { in TEST() argument 53 TEST(ThreadSanitizer, ReadReadNoRace) { in TEST() argument 60 TEST(ThreadSanitizer, WriteThenRead) { in TEST() argument 68 TEST(ThreadSanitizer, WriteThenLockedRead) { in TEST() argument 87 TEST(ThreadSanitizer, LockedWriteThenRead) { in TEST() argument 107 TEST(ThreadSanitizer, RaceWithOffset) { in TEST() argument [all …]
|
D | tsan_string.cc | 19 TEST(ThreadSanitizer, Memcpy) { in TEST() argument 40 TEST(ThreadSanitizer, MemcpyRace1) { in TEST() argument 49 TEST(ThreadSanitizer, MemcpyRace2) { in TEST() argument 58 TEST(ThreadSanitizer, MemcpyRace3) { in TEST() argument 67 TEST(ThreadSanitizer, MemcpyStack) { in TEST() argument 75 TEST(ThreadSanitizer, MemsetRace1) { in TEST() argument
|
D | tsan_mutex.cc | 22 TEST(ThreadSanitizer, BasicMutex) { in TEST() argument 40 TEST(ThreadSanitizer, BasicSpinMutex) { in TEST() argument 58 TEST(ThreadSanitizer, BasicRwMutex) { in TEST() argument 95 TEST(ThreadSanitizer, Mutex) { in TEST() argument 111 TEST(ThreadSanitizer, SpinMutex) { in TEST() argument 127 TEST(ThreadSanitizer, RwMutex) { in TEST() argument 152 TEST(ThreadSanitizer, StaticMutex) { in TEST() argument
|
D | tsan_thread.cc | 16 TEST(ThreadSanitizer, ThreadSync) { in TEST() argument 27 TEST(ThreadSanitizer, ThreadDetach1) { in TEST() argument 33 TEST(ThreadSanitizer, ThreadDetach2) { in TEST() argument
|
D | tsan_test.cc | 20 TEST(ThreadSanitizer, FuncCall) { in TEST() argument
|
/external/clang/docs/ |
D | ThreadSanitizer.rst | 1 ThreadSanitizer title 7 ThreadSanitizer is a tool that detects data races. It consists of a compiler 9 ThreadSanitizer is about **5x-15x**. Typical memory overhead introduced by 10 ThreadSanitizer is about **5x-10x**. 20 ThreadSanitizer is supported on Linux x86_64 (tested on Ubuntu 12.04). 53 Currently, ThreadSanitizer symbolizes its output using an external 59 WARNING: ThreadSanitizer: data race (pid=19219) 74 ThreadSanitizer is enabled. 82 // code that builds only under ThreadSanitizer 89 Some code should not be instrumented by ThreadSanitizer. One may use the [all …]
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | ThreadSanitizer.cpp | 84 struct ThreadSanitizer : public FunctionPass { struct 85 ThreadSanitizer() : FunctionPass(ID) {} in ThreadSanitizer() argument 127 char ThreadSanitizer::ID = 0; 129 ThreadSanitizer, "tsan", 134 ThreadSanitizer, "tsan", in INITIALIZE_PASS_DEPENDENCY() 138 const char *ThreadSanitizer::getPassName() const { in INITIALIZE_PASS_DEPENDENCY() 142 void ThreadSanitizer::getAnalysisUsage(AnalysisUsage &AU) const { in getAnalysisUsage() 147 return new ThreadSanitizer(); in createThreadSanitizerPass() 150 void ThreadSanitizer::initializeCallbacks(Module &M) { in initializeCallbacks() 242 bool ThreadSanitizer::doInitialization(Module &M) { in doInitialization() [all …]
|
D | CMakeLists.txt | 12 ThreadSanitizer.cpp
|
/external/compiler-rt/test/tsan/ |
D | lit.cfg | 15 config.name = 'ThreadSanitizer' + config.name_suffix 20 # Setup environment variables for running ThreadSanitizer. 77 # ThreadSanitizer tests are currently supported on FreeBSD, Linux and Darwin.
|
/external/compiler-rt/test/tsan/Darwin/ |
D | objc-simple.mm | 13 // CHECK-NOT: WARNING: ThreadSanitizer
|
D | gcd-async-norace.mm | 26 // CHECK-NOT: WARNING: ThreadSanitizer
|
D | gcd-semaphore-norace.mm | 29 // CHECK-NOT: WARNING: ThreadSanitizer
|
D | gcd-source-registration.mm | 33 // CHECK-NOT: WARNING: ThreadSanitizer
|
D | gcd-sync-norace.mm | 32 // CHECK-NOT: WARNING: ThreadSanitizer
|
D | gcd-source-event.mm | 35 // CHECK-NOT: WARNING: ThreadSanitizer
|
D | gcd-source-registration2.mm | 35 // CHECK-NOT: WARNING: ThreadSanitizer
|
D | gcd-source-event2.mm | 37 // CHECK-NOT: WARNING: ThreadSanitizer
|
D | gcd-blocks.mm | 33 // CHECK-NOT: WARNING: ThreadSanitizer
|
D | gcd-apply-race.mm | 24 // CHECK: WARNING: ThreadSanitizer: data race
|
D | gcd-source-cancel.mm | 36 // CHECK-NOT: WARNING: ThreadSanitizer
|
D | gcd-source-cancel2.mm | 38 // CHECK-NOT: WARNING: ThreadSanitizer
|
D | dispatch_main.mm | 37 // CHECK-NOT: WARNING: ThreadSanitizer
|
D | gcd-serial-queue-norace.mm | 40 // CHECK-NOT: WARNING: ThreadSanitizer
|
D | osatomics-add.mm | 48 // CHECK-NOT: WARNING: ThreadSanitizer
|
/external/compiler-rt/test/tsan/Unit/ |
D | lit.site.cfg.in | 7 config.name = 'ThreadSanitizer-Unit'
|