Home
last modified time | relevance | path

Searched refs:GetCurrentThread (Results 1 – 25 of 69) sorted by relevance

123

/openbsd-src/gnu/llvm/compiler-rt/lib/lsan/
H A Dlsan_thread.cpp58 thread_registry->FinishThread(GetCurrentThread()); in ThreadFinish()
65 if (GetCurrentThread() == kInvalidTid) in CurrentThreadContext()
68 return (ThreadContext *)thread_registry->GetThreadLocked(GetCurrentThread()); in CurrentThreadContext()
72 if (GetCurrentThread() == kMainTid) in EnsureMainThreadIDIsCorrect()
H A Dlsan_mac.cpp70 if (GetCurrentThread() == kInvalidTid) { in lsan_register_worker_thread()
104 lsan_ctxt->parent_tid = GetCurrentThread(); in alloc_lsan_context()
151 int parent_tid = GetCurrentThread(); \
H A Dlsan_linux.cpp22 u32 GetCurrentThread() { return current_thread_tid; } in GetCurrentThread() function
H A Dlsan_thread.h53 u32 GetCurrentThread();
/openbsd-src/gnu/llvm/compiler-rt/lib/hwasan/
H A Dhwasan_thread.h110 Thread *GetCurrentThread();
114 ScopedTaggingDisabler() { GetCurrentThread()->DisableTagging(); } in ScopedTaggingDisabler()
115 ~ScopedTaggingDisabler() { GetCurrentThread()->EnableTagging(); } in ~ScopedTaggingDisabler()
H A Dhwasan_thread.cpp69 CHECK_EQ(GetCurrentThread(), this); in InitStackRingBuffer()
110 CHECK_EQ(GetCurrentThread(), this); in Destroy()
173 auto *t = __hwasan::GetCurrentThread(); in EnsureMainThreadIDIsCorrect()
H A Dhwasan.cpp256 Thread *GetCurrentThread() { in GetCurrentThread() function
270 Thread *t = GetCurrentThread(); in UnwindImpl()
373 GetCurrentThread()->EnsureRandomStateInited(); in __hwasan_init()
581 Thread *t = GetCurrentThread(); in __hwasan_handle_vfork()
597 Thread *t = GetCurrentThread(); in __hwasan_extra_spill_area()
610 Thread *t = GetCurrentThread(); in __hwasan_generate_tag()
616 Thread *t = GetCurrentThread(); in __hwasan_add_frame_record()
H A Dhwasan_report.cpp424 auto *sa = (t == GetCurrentThread() && current_stack_allocations) in PrintAddressDescription()
592 const Thread *thread = GetCurrentThread(); in ReportInvalidFree()
681 GetCurrentThread()->Announce(); in ReportTailOverwritten()
694 GetCurrentThread()->stack_allocations()); in ReportTagMismatch()
705 Thread *t = GetCurrentThread(); in ReportTagMismatch()
H A Dhwasan_allocator.cpp79 Thread *t = GetCurrentThread(); in SetAllocated()
145 tail_magic[i] = GetCurrentThread()->GenerateRandomTag(); in HwasanAllocatorInit()
181 Thread *t = GetCurrentThread(); in HwasanAllocate()
312 Thread *t = GetCurrentThread(); in HwasanDeallocate()
/openbsd-src/gnu/llvm/compiler-rt/lib/asan/
H A Dasan_thread.cpp105 if (AsanThread *thread = GetCurrentThread()) in Destroy()
117 CHECK_NE(this, GetCurrentThread()); in Destroy()
222 DCHECK_EQ(GetCurrentThread(), this); in AsyncSignalSafeLazyInitFakeStack()
420 AsanThread *GetCurrentThread() { in GetCurrentThread() function
452 AsanThread *t = GetCurrentThread(); in GetCurrentTidOrInvalid()
589 AsanThread *t = GetCurrentThread(); in __sanitizer_start_switch_fiber()
601 AsanThread *t = GetCurrentThread(); in __sanitizer_finish_switch_fiber()
H A Dasan_fuchsia.cpp71 AsanThread *curr_thread = GetCurrentThread(); in PlatformUnpoisonStacks()
139 DCHECK_NE(GetCurrentThread(), this); in SetThreadStackAndTls()
140 DCHECK_NE(GetCurrentThread(), nullptr); in SetThreadStackAndTls()
H A Dasan_rtl.cpp553 if (AsanThread *curr_thread = GetCurrentThread()) { in UnpoisonDefaultStack()
571 AsanThread *curr_thread = GetCurrentThread(); in UnpoisonFakeStack()
596 AsanThread *t = GetCurrentThread(); in __asan_extra_spill_area()
602 AsanThread *t = GetCurrentThread(); in __asan_handle_vfork()
H A Dasan_stack.cpp63 AsanThread *t = GetCurrentThread(); in UnwindImpl()
/openbsd-src/gnu/llvm/compiler-rt/lib/memprof/
H A Dmemprof_thread.cpp190 MemprofThread *GetCurrentThread() { in GetCurrentThread() function
209 MemprofThread *t = GetCurrentThread(); in GetCurrentTidOrInvalid()
H A Dmemprof_stack.cpp40 MemprofThread *t = GetCurrentThread(); in UnwindImpl()
H A Dmemprof_thread.h127 MemprofThread *GetCurrentThread();
/openbsd-src/gnu/usr.bin/gcc/gcc/
H A Dgthr-win32.h145 if (SetThreadPriority (GetCurrentThread (), sys_priority)) in __gthread_objc_thread_set_priority()
157 sys_priority = GetThreadPriority (GetCurrentThread ()); in __gthread_objc_thread_get_priority()
/openbsd-src/gnu/llvm/compiler-rt/lib/msan/
H A Dmsan_linux.cpp200 MsanThread *GetCurrentThread() { in GetCurrentThread() function
232 MsanThread *GetCurrentThread() { in GetCurrentThread() function
H A Dmsan.cpp292 MsanThread *t = GetCurrentThread(); in ChainOrigin()
329 MsanThread *t = GetCurrentThread(); in UnwindImpl()
705 MsanThread *t = GetCurrentThread(); in __msan_start_switch_fiber()
714 MsanThread *t = GetCurrentThread(); in __msan_finish_switch_fiber()
H A Dmsan_thread.h76 MsanThread *GetCurrentThread();
/openbsd-src/gnu/llvm/compiler-rt/lib/dfsan/
H A Ddfsan_thread.h75 DFsanThread *GetCurrentThread();
H A Ddfsan_allocator.cpp100 DFsanThread *t = GetCurrentThread(); in DFsanAllocate()
136 DFsanThread *t = GetCurrentThread(); in dfsan_deallocate()
/openbsd-src/gnu/llvm/lldb/source/Host/windows/
H A DHost.cpp101 lldb::thread_t Host::GetCurrentThread() { in GetCurrentThread() function in Host
102 return lldb::thread_t(::GetCurrentThread()); in GetCurrentThread()
/openbsd-src/gnu/gcc/gcc/
H A Dgthr-win32.h146 if (SetThreadPriority (GetCurrentThread (), sys_priority)) in __gthread_objc_thread_set_priority()
158 sys_priority = GetThreadPriority (GetCurrentThread ()); in __gthread_objc_thread_get_priority()
/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_unwind_win.cpp81 while (StackWalk64(machine_type, GetCurrentProcess(), GetCurrentThread(), in UnwindSlow()

123