Home
last modified time | relevance | path

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

123

/freebsd-src/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_thread.h110 Thread *GetCurrentThread();
117 ScopedTaggingDisabler() { GetCurrentThread()->DisableTagging(); } in ScopedTaggingDisabler()
118 ~ScopedTaggingDisabler() { GetCurrentThread()->EnableTagging(); } in ~ScopedTaggingDisabler()
H A Dhwasan_thread.cpp82 CHECK_EQ(GetCurrentThread(), this); in InitStackRingBuffer()
118 CHECK_EQ(GetCurrentThread(), this); in Destroy()
161 auto *t = __hwasan::GetCurrentThread(); in EnsureMainThreadIDIsCorrect()
H A Dhwasan.cpp262 Thread *GetCurrentThread() { in GetCurrentThread() function
276 Thread *t = GetCurrentThread(); in UnwindImpl()
379 GetCurrentThread()->EnsureRandomStateInited(); in __hwasan_init()
703 Thread *t = GetCurrentThread(); in __hwasan_handle_vfork()
719 Thread *t = GetCurrentThread(); in __hwasan_extra_spill_area()
732 Thread *t = GetCurrentThread(); in __hwasan_generate_tag()
738 Thread *t = GetCurrentThread(); in __hwasan_add_frame_record()
H A Dhwasan_allocator.cpp84 Thread *t = GetCurrentThread(); in SetAllocated()
156 tail_magic[i] = GetCurrentThread()->GenerateRandomTag(); in HwasanAllocatorInit()
204 Thread *t = GetCurrentThread(); in HwasanAllocate()
337 Thread *t = GetCurrentThread(); in HwasanDeallocate()
/freebsd-src/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_thread.h56 ThreadContextLsanBase *GetCurrentThread();
58 ThreadContextLsanBase *ctx = GetCurrentThread(); in GetCurrentThreadId()
H A Dlsan_linux.cpp23 ThreadContextLsanBase *GetCurrentThread() { return current_thread; } in GetCurrentThread() function
H A Dlsan.cpp39 if (ThreadContextLsanBase *t = GetCurrentThread()) { in UnwindImpl()
H A Dlsan_thread.cpp77 GetCurrentThread()->os_id = GetTid(); in EnsureMainThreadIDIsCorrect()
/freebsd-src/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_thread.cpp133 if (AsanThread *thread = GetCurrentThread()) in Destroy()
145 CHECK_NE(this, GetCurrentThread()); in Destroy()
246 DCHECK_EQ(GetCurrentThread(), this); in AsyncSignalSafeLazyInitFakeStack()
426 AsanThread *GetCurrentThread() { in GetCurrentThread()
458 AsanThread *t = GetCurrentThread(); in FindThreadByStackAddress()
573 AsanThread *t = GetCurrentThread(); in __sanitizer_start_switch_fiber()
584 AsanThread *t = GetCurrentThread(); in __sanitizer_finish_switch_fiber()
421 AsanThread *GetCurrentThread() { GetCurrentThread() function
H A Dasan_fuchsia.cpp69 AsanThread *curr_thread = GetCurrentThread(); in PlatformUnpoisonStacks()
137 DCHECK_NE(GetCurrentThread(), this);
138 DCHECK_NE(GetCurrentThread(), nullptr); in SetThreadStackAndTls()
H A Dasan_rtl.cpp575 if (AsanThread *curr_thread = GetCurrentThread()) { in UnpoisonDefaultStack()
593 AsanThread *curr_thread = GetCurrentThread(); in UnpoisonFakeStack()
618 AsanThread *t = GetCurrentThread(); in __asan_extra_spill_area()
624 AsanThread *t = GetCurrentThread(); in __asan_handle_vfork()
H A Dasan_stack.cpp63 AsanThread *t = GetCurrentThread(); in UnwindImpl()
H A Dasan_fake_stack.cpp149 AsanThread *curr_thread = GetCurrentThread(); in GC()
205 AsanThread *t = GetCurrentThread(); in GetFakeStack()
/freebsd-src/contrib/llvm-project/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_interceptors.cpp37 MemprofThread *t = GetCurrentThread(); in SetThreadName()
96 if (MemprofThread *t = GetCurrentThread()) { \
H A Dmemprof_thread.h127 MemprofThread *GetCurrentThread();
/freebsd-src/contrib/llvm-project/compiler-rt/lib/dfsan/
H A Ddfsan_thread.h75 DFsanThread *GetCurrentThread();
H A Ddfsan_allocator.cpp107 DFsanThread *t = GetCurrentThread(); in DFsanAllocate()
143 DFsanThread *t = GetCurrentThread(); in dfsan_deallocate()
H A Ddfsan_thread.cpp110 DFsanThread *GetCurrentThread() { return dfsan_current_thread; } in GetCurrentThread() function
/freebsd-src/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan.cpp301 MsanThread *t = GetCurrentThread();
338 MsanThread *t = GetCurrentThread(); in UnwindImpl()
706 MsanThread *t = GetCurrentThread(); in __msan_finish_switch_fiber()
715 MsanThread *t = GetCurrentThread(); in __msan_finish_switch_fiber()
H A Dmsan_thread.h76 MsanThread *GetCurrentThread();
H A Dmsan_linux.cpp244 MsanThread *GetCurrentThread() { in GetCurrentThread()
276 MsanThread *GetCurrentThread() { in GetCurrentThread()
243 MsanThread *GetCurrentThread() { GetCurrentThread() function
275 MsanThread *GetCurrentThread() { GetCurrentThread() function
/freebsd-src/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_unwind_win.cpp88 while (StackWalk64(machine_type, GetCurrentProcess(), GetCurrentThread(),
/freebsd-src/contrib/llvm-project/llvm/lib/Support/Windows/
H A DThreading.inc118 return SetThreadPriority(GetCurrentThread(),
310 SetThreadGroupAffinity(GetCurrentThread(), &Affinity, nullptr);
315 GetThreadGroupAffinity(GetCurrentThread(), &Affinity);

123