| /llvm-project-15.0.7/compiler-rt/lib/lsan/ |
| H A D | lsan_thread.cpp | 58 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 D | lsan_mac.cpp | 70 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 D | lsan_linux.cpp | 22 u32 GetCurrentThread() { return current_thread_tid; } in GetCurrentThread() function
|
| H A D | lsan_thread.h | 51 u32 GetCurrentThread();
|
| H A D | lsan_fuchsia.cpp | 101 u32 parent_tid = GetCurrentThread(); in __sanitizer_before_thread_create_hook()
|
| /llvm-project-15.0.7/compiler-rt/lib/hwasan/ |
| H A D | hwasan_thread.h | 103 Thread *GetCurrentThread(); 107 ScopedTaggingDisabler() { GetCurrentThread()->DisableTagging(); } in ScopedTaggingDisabler() 108 ~ScopedTaggingDisabler() { GetCurrentThread()->EnableTagging(); } in ~ScopedTaggingDisabler()
|
| H A D | hwasan.cpp | 238 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 D | hwasan_thread.cpp | 67 CHECK_EQ(GetCurrentThread(), this); in InitStackRingBuffer() 108 CHECK_EQ(GetCurrentThread(), this); in Destroy()
|
| H A D | hwasan_report.cpp | 415 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 D | hwasan_allocator.cpp | 107 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 D | asan_thread.cpp | 105 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 D | asan_fuchsia.cpp | 71 AsanThread *curr_thread = GetCurrentThread(); in PlatformUnpoisonStacks() 139 DCHECK_NE(GetCurrentThread(), this); in SetThreadStackAndTls() 140 DCHECK_NE(GetCurrentThread(), nullptr); in SetThreadStackAndTls()
|
| H A D | asan_rtl.cpp | 544 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 D | asan_stack.cpp | 63 AsanThread *t = GetCurrentThread(); in UnwindImpl()
|
| /llvm-project-15.0.7/compiler-rt/lib/memprof/ |
| H A D | memprof_thread.cpp | 190 MemprofThread *GetCurrentThread() { in GetCurrentThread() function 209 MemprofThread *t = GetCurrentThread(); in GetCurrentTidOrInvalid()
|
| H A D | memprof_stack.cpp | 40 MemprofThread *t = GetCurrentThread(); in UnwindImpl()
|
| H A D | memprof_thread.h | 127 MemprofThread *GetCurrentThread();
|
| /llvm-project-15.0.7/compiler-rt/lib/msan/ |
| H A D | msan_linux.cpp | 200 MsanThread *GetCurrentThread() { in GetCurrentThread() function 232 MsanThread *GetCurrentThread() { in GetCurrentThread() function
|
| H A D | msan.cpp | 296 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 D | msan_thread.h | 76 MsanThread *GetCurrentThread();
|
| /llvm-project-15.0.7/compiler-rt/lib/dfsan/ |
| H A D | dfsan_thread.h | 75 DFsanThread *GetCurrentThread();
|
| H A D | dfsan_allocator.cpp | 96 DFsanThread *t = GetCurrentThread(); in DFsanAllocate() 132 DFsanThread *t = GetCurrentThread(); in dfsan_deallocate()
|
| /llvm-project-15.0.7/lldb/source/Host/windows/ |
| H A D | Host.cpp | 101 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 D | sanitizer_unwind_win.cpp | 81 while (StackWalk64(machine_type, GetCurrentProcess(), GetCurrentThread(), in UnwindSlow()
|
| /llvm-project-15.0.7/llvm/lib/Support/Windows/ |
| H A D | Threading.inc | 125 return SetThreadPriority(GetCurrentThread(), 291 SetThreadGroupAffinity(GetCurrentThread(), &Affinity, nullptr); 296 GetThreadGroupAffinity(GetCurrentThread(), &Affinity);
|