Home
last modified time | relevance | path

Searched refs:ThreadSanitizer (Results 1 – 25 of 63) sorted by relevance

123

/llvm-project-15.0.7/compiler-rt/lib/tsan/tests/rtl/
H A Dtsan_mop.cpp18 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 Dtsan_string.cpp18 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 Dtsan_mutex.cpp21 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 Dtsan_thread.cpp15 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 Dtsan_test.cpp19 TEST_F(ThreadSanitizer, FuncCall) { in TEST_F() argument
/llvm-project-15.0.7/clang/docs/
H A DThreadSanitizer.rst1 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 Dobjc-synchronize-cycle.mm22 // CHECK: ThreadSanitizer: lock-order-inversion (potential deadlock)
28 // DISABLED-NOT: ThreadSanitizer
H A Dobjc-synchronize-cycle-tagged.mm33 // SEVEN: ThreadSanitizer: lock-order-inversion (potential deadlock)
39 // SIX-NOT: ThreadSanitizer
H A Dobjc-simple.mm13 // CHECK-NOT: WARNING: ThreadSanitizer
H A Dobjc-synchronize-nested-recursive.mm32 // CHECK-NOT: ThreadSanitizer
H A Dlibcxx-call-once.mm33 // CHECK-NOT: WARNING: ThreadSanitizer
H A Dlibcxx-shared-ptr-recursive.mm36 // CHECK-NOT: WARNING: ThreadSanitizer
H A Dlibcxx-future.mm29 // CHECK-NOT: WARNING: ThreadSanitizer
H A Dosatomics-add.mm48 // CHECK-NOT: WARNING: ThreadSanitizer
H A Dxpc-cancel.mm38 // CHECK-NOT: WARNING: ThreadSanitizer
H A Ddeadlock.mm46 // CHECK: WARNING: ThreadSanitizer: lock-order-inversion (potential deadlock)
H A Dosatomics-list.mm43 // CHECK-NOT: WARNING: ThreadSanitizer
H A Dlibcxx-shared-ptr.mm50 // CHECK-NOT: WARNING: ThreadSanitizer
H A Dobjc-synchronize.mm57 // CHECK-NOT: WARNING: ThreadSanitizer
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp110 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 DCMakeLists.txt19 ThreadSanitizer.cpp
/llvm-project-15.0.7/compiler-rt/test/tsan/
H A DCMakeLists.txt108 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 DREADME.md39 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 DBUILD.gn29 "ThreadSanitizer.cpp",
/llvm-project-15.0.7/compiler-rt/test/ubsan/
H A DCMakeLists.txt67 add_ubsan_testsuites("ThreadSanitizer" tsan ${arch})
132 add_ubsan_device_testsuite("ThreadSanitizer" tsan ${platform} ${arch})

123