Home
last modified time | relevance | path

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

123456

/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
/external/llvm-project/compiler-rt/lib/tsan/tests/rtl/
Dtsan_mop.cpp18 TEST(ThreadSanitizer, SimpleWrite) { in TEST() argument
24 TEST(ThreadSanitizer, SimpleWriteWrite) { in TEST() argument
31 TEST(ThreadSanitizer, WriteWriteRace) { in TEST() argument
38 TEST(ThreadSanitizer, ReadWriteRace) { in TEST() argument
45 TEST(ThreadSanitizer, WriteReadRace) { in TEST() argument
52 TEST(ThreadSanitizer, ReadReadNoRace) { in TEST() argument
59 TEST(ThreadSanitizer, WriteThenRead) { in TEST() argument
67 TEST(ThreadSanitizer, WriteThenLockedRead) { in TEST() argument
86 TEST(ThreadSanitizer, LockedWriteThenRead) { in TEST() argument
106 TEST(ThreadSanitizer, RaceWithOffset) { in TEST() argument
[all …]
Dtsan_string.cpp18 TEST(ThreadSanitizer, Memcpy) { in TEST() argument
39 TEST(ThreadSanitizer, MemcpyRace1) { in TEST() argument
48 TEST(ThreadSanitizer, MemcpyRace2) { in TEST() argument
57 TEST(ThreadSanitizer, MemcpyRace3) { in TEST() argument
66 TEST(ThreadSanitizer, MemcpyStack) { in TEST() argument
74 TEST(ThreadSanitizer, MemsetRace1) { in TEST() argument
Dtsan_mutex.cpp21 TEST(ThreadSanitizer, BasicMutex) { in TEST() argument
39 TEST(ThreadSanitizer, BasicSpinMutex) { in TEST() argument
57 TEST(ThreadSanitizer, BasicRwMutex) { in TEST() argument
94 TEST(ThreadSanitizer, Mutex) { in TEST() argument
110 TEST(ThreadSanitizer, SpinMutex) { in TEST() argument
126 TEST(ThreadSanitizer, RwMutex) { in TEST() argument
151 TEST(ThreadSanitizer, StaticMutex) { in TEST() argument
Dtsan_thread.cpp15 TEST(ThreadSanitizer, ThreadSync) { in TEST() argument
26 TEST(ThreadSanitizer, ThreadDetach1) { in TEST() argument
32 TEST(ThreadSanitizer, ThreadDetach2) { in TEST() argument
/external/llvm-project/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 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 …]
/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() function
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/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp95 struct ThreadSanitizer { struct
141 Optional<ThreadSanitizer> TSan;
157 ThreadSanitizer TSan; in run()
200 void ThreadSanitizer::initialize(Module &M) { in initialize()
339 bool ThreadSanitizer::addrPointsToConstantData(Value *Addr) { in addrPointsToConstantData()
372 void ThreadSanitizer::chooseInstructionsToInstrument( in chooseInstructionsToInstrument()
429 void ThreadSanitizer::InsertRuntimeIgnores(Function &F) { in InsertRuntimeIgnores()
438 bool ThreadSanitizer::sanitizeFunction(Function &F, in sanitizeFunction()
519 bool ThreadSanitizer::instrumentLoadOrStore(Instruction *I, in instrumentLoadOrStore()
601 bool ThreadSanitizer::instrumentMemIntrinsic(Instruction *I) { in instrumentMemIntrinsic()
[all …]
DCMakeLists.txt18 ThreadSanitizer.cpp
/external/llvm-project/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp110 struct ThreadSanitizer { struct
111 ThreadSanitizer() { in ThreadSanitizer() function
186 Optional<ThreadSanitizer> TSan;
202 ThreadSanitizer TSan; in run()
245 void ThreadSanitizer::initialize(Module &M) { in initialize()
411 bool ThreadSanitizer::addrPointsToConstantData(Value *Addr) { in addrPointsToConstantData()
444 void ThreadSanitizer::chooseInstructionsToInstrument( in chooseInstructionsToInstrument()
516 void ThreadSanitizer::InsertRuntimeIgnores(Function &F) { in InsertRuntimeIgnores()
525 bool ThreadSanitizer::sanitizeFunction(Function &F, in sanitizeFunction()
611 bool ThreadSanitizer::instrumentLoadOrStore(const InstructionInfo &II, in instrumentLoadOrStore()
[all …]
/external/llvm-project/compiler-rt/test/tsan/Darwin/
Dobjc-synchronize-cycle.mm22 // CHECK: ThreadSanitizer: lock-order-inversion (potential deadlock)
28 // DISABLED-NOT: ThreadSanitizer
Dobjc-synchronize-cycle-tagged.mm33 // SEVEN: ThreadSanitizer: lock-order-inversion (potential deadlock)
39 // SIX-NOT: ThreadSanitizer
Dobjc-simple.mm13 // CHECK-NOT: WARNING: ThreadSanitizer
/external/libchrome/base/third_party/dynamic_annotations/
DREADME.chromium8 ThreadSanitizer to handle atomic operations. The new version of ThreadSanitizer
/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/llvm-project/compiler-rt/test/tsan/
DCMakeLists.txt86 add_lit_testsuite(check-tsan-${platform}-${arch} "ThreadSanitizer ${platform} ${arch} tests"
102 add_lit_testsuite(check-tsan "Running ThreadSanitizer tests"
/external/llvm-project/openmp/tools/archer/
DREADME.md39 with ThreadSanitizer option.
188 WARNING: ThreadSanitizer: data race (pid=13641)
205 SUMMARY: ThreadSanitizer: data race myprogram.c:11:12 in .omp_outlined.
207 ThreadSanitizer: reported 1 warnings
/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

123456