Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_interface.inc22 MemoryAccess(cur_thread(), CALLERPC, (uptr)addr, 1, kAccessRead);
26 MemoryAccess(cur_thread(), CALLERPC, (uptr)addr, 2, kAccessRead);
30 MemoryAccess(cur_thread(), CALLERPC, (uptr)addr, 4, kAccessRead);
34 MemoryAccess(cur_thread(), CALLERPC, (uptr)addr, 8, kAccessRead);
38 MemoryAccess16(cur_thread(), CALLERPC, (uptr)addr, kAccessRead);
42 MemoryAccess(cur_thread(), CALLERPC, (uptr)addr, 1, kAccessWrite);
46 MemoryAccess(cur_thread(), CALLERPC, (uptr)addr, 2, kAccessWrite);
50 MemoryAccess(cur_thread(), CALLERPC, (uptr)addr, 4, kAccessWrite);
54 MemoryAccess(cur_thread(), CALLERPC, (uptr)addr, 8, kAccessWrite);
58 MemoryAccess16(cur_thread(), CALLERPC, (uptr)addr, kAccessWrite);
[all …]
H A Dtsan_interface.cpp31 ThreadState *thr = cur_thread(); in __tsan_read16_pc()
38 ThreadState *thr = cur_thread(); in __tsan_write16_pc()
47 ThreadState *thr = cur_thread(); in __tsan_unaligned_read16()
54 ThreadState *thr = cur_thread(); in __tsan_unaligned_write16()
62 return cur_thread(); in __tsan_get_current_fiber()
67 return FiberCreate(cur_thread(), CALLERPC, flags); in __tsan_create_fiber()
72 FiberDestroy(cur_thread(), CALLERPC, static_cast<ThreadState *>(fiber)); in __tsan_destroy_fiber()
77 FiberSwitch(cur_thread(), CALLERPC, static_cast<ThreadState *>(fiber), flags); in __tsan_switch_to_fiber()
87 Acquire(cur_thread(), CALLERPC, (uptr)addr); in __tsan_acquire()
91 Release(cur_thread(), CALLERPC, (uptr)addr); in __tsan_release()
H A Dtsan_interceptors_mac.cpp189 CHECK(!cur_thread()->is_dead); in TSAN_INTERCEPTOR()
190 if (!cur_thread()->is_inited) { in TSAN_INTERCEPTOR()
199 CHECK(!cur_thread()->is_dead); in TSAN_INTERCEPTOR()
200 if (!cur_thread()->is_inited) { in TSAN_INTERCEPTOR()
211 CHECK(!cur_thread()->is_dead); in TSAN_INTERCEPTOR()
212 if (!cur_thread()->is_inited) { in TSAN_INTERCEPTOR()
221 CHECK(!cur_thread()->is_dead); in TSAN_INTERCEPTOR()
222 if (!cur_thread()->is_inited) { in TSAN_INTERCEPTOR()
231 CHECK(!cur_thread()->is_dead); in TSAN_INTERCEPTOR()
232 if (!cur_thread()->is_inited) { in TSAN_INTERCEPTOR()
[all …]
H A Dtsan_mman.cpp90 ThreadState *thr = cur_thread(); in ScopedGlobalProcessor()
113 ThreadState *thr = cur_thread(); in ~ScopedGlobalProcessor()
405 ThreadState *thr = cur_thread(); in invoke_malloc_hook()
412 ThreadState *thr = cur_thread(); in invoke_free_hook()
419 ThreadState *thr = cur_thread(); in Alloc()
429 ThreadState *thr = cur_thread(); in FreeImpl()
491 ThreadState *thr = cur_thread(); in __tsan_on_thread_idle()
H A Dtsan_malloc_mac.cpp25 #define COMMON_MALLOC_SANITIZER_INITIALIZED (cur_thread()->is_inited)
30 user_memalign(cur_thread(), StackTrace::GetCurrentPc(), alignment, size)
H A Dtsan_platform_mac.cpp87 ThreadState *cur_thread() { in cur_thread() function
207 ThreadState *thr = cur_thread(); in ThreadCreateCallback()
219 ThreadState *thr = cur_thread(); in ThreadTerminateCallback()
H A Dtsan_symbolize.cpp25 ThreadState *thr = cur_thread(); in EnterSymbolizer()
32 ThreadState *thr = cur_thread(); in ExitSymbolizer()
H A Dtsan_interceptors_posix.cpp424 ThreadState *thr = cur_thread(); in at_exit_callback_installed_at()
433 ThreadState *thr = cur_thread(); in cxa_at_exit_callback_installed_at()
499 ThreadState *thr = cur_thread(); in on_exit_callback_installed_at()
638 LongJmp(cur_thread(), env); in TSAN_INTERCEPTOR()
646 LongJmp(cur_thread(), env); in TSAN_INTERCEPTOR()
655 LongJmp(cur_thread(), env); in TSAN_INTERCEPTOR()
947 ThreadState *thr = cur_thread(); in DestroyThreadState()
2294 ThreadState *thr = cur_thread(); in atfork_prepare()
2302 ThreadState *thr = cur_thread(); in atfork_parent()
2310 ThreadState *thr = cur_thread(); in atfork_child()
[all …]
H A Dtsan_rtl.h241 ThreadState *cur_thread();
244 inline ThreadState *cur_thread_init() { return cur_thread(); } in cur_thread_init()
248 inline ThreadState *cur_thread() { in cur_thread() function
392 cur_thread()->ignore_interceptors++; in ScopedIgnoreInterceptors()
398 cur_thread()->ignore_interceptors--; in ~ScopedIgnoreInterceptors()
H A Dtsan_external.cpp74 ThreadState *thr = cur_thread(); in ExternalAccess()
H A Dtsan_debugging.cpp70 return const_cast<ReportDesc*>(cur_thread()->current_report);
H A Dtsan_interface_java.cpp60 ThreadState *thr = cur_thread(); \
H A Dtsan_platform_linux.cpp607 ThreadState *cur_thread() { in cur_thread() function
H A Dtsan_rtl.cpp670 ThreadState* thr = cur_thread(); in CheckUnwind()
1063 ThreadState *thr = cur_thread(); in __tsan_testonly_shadow_stack_current_size()
H A Dtsan_interface_ann.cpp49 ThreadState *thr = cur_thread(); \
H A Dtsan_interface_atomic.cpp489 ThreadState *const thr = cur_thread(); \