| /llvm-project-15.0.7/compiler-rt/lib/tsan/tests/rtl/ |
| H A D | tsan_mop.cpp | 18 TEST_F(ThreadSanitizer, SimpleWrite) { in TEST_F() argument 24 TEST_F(ThreadSanitizer, SimpleWriteWrite) { in TEST_F() argument 31 TEST_F(ThreadSanitizer, WriteWriteRace) { in TEST_F() argument 38 TEST_F(ThreadSanitizer, ReadWriteRace) { in TEST_F() argument 45 TEST_F(ThreadSanitizer, WriteReadRace) { in TEST_F() argument 52 TEST_F(ThreadSanitizer, ReadReadNoRace) { in TEST_F() argument 59 TEST_F(ThreadSanitizer, WriteThenRead) { in TEST_F() argument 106 TEST_F(ThreadSanitizer, RaceWithOffset) { in TEST_F() argument 140 TEST_F(ThreadSanitizer, RaceWithOffset2) { in TEST_F() argument 154 TEST_F(ThreadSanitizer, NoRaceWithOffset) { in TEST_F() argument [all …]
|
| H A D | tsan_string.cpp | 18 TEST_F(ThreadSanitizer, Memcpy) { in TEST_F() argument 39 TEST_F(ThreadSanitizer, MemcpyRace1) { in TEST_F() argument 48 TEST_F(ThreadSanitizer, MemcpyRace2) { in TEST_F() argument 57 TEST_F(ThreadSanitizer, MemcpyRace3) { in TEST_F() argument 66 TEST_F(ThreadSanitizer, MemcpyStack) { in TEST_F() argument 74 TEST_F(ThreadSanitizer, MemsetRace1) { in TEST_F() argument
|
| H A D | tsan_mutex.cpp | 21 TEST_F(ThreadSanitizer, BasicMutex) { in TEST_F() argument 39 TEST_F(ThreadSanitizer, BasicSpinMutex) { in TEST_F() argument 57 TEST_F(ThreadSanitizer, BasicRwMutex) { in TEST_F() argument 94 TEST_F(ThreadSanitizer, Mutex) { in TEST_F() argument 110 TEST_F(ThreadSanitizer, SpinMutex) { in TEST_F() argument 126 TEST_F(ThreadSanitizer, RwMutex) { in TEST_F() argument 151 TEST_F(ThreadSanitizer, StaticMutex) { in TEST_F() argument
|
| H A D | tsan_thread.cpp | 15 TEST_F(ThreadSanitizer, ThreadSync) { in TEST_F() argument 26 TEST_F(ThreadSanitizer, ThreadDetach1) { in TEST_F() argument 32 TEST_F(ThreadSanitizer, ThreadDetach2) { in TEST_F() argument
|
| H A D | tsan_test.cpp | 19 TEST_F(ThreadSanitizer, FuncCall) { in TEST_F() argument
|
| /llvm-project-15.0.7/clang/docs/ |
| H A 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 the following OS: 60 Currently, ThreadSanitizer symbolizes its output using an external 66 WARNING: ThreadSanitizer: data race (pid=19219) 81 ThreadSanitizer is enabled. 89 // code that builds only under ThreadSanitizer 96 Some code should not be instrumented by ThreadSanitizer. One may use the [all …]
|
| /llvm-project-15.0.7/compiler-rt/test/tsan/Darwin/ |
| H A D | objc-synchronize-cycle.mm | 22 // CHECK: ThreadSanitizer: lock-order-inversion (potential deadlock) 28 // DISABLED-NOT: ThreadSanitizer
|
| H A D | objc-synchronize-cycle-tagged.mm | 33 // SEVEN: ThreadSanitizer: lock-order-inversion (potential deadlock) 39 // SIX-NOT: ThreadSanitizer
|
| H A D | objc-simple.mm | 13 // CHECK-NOT: WARNING: ThreadSanitizer
|
| H A D | objc-synchronize-nested-recursive.mm | 32 // CHECK-NOT: ThreadSanitizer
|
| H A D | libcxx-call-once.mm | 33 // CHECK-NOT: WARNING: ThreadSanitizer
|
| H A D | libcxx-shared-ptr-recursive.mm | 36 // CHECK-NOT: WARNING: ThreadSanitizer
|
| H A D | libcxx-future.mm | 29 // CHECK-NOT: WARNING: ThreadSanitizer
|
| H A D | osatomics-add.mm | 48 // CHECK-NOT: WARNING: ThreadSanitizer
|
| H A D | xpc-cancel.mm | 38 // CHECK-NOT: WARNING: ThreadSanitizer
|
| H A D | deadlock.mm | 46 // CHECK: WARNING: ThreadSanitizer: lock-order-inversion (potential deadlock)
|
| H A D | osatomics-list.mm | 43 // CHECK-NOT: WARNING: ThreadSanitizer
|
| H A D | libcxx-shared-ptr.mm | 50 // CHECK-NOT: WARNING: ThreadSanitizer
|
| H A D | objc-synchronize.mm | 57 // CHECK-NOT: WARNING: ThreadSanitizer
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/ |
| H A D | ThreadSanitizer.cpp | 110 struct ThreadSanitizer { struct 111 ThreadSanitizer() { in ThreadSanitizer() function 188 ThreadSanitizer TSan; in run() 199 void ThreadSanitizer::initialize(Module &M) { in initialize() 393 bool ThreadSanitizer::addrPointsToConstantData(Value *Addr) { in addrPointsToConstantData() 426 void ThreadSanitizer::chooseInstructionsToInstrument( in chooseInstructionsToInstrument() 493 void ThreadSanitizer::InsertRuntimeIgnores(Function &F) { in InsertRuntimeIgnores() 503 bool ThreadSanitizer::sanitizeFunction(Function &F, in sanitizeFunction() 597 bool ThreadSanitizer::instrumentLoadOrStore(const InstructionInfo &II, in instrumentLoadOrStore() 699 bool ThreadSanitizer::instrumentMemIntrinsic(Instruction *I) { in instrumentMemIntrinsic() [all …]
|
| H A D | CMakeLists.txt | 19 ThreadSanitizer.cpp
|
| /llvm-project-15.0.7/compiler-rt/test/tsan/ |
| H A D | CMakeLists.txt | 108 add_lit_testsuite(check-tsan-${platform}-${arch} "ThreadSanitizer ${platform} ${arch} tests" 132 add_lit_testsuite(check-tsan "Running ThreadSanitizer tests" 138 add_lit_testsuite(check-tsan-dynamic "Running the ThreadSanitizer tests with dynamic runtime"
|
| /llvm-project-15.0.7/openmp/tools/archer/ |
| H A D | README.md | 39 with ThreadSanitizer option. 197 WARNING: ThreadSanitizer: data race (pid=13641) 214 SUMMARY: ThreadSanitizer: data race myprogram.c:11:12 in .omp_outlined. 216 ThreadSanitizer: reported 1 warnings
|
| /llvm-project-15.0.7/llvm/utils/gn/secondary/llvm/lib/Transforms/Instrumentation/ |
| H A D | BUILD.gn | 29 "ThreadSanitizer.cpp",
|
| /llvm-project-15.0.7/compiler-rt/test/ubsan/ |
| H A D | CMakeLists.txt | 67 add_ubsan_testsuites("ThreadSanitizer" tsan ${arch}) 132 add_ubsan_device_testsuite("ThreadSanitizer" tsan ${platform} ${arch})
|