Home
last modified time | relevance | path

Searched refs:cur_thread (Results 1 – 17 of 17) sorted by relevance

/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_interface_inl.h22 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 Dtsan_interface.cpp25 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 Dtsan_interceptors_mac.cpp188 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 Dtsan_mman.cpp83 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 Dtsan_malloc_mac.cpp24 #define COMMON_MALLOC_SANITIZER_INITIALIZED (cur_thread()->is_inited)
29 user_memalign(cur_thread(), StackTrace::GetCurrentPc(), alignment, size)
H A Dtsan_interceptors.h27 return UNLIKELY(cur_thread()->in_symbolizer); in in_symbolizer()
35 ThreadState *thr = cur_thread(); \
H A Dtsan_symbolize.cpp25 ThreadState *thr = cur_thread(); in EnterSymbolizer()
32 ThreadState *thr = cur_thread(); in ExitSymbolizer()
H A Dtsan_platform_mac.cpp91 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 Dtsan_interceptors_posix.cpp458 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 Dtsan_rtl.cpp176 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 Dtsan_rtl.h448 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 Dtsan_external.cpp63 ThreadState *thr = cur_thread(); in ExternalAccess()
H A Dtsan_interface_java.cpp60 ThreadState *thr = cur_thread(); \
H A Dtsan_debugging.cpp68 return const_cast<ReportDesc*>(cur_thread()->current_report); in __tsan_get_current_report()
H A Dtsan_platform_linux.cpp488 ThreadState *cur_thread() { in cur_thread() function
H A Dtsan_interface_ann.cpp49 ThreadState *thr = cur_thread(); \
H A Dtsan_interface_atomic.cpp489 ThreadState *const thr = cur_thread(); \