Home
last modified time | relevance | path

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

123

/freebsd/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/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.cpp78 GetCurrentThread()->os_id = GetTid(); in EnsureMainThreadIDIsCorrect()
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_thread.cpp131 if (AsanThread *thread = GetCurrentThread()) in Destroy()
143 CHECK_NE(this, GetCurrentThread()); in Destroy()
244 DCHECK_EQ(GetCurrentThread(), this); in AsyncSignalSafeLazyInitFakeStack()
421 AsanThread *GetCurrentThread() { in GetCurrentThread() function
453 AsanThread *t = GetCurrentThread(); in GetCurrentTidOrInvalid()
574 AsanThread *t = GetCurrentThread(); in __sanitizer_start_switch_fiber()
585 AsanThread *t = GetCurrentThread(); in __sanitizer_finish_switch_fiber()
H A Dasan_fuchsia.cpp74 AsanThread *curr_thread = GetCurrentThread(); in PlatformUnpoisonStacks()
141 DCHECK_NE(GetCurrentThread(), this); in SetThreadStackAndTls()
142 DCHECK_NE(GetCurrentThread(), nullptr); in SetThreadStackAndTls()
H A Dasan_rtl.cpp617 if (AsanThread *curr_thread = GetCurrentThread()) { in UnpoisonDefaultStack()
633 AsanThread *curr_thread = GetCurrentThread(); in UnpoisonFakeStack()
658 AsanThread *t = GetCurrentThread(); in __asan_extra_spill_area()
664 AsanThread *t = GetCurrentThread(); in __asan_handle_vfork()
H A Dasan_fake_stack.cpp155 AsanThread *curr_thread = GetCurrentThread(); in GC()
211 AsanThread *t = GetCurrentThread(); in GetFakeStack()
/freebsd/crypto/krb5/src/ccapi/common/win/OldCC/
H A Dsecure.cxx121 HANDLE hThread = GetCurrentThread(); in SecureClient()
147 HANDLE hThread = GetCurrentThread(); in ~SecureClient()
/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_thread.cpp183 MemprofThread *GetCurrentThread() { in GetCurrentThread() function
202 MemprofThread *t = GetCurrentThread(); in GetCurrentTidOrInvalid()
H A Dmemprof_stack.cpp40 MemprofThread *t = GetCurrentThread(); in UnwindImpl()
H A Dmemprof_thread.h121 MemprofThread *GetCurrentThread();
H A Dmemprof_interceptors.cpp37 MemprofThread *t = GetCurrentThread(); in SetThreadName()
96 if (MemprofThread *t = GetCurrentThread()) { \
/freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/
H A Ddfsan_thread.h75 DFsanThread *GetCurrentThread();
H A Ddfsan_allocator.cpp110 DFsanThread *t = GetCurrentThread(); in DFsanAllocate()
146 DFsanThread *t = GetCurrentThread(); in dfsan_deallocate()
/freebsd/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan_thread.h76 MsanThread *GetCurrentThread();
H A Dmsan.cpp301 MsanThread *t = GetCurrentThread(); in ChainOrigin()
338 MsanThread *t = GetCurrentThread(); in UnwindImpl()
753 MsanThread *t = GetCurrentThread(); in __msan_start_switch_fiber()
762 MsanThread *t = GetCurrentThread(); in __msan_finish_switch_fiber()
H A Dmsan_linux.cpp244 MsanThread *GetCurrentThread() { in GetCurrentThread() function
276 MsanThread *GetCurrentThread() { in GetCurrentThread() function
/freebsd/contrib/llvm-project/compiler-rt/lib/nsan/
H A Dnsan_thread.h66 NsanThread *GetCurrentThread();
H A Dnsan_allocator.cpp112 if (NsanThread *t = GetCurrentThread()) { in NsanAllocate()
145 if (NsanThread *t = GetCurrentThread()) { in NsanDeallocate()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_unwind_win.cpp93 while (StackWalk64(machine_type, GetCurrentProcess(), GetCurrentThread(), in UnwindSlow()

123