Home
last modified time | relevance | path

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

/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
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()
42 MemoryWrite(cur_thread(), CALLERPC, (uptr)addr, kSizeLog2); in __tsan_write2()
46 MemoryWrite(cur_thread(), CALLERPC, (uptr)addr, kSizeLog4); in __tsan_write4()
50 MemoryWrite(cur_thread(), CALLERPC, (uptr)addr, kSizeLog8); in __tsan_write8()
54 MemoryRead(cur_thread(), STRIP_PAC_PC(pc), (uptr)addr, kSizeLog1); in __tsan_read1_pc()
58 MemoryRead(cur_thread(), STRIP_PAC_PC(pc), (uptr)addr, kSizeLog2); in __tsan_read2_pc()
[all …]
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()
44 MemoryRead(cur_thread(), STRIP_PAC_PC(pc), (uptr)addr + 8, kSizeLog8); in __tsan_read16_pc()
48 MemoryWrite(cur_thread(), STRIP_PAC_PC(pc), (uptr)addr, kSizeLog8); in __tsan_write16_pc()
49 MemoryWrite(cur_thread(), STRIP_PAC_PC(pc), (uptr)addr + 8, kSizeLog8); in __tsan_write16_pc()
55 UnalignedMemoryAccess(cur_thread(), CALLERPC, (uptr)addr, 2, false, false); in __tsan_unaligned_read2()
[all …]
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()
199 if (!cur_thread()->is_inited) { in TSAN_INTERCEPTOR()
210 CHECK(!cur_thread()->is_dead); in TSAN_INTERCEPTOR()
211 if (!cur_thread()->is_inited) { in TSAN_INTERCEPTOR()
220 CHECK(!cur_thread()->is_dead); in TSAN_INTERCEPTOR()
221 if (!cur_thread()->is_inited) { in TSAN_INTERCEPTOR()
230 CHECK(!cur_thread()->is_dead); in TSAN_INTERCEPTOR()
231 if (!cur_thread()->is_inited) { in TSAN_INTERCEPTOR()
[all …]
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()
Dtsan_malloc_mac.cpp24 #define COMMON_MALLOC_SANITIZER_INITIALIZED (cur_thread()->is_inited)
29 user_memalign(cur_thread(), StackTrace::GetCurrentPc(), alignment, size)
Dtsan_interceptors.h27 return UNLIKELY(cur_thread()->in_symbolizer); in in_symbolizer()
35 ThreadState *thr = cur_thread(); \
Dtsan_symbolize.cpp25 ThreadState *thr = cur_thread(); in EnterSymbolizer()
32 ThreadState *thr = cur_thread(); in ExitSymbolizer()
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()
Dtsan_interceptors_posix.cpp159 (cur_thread_init(), !cur_thread()->is_inited)
391 Acquire(cur_thread(), (uptr)0, (uptr)ctx); in at_exit_wrapper()
397 Acquire(cur_thread(), 0, (uptr)arg); in cxa_at_exit_wrapper()
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()
953 ThreadState *thr = cur_thread(); in __tsan_thread_start_func()
[all …]
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()
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()
Dtsan_external.cpp63 ThreadState *thr = cur_thread(); in ExternalAccess()
Dtsan_debugging.cpp68 return const_cast<ReportDesc*>(cur_thread()->current_report); in __tsan_get_current_report()
Dtsan_interface_java.cpp60 ThreadState *thr = cur_thread(); \
Dtsan_platform_linux.cpp488 ThreadState *cur_thread() { in cur_thread() function
Dtsan_interface_ann.cpp49 ThreadState *thr = cur_thread(); \
Dtsan_interface_atomic.cpp489 ThreadState *const thr = cur_thread(); \
/freebsd-12-stable/tools/KSE/rr/
Drr.c73 struct kse_thr_mailbox *cur_thread; member
181 data->cur_thread = tm; in init_uts()
194 data->mb.km_curthread = data->cur_thread; in start_uts()
/freebsd-12-stable/tools/KSE/ksetest/
Dkse_threads_test.c69 struct kse_thr_mailbox *cur_thread; member
236 data->cur_thread = tm; in init_uts()
249 data->mb.km_curthread = data->cur_thread; in start_uts()
/freebsd-12-stable/contrib/gdb/gdb/
Dgnu-nat.c2707 cur_thread (void) in cur_thread() function
3208 struct proc *thread = cur_thread (); in set_thread_pause_cmd()
3220 struct proc *thread = cur_thread (); in show_thread_pause_cmd()
3232 struct proc *thread = cur_thread (); in set_thread_run_cmd()
3239 struct proc *thread = cur_thread (); in show_thread_run_cmd()
3249 cur_thread ()->detach_sc = parse_int_arg (args, in set_thread_detach_sc_cmd()
3256 struct proc *thread = cur_thread (); in show_thread_detach_sc_cmd()
3267 struct proc *thread = cur_thread (); in set_thread_exc_port_cmd()
3277 struct proc *thread = cur_thread ();
3289 struct proc *thread = cur_thread (); in thread_takeover_sc_cmd()