| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_interface_inl.h | 22 MemoryRead(cur_thread(), CALLERPC, (uptr)addr, kSizeLog1); in __tsan_read1() 26 MemoryRead(cur_thread(), CALLERPC, (uptr)addr, kSizeLog2); in __tsan_read2() 30 MemoryRead(cur_thread(), CALLERPC, (uptr)addr, kSizeLog4); in __tsan_read4() 34 MemoryRead(cur_thread(), CALLERPC, (uptr)addr, kSizeLog8); in __tsan_read8() 38 MemoryWrite(cur_thread(), CALLERPC, (uptr)addr, kSizeLog1); in __tsan_write1() 88 ThreadState *thr = cur_thread(); in __tsan_vptr_update() 97 ThreadState *thr = cur_thread(); in __tsan_vptr_read() 104 FuncEntry(cur_thread(), STRIP_PAC_PC(pc)); in __tsan_func_entry() 108 FuncExit(cur_thread()); in __tsan_func_exit() 112 ThreadIgnoreBegin(cur_thread(), CALLERPC); in __tsan_ignore_thread_begin() [all …]
|
| H A D | tsan_interface.cpp | 25 Initialize(cur_thread()); in __tsan_init() 33 MemoryRead(cur_thread(), CALLERPC, (uptr)addr, kSizeLog8); in __tsan_read16() 34 MemoryRead(cur_thread(), CALLERPC, (uptr)addr + 8, kSizeLog8); in __tsan_read16() 38 MemoryWrite(cur_thread(), CALLERPC, (uptr)addr, kSizeLog8); in __tsan_write16() 39 MemoryWrite(cur_thread(), CALLERPC, (uptr)addr + 8, kSizeLog8); in __tsan_write16() 43 MemoryRead(cur_thread(), STRIP_PAC_PC(pc), (uptr)addr, kSizeLog8); in __tsan_read16_pc() 48 MemoryWrite(cur_thread(), STRIP_PAC_PC(pc), (uptr)addr, kSizeLog8); in __tsan_write16_pc() 127 return cur_thread(); in __tsan_get_current_fiber() 132 return FiberCreate(cur_thread(), CALLERPC, flags); in __tsan_create_fiber() 152 Acquire(cur_thread(), CALLERPC, (uptr)addr); in __tsan_acquire() [all …]
|
| H A D | tsan_interceptors_mac.cpp | 188 CHECK(!cur_thread()->is_dead); in TSAN_INTERCEPTOR() 189 if (!cur_thread()->is_inited) { in TSAN_INTERCEPTOR() 198 CHECK(!cur_thread()->is_dead); in TSAN_INTERCEPTOR() 210 CHECK(!cur_thread()->is_dead); in TSAN_INTERCEPTOR() 220 CHECK(!cur_thread()->is_dead); in TSAN_INTERCEPTOR() 230 CHECK(!cur_thread()->is_dead); in TSAN_INTERCEPTOR() 242 CHECK(!cur_thread()->is_dead); in TSAN_INTERCEPTOR() 252 if (!cur_thread()->is_inited || cur_thread()->is_dead) { in TSAN_INTERCEPTOR() 262 if (!cur_thread()->is_inited || cur_thread()->is_dead) { in TSAN_INTERCEPTOR() 271 if (!cur_thread()->is_inited || cur_thread()->is_dead) { in TSAN_INTERCEPTOR() [all …]
|
| H A D | tsan_mman.cpp | 83 ThreadState *thr = cur_thread(); in ScopedGlobalProcessor() 106 ThreadState *thr = cur_thread(); in ~ScopedGlobalProcessor() 324 ThreadState *thr = cur_thread(); in invoke_malloc_hook() 332 ThreadState *thr = cur_thread(); in invoke_free_hook() 340 ThreadState *thr = cur_thread(); in internal_alloc() 349 ThreadState *thr = cur_thread(); in internal_free() 395 ThreadState *thr = cur_thread(); in __tsan_on_thread_idle()
|
| H A D | tsan_malloc_mac.cpp | 24 #define COMMON_MALLOC_SANITIZER_INITIALIZED (cur_thread()->is_inited) 29 user_memalign(cur_thread(), StackTrace::GetCurrentPc(), alignment, size)
|
| H A D | tsan_interceptors.h | 27 return UNLIKELY(cur_thread()->in_symbolizer); in in_symbolizer() 35 ThreadState *thr = cur_thread(); \
|
| H A D | tsan_symbolize.cpp | 25 ThreadState *thr = cur_thread(); in EnterSymbolizer() 32 ThreadState *thr = cur_thread(); in ExitSymbolizer()
|
| H A D | tsan_platform_mac.cpp | 91 ThreadState *cur_thread() { in cur_thread() function 214 ThreadState *thr = cur_thread(); in my_pthread_introspection_hook() 224 ThreadState *thr = cur_thread(); in my_pthread_introspection_hook()
|
| H A D | tsan_interceptors_posix.cpp | 458 ThreadState *thr = cur_thread(); in on_exit_wrapper() 546 SetJmp(cur_thread(), sp); in __tsan_setjmp() 632 LongJmp(cur_thread(), env); in DEFINE_REAL() 640 LongJmp(cur_thread(), env); in TSAN_INTERCEPTOR() 649 LongJmp(cur_thread(), env); in TSAN_INTERCEPTOR() 906 ThreadState *thr = cur_thread(); in DestroyThreadState() 2040 ThreadState *thr = cur_thread(); in rtl_generic_sighandler() 2165 ThreadState *thr = cur_thread(); in atfork_prepare() 2173 ThreadState *thr = cur_thread(); in atfork_parent() 2181 ThreadState *thr = cur_thread(); in atfork_child() [all …]
|
| H A D | tsan_rtl.cpp | 176 cur_thread()->ignore_interceptors++; in BackgroundThread() 383 cur_thread()->ignore_sync++; in CheckUnwind() 384 cur_thread()->ignore_reads_and_writes++; in CheckUnwind() 647 TraceSwitch(cur_thread()); in __tsan_trace_switch() 651 ReportRace(cur_thread()); in __tsan_report_race() 1098 ThreadState *thr = cur_thread(); in __tsan_testonly_shadow_stack_current_size()
|
| H A D | tsan_rtl.h | 448 ThreadState *cur_thread(); 455 inline ThreadState *cur_thread() { in cur_thread() function 560 cur_thread()->ignore_interceptors++; in ScopedIgnoreInterceptors() 566 cur_thread()->ignore_interceptors--; in ~ScopedIgnoreInterceptors()
|
| H A D | tsan_external.cpp | 63 ThreadState *thr = cur_thread(); in ExternalAccess()
|
| H A D | tsan_interface_java.cpp | 60 ThreadState *thr = cur_thread(); \
|
| H A D | tsan_debugging.cpp | 68 return const_cast<ReportDesc*>(cur_thread()->current_report); in __tsan_get_current_report()
|
| H A D | tsan_platform_linux.cpp | 488 ThreadState *cur_thread() { in cur_thread() function
|
| H A D | tsan_interface_ann.cpp | 49 ThreadState *thr = cur_thread(); \
|
| H A D | tsan_interface_atomic.cpp | 489 ThreadState *const thr = cur_thread(); \
|