Home
last modified time | relevance | path

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

123

/llvm-project-15.0.7/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.h51 u32 GetCurrentThread();
H A Dlsan_fuchsia.cpp101 u32 parent_tid = GetCurrentThread(); in __sanitizer_before_thread_create_hook()
/llvm-project-15.0.7/compiler-rt/lib/hwasan/
H A Dhwasan_thread.h103 Thread *GetCurrentThread();
107 ScopedTaggingDisabler() { GetCurrentThread()->DisableTagging(); } in ScopedTaggingDisabler()
108 ~ScopedTaggingDisabler() { GetCurrentThread()->EnableTagging(); } in ~ScopedTaggingDisabler()
H A Dhwasan.cpp238 Thread *GetCurrentThread() { in GetCurrentThread() function
252 Thread *t = GetCurrentThread(); in UnwindImpl()
349 GetCurrentThread()->EnsureRandomStateInited(); in __hwasan_init()
545 Thread *t = GetCurrentThread(); in __hwasan_handle_vfork()
561 Thread *t = GetCurrentThread(); in __hwasan_extra_spill_area()
574 Thread *t = GetCurrentThread(); in __hwasan_generate_tag()
580 Thread *t = GetCurrentThread(); in __hwasan_add_frame_record()
H A Dhwasan_thread.cpp67 CHECK_EQ(GetCurrentThread(), this); in InitStackRingBuffer()
108 CHECK_EQ(GetCurrentThread(), this); in Destroy()
H A Dhwasan_report.cpp415 auto *sa = (t == GetCurrentThread() && current_stack_allocations) in PrintAddressDescription()
583 const Thread *thread = GetCurrentThread(); in ReportInvalidFree()
671 GetCurrentThread()->Announce(); in ReportTailOverwritten()
683 GetCurrentThread()->stack_allocations()); in ReportTagMismatch()
694 Thread *t = GetCurrentThread(); in ReportTagMismatch()
H A Dhwasan_allocator.cpp107 tail_magic[i] = GetCurrentThread()->GenerateRandomTag(); in HwasanAllocatorInit()
143 Thread *t = GetCurrentThread(); in HwasanAllocate()
272 Thread *t = GetCurrentThread(); in HwasanDeallocate()
/llvm-project-15.0.7/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()
535 AsanThread *t = GetCurrentThread(); in __sanitizer_start_switch_fiber()
547 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.cpp544 if (AsanThread *curr_thread = GetCurrentThread()) { in UnpoisonDefaultStack()
562 AsanThread *curr_thread = GetCurrentThread(); in UnpoisonFakeStack()
587 AsanThread *t = GetCurrentThread(); in __asan_extra_spill_area()
593 AsanThread *t = GetCurrentThread(); in __asan_handle_vfork()
H A Dasan_stack.cpp63 AsanThread *t = GetCurrentThread(); in UnwindImpl()
/llvm-project-15.0.7/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();
/llvm-project-15.0.7/compiler-rt/lib/msan/
H A Dmsan_linux.cpp200 MsanThread *GetCurrentThread() { in GetCurrentThread() function
232 MsanThread *GetCurrentThread() { in GetCurrentThread() function
H A Dmsan.cpp296 MsanThread *t = GetCurrentThread(); in ChainOrigin()
311 MsanThread *t = GetCurrentThread(); in UnwindImpl()
701 MsanThread *t = GetCurrentThread(); in __msan_start_switch_fiber()
710 MsanThread *t = GetCurrentThread(); in __msan_finish_switch_fiber()
H A Dmsan_thread.h76 MsanThread *GetCurrentThread();
/llvm-project-15.0.7/compiler-rt/lib/dfsan/
H A Ddfsan_thread.h75 DFsanThread *GetCurrentThread();
H A Ddfsan_allocator.cpp96 DFsanThread *t = GetCurrentThread(); in DFsanAllocate()
132 DFsanThread *t = GetCurrentThread(); in dfsan_deallocate()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_unwind_win.cpp81 while (StackWalk64(machine_type, GetCurrentProcess(), GetCurrentThread(), in UnwindSlow()
/llvm-project-15.0.7/llvm/lib/Support/Windows/
H A DThreading.inc125 return SetThreadPriority(GetCurrentThread(),
291 SetThreadGroupAffinity(GetCurrentThread(), &Affinity, nullptr);
296 GetThreadGroupAffinity(GetCurrentThread(), &Affinity);

123