Searched refs:AsanThread (Results 1 – 11 of 11) sorted by relevance
/external/compiler-rt/lib/asan/ |
D | asan_thread.cc | 24 AsanThread::AsanThread(LinkerInitialized x) in AsanThread() function in __asan::AsanThread 29 AsanThread *AsanThread::Create(u32 parent_tid, thread_callback_t start_routine, in Create() 31 uptr size = RoundUpTo(sizeof(AsanThread), kPageSize); in Create() 32 AsanThread *thread = (AsanThread*)MmapOrDie(size, __FUNCTION__); in Create() 57 void AsanThread::Destroy() { in Destroy() 69 uptr size = RoundUpTo(sizeof(AsanThread), kPageSize); in Destroy() 73 void AsanThread::Init() { in Init() 88 thread_return_t AsanThread::ThreadStart() { in ThreadStart() 109 void AsanThread::SetThreadStackTopAndBottom() { in SetThreadStackTopAndBottom() 115 void AsanThread::ClearShadowForThreadStack() { in ClearShadowForThreadStack() [all …]
|
D | asan_thread_registry.h | 33 void RegisterThread(AsanThread *thread); 34 void UnregisterThread(AsanThread *thread); 36 AsanThread *GetMain(); 38 AsanThread *GetCurrent(); 39 void SetCurrent(AsanThread *t); 43 AsanThread *t = GetCurrent(); in GetCurrentTidOrInvalid() 58 AsanThread *FindThreadByStackAddress(uptr addr); 68 AsanThread main_thread_;
|
D | asan_thread_registry.cc | 45 void AsanThreadRegistry::RegisterThread(AsanThread *thread) { in RegisterThread() 57 void AsanThreadRegistry::UnregisterThread(AsanThread *thread) { in UnregisterThread() 65 AsanThread *AsanThreadRegistry::GetMain() { in GetMain() 69 AsanThread *AsanThreadRegistry::GetCurrent() { in GetCurrent() 78 AsanThread* thread = FindThreadByStackAddress((uptr)&summary); in GetCurrent() 89 void AsanThreadRegistry::SetCurrent(AsanThread *t) { in SetCurrent() 102 AsanThread *t = GetCurrent(); in GetCurrentThreadStats() 140 AsanThread *AsanThreadRegistry::FindThreadByStackAddress(uptr addr) { in FindThreadByStackAddress() 143 AsanThread *t = thread_summaries_[tid]->thread(); in FindThreadByStackAddress() 154 AsanThread *t = thread_summaries_[tid]->thread(); in UpdateAccumulatedStatsUnlocked()
|
D | asan_thread.h | 27 class AsanThread; variable 49 AsanThread *thread() { return thread_; } in thread() 50 void set_thread(AsanThread *thread) { thread_ = thread; } in set_thread() 58 AsanThread *thread_; 62 class AsanThread { 64 explicit AsanThread(LinkerInitialized); // for T0. 65 static AsanThread *Create(u32 parent_tid, thread_callback_t start_routine,
|
D | asan_interceptors.cc | 102 AsanThread *t = (AsanThread*)arg; in asan_thread_start() 112 AsanThread *t = AsanThread::Create(current_tid, start_routine, arg, &stack); in INTERCEPTOR() 595 AsanThread *t = AsanThread::Create(current_tid, start_routine, arg, &stack); in INTERCEPTOR_WINAPI()
|
D | asan_mac.cc | 161 if (AsanThread *t = asanThreadRegistry().GetCurrent()) in GetStackTrace() 286 AsanThread *t = asanThreadRegistry().GetCurrent(); in asan_register_worker_thread() 288 t = AsanThread::Create(parent_tid, 0, 0, stack); in asan_register_worker_thread()
|
D | asan_report.cc | 141 AsanThread *t = asanThreadRegistry().FindThreadByStackAddress(addr); in DescribeAddressIfStack() 249 AsanThread *curr_thread = asanThreadRegistry().GetCurrent(); in ScopedInErrorReport() 259 AsanThread *curr_thread = asanThreadRegistry().GetCurrent(); in ~ScopedInErrorReport()
|
D | asan_internal.h | 91 class AsanThread; variable
|
D | asan_linux.cc | 144 if (AsanThread *t = asanThreadRegistry().GetCurrent()) in GetStackTrace()
|
D | asan_allocator.cc | 598 AsanThread *t = asanThreadRegistry().GetCurrent(); in DescribeHeapAddress() 653 AsanThread *t = asanThreadRegistry().GetCurrent(); in Allocate() 739 AsanThread *t = asanThreadRegistry().GetCurrent(); in Deallocate() 1041 AsanThread *t = asanThreadRegistry().GetCurrent(); in __asan_stack_malloc()
|
D | asan_rtl.cc | 275 AsanThread *curr_thread = asanThreadRegistry().GetCurrent(); in __asan_handle_no_return()
|