Home
last modified time | relevance | path

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

12

/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 …]
Dindex.rst25 ThreadSanitizer
/external/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp81 struct ThreadSanitizer : public FunctionPass { struct
82 ThreadSanitizer() : FunctionPass(ID) {} in ThreadSanitizer() function
123 char ThreadSanitizer::ID = 0;
124 INITIALIZE_PASS(ThreadSanitizer, "tsan",
128 const char *ThreadSanitizer::getPassName() const { in getPassName()
133 return new ThreadSanitizer(); in createThreadSanitizerPass()
136 void ThreadSanitizer::initializeCallbacks(Module &M) { in initializeCallbacks()
228 bool ThreadSanitizer::doInitialization(Module &M) { in doInitialization()
246 bool ThreadSanitizer::addrPointsToConstantData(Value *Addr) { in addrPointsToConstantData()
279 void ThreadSanitizer::chooseInstructionsToInstrument( in chooseInstructionsToInstrument()
[all …]
DCMakeLists.txt12 ThreadSanitizer.cpp
DAndroid.mk14 ThreadSanitizer.cpp
/external/compiler-rt/test/tsan/
Dlit.cfg15 config.name = 'ThreadSanitizer'
20 # Setup environment variables for running ThreadSanitizer.
74 # ThreadSanitizer tests are currently supported on FreeBSD, Linux and Darwin.
DCMakeLists.txt28 add_lit_testsuite(check-tsan "Running ThreadSanitizer tests"
/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-sync-norace.mm32 // CHECK-NOT: WARNING: ThreadSanitizer
Dgcd-serial-queue-norace.mm40 // CHECK-NOT: WARNING: ThreadSanitizer
Dgcd-async-race.mm36 // CHECK: WARNING: ThreadSanitizer: data race
Dgcd-groups-norace.mm53 // CHECK-NOT: WARNING: ThreadSanitizer
Dgcd-groups-stress.mm42 // CHECK-NOT: WARNING: ThreadSanitizer
Dgcd-sync-race.mm42 // CHECK: WARNING: ThreadSanitizer: data race
Dobjc-race.mm49 // CHECK: WARNING: ThreadSanitizer: data race
Dgcd-once.mm55 // CHECK-NOT: WARNING: ThreadSanitizer
/external/compiler-rt/test/tsan/Unit/
Dlit.site.cfg.in8 config.name = 'ThreadSanitizer-Unit'
/external/compiler-rt/test/ubsan/
DCMakeLists.txt41 add_ubsan_testsuite("ThreadSanitizer" tsan ${arch})

12