| /llvm-project/compiler-rt/lib/hwasan/ |
| H A D | hwasan_thread.h | 110 Thread *GetCurrentThread(); 117 ScopedTaggingDisabler() { GetCurrentThread()->DisableTagging(); } in ScopedTaggingDisabler() 118 ~ScopedTaggingDisabler() { GetCurrentThread()->EnableTagging(); } in ~ScopedTaggingDisabler()
|
| H A D | hwasan_thread.cpp | 82 CHECK_EQ(GetCurrentThread(), this); in InitStackRingBuffer() 84 // ScopedTaggingDisable needs GetCurrentThread to be set up. in InitStackRingBuffer() 118 CHECK_EQ(GetCurrentThread(), this); in Destroy() 161 auto *t = __hwasan::GetCurrentThread(); in EnsureMainThreadIDIsCorrect()
|
| H A D | hwasan.cpp | 262 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 D | hwasan_allocator.cpp | 84 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()
|
| /llvm-project/compiler-rt/test/lsan/TestCases/ |
| H A D | thread_context_crash.cpp | 17 class ThreadContextLsanBase *GetCurrentThread(); 22 __lsan::GetCurrentThread(); in try_to_crash()
|
| /llvm-project/compiler-rt/lib/asan/ |
| H A D | asan_thread.cpp | 131 if (AsanThread *thread = GetCurrentThread()) in Destroy() 143 CHECK_NE(this, GetCurrentThread()); in Destroy() 244 DCHECK_EQ(GetCurrentThread(), this); in AsyncSignalSafeLazyInitFakeStack() 421 AsanThread *GetCurrentThread() { in ThreadStackContainsAddress() 453 AsanThread *t = GetCurrentThread(); in SetCurrentThread() 574 AsanThread *t = GetCurrentThread(); in __sanitizer_start_switch_fiber() 585 AsanThread *t = GetCurrentThread(); in __sanitizer_finish_switch_fiber() 426 AsanThread *GetCurrentThread() { GetCurrentThread() function
|
| H A D | asan_fuchsia.cpp | 69 AsanThread *curr_thread = GetCurrentThread(); in PlatformUnpoisonStacks() 136 DCHECK_NE(GetCurrentThread(), this); in SetThreadStackAndTls() 137 DCHECK_NE(GetCurrentThread(), nullptr); in SetThreadStackAndTls()
|
| H A D | asan_rtl.cpp | 572 if (AsanThread *curr_thread = GetCurrentThread()) { in UnpoisonDefaultStack() 588 AsanThread *curr_thread = GetCurrentThread(); in UnpoisonDefaultStack() 613 AsanThread *t = GetCurrentThread(); in __asan_handle_no_return() 619 AsanThread *t = GetCurrentThread(); in __asan_extra_spill_area()
|
| H A D | asan_stack.cpp | 63 AsanThread *t = GetCurrentThread(); in UnwindImpl()
|
| H A D | asan_fake_stack.cpp | 149 AsanThread *curr_thread = GetCurrentThread(); in GC() 205 AsanThread *t = GetCurrentThread(); in GetFakeStack()
|
| /llvm-project/compiler-rt/lib/lsan/ |
| H A D | lsan_thread.h | 56 ThreadContextLsanBase *GetCurrentThread(); 58 ThreadContextLsanBase *ctx = GetCurrentThread(); in GetCurrentThreadId()
|
| H A D | lsan_linux.cpp | 23 ThreadContextLsanBase *GetCurrentThread() { return current_thread; } in GetCurrentThread() function
|
| H A D | lsan.cpp | 39 if (ThreadContextLsanBase *t = GetCurrentThread()) { in UnwindImpl()
|
| H A D | lsan_thread.cpp | 78 GetCurrentThread()->os_id = GetTid(); in EnsureMainThreadIDIsCorrect()
|
| /llvm-project/compiler-rt/lib/memprof/ |
| H A D | memprof_thread.cpp | 183 MemprofThread *GetCurrentThread() { in SetThreadStackAndTls() 202 MemprofThread *t = GetCurrentThread(); in SetCurrentThread() 190 MemprofThread *GetCurrentThread() { GetCurrentThread() function
|
| H A D | memprof_stack.cpp | 40 MemprofThread *t = GetCurrentThread(); in UnwindImpl()
|
| H A D | memprof_interceptors.cpp | 37 MemprofThread *t = GetCurrentThread(); in SetThreadName() 96 if (MemprofThread *t = GetCurrentThread()) { \
|
| H A D | memprof_thread.h | 121 MemprofThread *GetCurrentThread();
|
| /llvm-project/compiler-rt/lib/msan/ |
| H A D | msan.cpp | 301 MsanThread *t = GetCurrentThread(); in ChainOrigin() 338 MsanThread *t = GetCurrentThread(); in UnwindImpl() 707 MsanThread *t = GetCurrentThread(); in __msan_start_switch_fiber() 716 MsanThread *t = GetCurrentThread(); in __msan_finish_switch_fiber()
|
| H A D | msan_linux.cpp | 244 MsanThread *GetCurrentThread() { in GetCurrentThread() 276 MsanThread *GetCurrentThread() { in GetCurrentThread() 243 MsanThread *GetCurrentThread() { GetCurrentThread() function 275 MsanThread *GetCurrentThread() { GetCurrentThread() function
|
| H A D | msan_thread.h | 76 MsanThread *GetCurrentThread();
|
| /llvm-project/compiler-rt/lib/dfsan/ |
| H A D | dfsan_thread.h | 75 DFsanThread *GetCurrentThread();
|
| H A D | dfsan_allocator.cpp | 110 DFsanThread *t = GetCurrentThread(); in DFsanAllocate() 146 DFsanThread *t = GetCurrentThread(); in dfsan_deallocate()
|
| /llvm-project/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/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_unwind_win.cpp | 88 while (StackWalk64(machine_type, GetCurrentProcess(), GetCurrentThread(),
|