Home
last modified time | relevance | path

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

1234

/external/compiler-rt/lib/tsan/tests/rtl/
Dtsan_mop.cc19 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 …]
Dtsan_string.cc19 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
Dtsan_mutex.cc22 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
Dtsan_thread.cc16 TEST(ThreadSanitizer, ThreadSync) { in TEST() argument
27 TEST(ThreadSanitizer, ThreadDetach1) { in TEST() argument
33 TEST(ThreadSanitizer, ThreadDetach2) { in TEST() argument
Dtsan_test.cc20 TEST(ThreadSanitizer, FuncCall) { in TEST() argument
/external/clang/docs/
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 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/
DThreadSanitizer.cpp84 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 …]
DCMakeLists.txt12 ThreadSanitizer.cpp
/external/compiler-rt/test/tsan/
Dlit.cfg15 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/
Dobjc-simple.mm13 // CHECK-NOT: WARNING: ThreadSanitizer
Dgcd-async-norace.mm26 // CHECK-NOT: WARNING: ThreadSanitizer
Dgcd-semaphore-norace.mm29 // CHECK-NOT: WARNING: ThreadSanitizer
Dgcd-source-registration.mm33 // CHECK-NOT: WARNING: ThreadSanitizer
Dgcd-sync-norace.mm32 // CHECK-NOT: WARNING: ThreadSanitizer
Dgcd-source-event.mm35 // CHECK-NOT: WARNING: ThreadSanitizer
Dgcd-source-registration2.mm35 // CHECK-NOT: WARNING: ThreadSanitizer
Dgcd-source-event2.mm37 // CHECK-NOT: WARNING: ThreadSanitizer
Dgcd-blocks.mm33 // CHECK-NOT: WARNING: ThreadSanitizer
Dgcd-apply-race.mm24 // CHECK: WARNING: ThreadSanitizer: data race
Dgcd-source-cancel.mm36 // CHECK-NOT: WARNING: ThreadSanitizer
Dgcd-source-cancel2.mm38 // CHECK-NOT: WARNING: ThreadSanitizer
Ddispatch_main.mm37 // CHECK-NOT: WARNING: ThreadSanitizer
Dgcd-serial-queue-norace.mm40 // CHECK-NOT: WARNING: ThreadSanitizer
Dosatomics-add.mm48 // CHECK-NOT: WARNING: ThreadSanitizer
/external/compiler-rt/test/tsan/Unit/
Dlit.site.cfg.in7 config.name = 'ThreadSanitizer-Unit'

1234