Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/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.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.cpp85 ThreadState *thr = cur_thread(); in ScopedGlobalProcessor()
108 ThreadState *thr = cur_thread(); in ~ScopedGlobalProcessor()
366 ThreadState *thr = cur_thread(); in invoke_malloc_hook()
373 ThreadState *thr = cur_thread(); in invoke_free_hook()
380 ThreadState *thr = cur_thread(); in Alloc()
390 ThreadState *thr = cur_thread(); in FreeImpl()
437 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_symbolize.cpp25 ThreadState *thr = cur_thread(); in EnterSymbolizer()
32 ThreadState *thr = cur_thread(); in ExitSymbolizer()
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_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_interceptors_posix.cpp419 ThreadState *thr = cur_thread(); in at_exit_callback_installed_at()
428 ThreadState *thr = cur_thread(); in cxa_at_exit_callback_installed_at()
494 ThreadState *thr = cur_thread(); in on_exit_callback_installed_at()
664 LongJmp(cur_thread(), env); in DEFINE_REAL()
672 LongJmp(cur_thread(), env); in TSAN_INTERCEPTOR()
681 LongJmp(cur_thread(), env); in TSAN_INTERCEPTOR()
972 ThreadState *thr = cur_thread(); in DestroyThreadState()
2299 ThreadState *thr = cur_thread(); in atfork_prepare()
2307 ThreadState *thr = cur_thread(); in atfork_parent()
2350 auto *thr = cur_thread(); in TSAN_INTERCEPTOR()
[all …]
H A Dtsan_external.cpp65 ThreadState *thr = cur_thread(); in ExternalAccess()
H A Dtsan_debugging.cpp68 return const_cast<ReportDesc*>(cur_thread()->current_report); in __tsan_get_current_report()
H A Dtsan_interface_java.cpp60 ThreadState *thr = cur_thread(); \
H A Dtsan_platform_linux.cpp504 ThreadState *cur_thread() { in cur_thread() function
H A Dtsan_interface_ann.cpp49 ThreadState *thr = cur_thread(); \
H A Dtsan_rtl.cpp669 ThreadState* thr = cur_thread(); in CheckUnwind()
1059 ThreadState *thr = cur_thread(); in __tsan_testonly_shadow_stack_current_size()
H A Dtsan_interface_atomic.cpp489 ThreadState *const thr = cur_thread(); \
/openbsd/gnu/llvm/compiler-rt/lib/tsan/tests/unit/
H A Dtsan_mman_test.cpp37 ThreadState *thr = cur_thread(); in TEST()
51 ThreadState *thr = cur_thread(); in TEST()
98 ThreadState *thr = cur_thread(); in TEST()
111 ThreadState *thr = cur_thread(); in TEST()
140 ThreadState *thr = cur_thread(); in TEST()
162 ThreadState *thr = cur_thread(); in TEST()
179 ThreadState *thr = cur_thread(); in TEST()
189 ThreadState *thr = cur_thread(); in TEST()
H A Dtsan_sync_test.cpp19 ThreadState *thr = cur_thread(); in TEST()
35 ThreadState *thr = cur_thread(); in TEST()
56 ThreadState *thr = cur_thread(); in TEST()
79 ThreadState *thr = cur_thread(); in TEST()
114 ThreadState *thr = cur_thread(); in TEST()
H A Dtsan_trace_test.cpp40 Tid tid = ThreadCreate(cur_thread(), 0, 0, true); in ThreadArray()
/openbsd/gnu/llvm/lldb/examples/python/
H A Ddiagnose_unwind.py63 cur_thread = process.GetSelectedThread()
65 initial_fp = cur_thread.GetFrameAtIndex(0).GetFP()
70 for reggroup in cur_thread.GetFrameAtIndex(1).registers:
77 address_list = [cur_thread.GetFrameAtIndex(0).GetPC()]
79 target, 0, cur_thread.GetFrameAtIndex(0).GetPC(), initial_fp)
84 if cur_thread.GetNumFrames() < 2:
/openbsd/gnu/usr.bin/binutils/gdb/
H A Dgnu-nat.c2704 cur_thread (void) in cur_thread() function
3205 struct proc *thread = cur_thread (); in set_thread_pause_cmd()
3217 struct proc *thread = cur_thread (); in show_thread_pause_cmd()
3229 struct proc *thread = cur_thread (); in set_thread_run_cmd()
3236 struct proc *thread = cur_thread (); in show_thread_run_cmd()
3246 cur_thread ()->detach_sc = parse_int_arg (args, in set_thread_detach_sc_cmd()
3253 struct proc *thread = cur_thread (); in show_thread_detach_sc_cmd()
3264 struct proc *thread = cur_thread (); in set_thread_exc_port_cmd()
3274 struct proc *thread = cur_thread ();
3286 struct proc *thread = cur_thread (); in thread_takeover_sc_cmd()