Home
last modified time | relevance | path

Searched refs:AsanThread (Results 1 – 11 of 11) sorted by relevance

/external/compiler-rt/lib/asan/
Dasan_thread.cc24 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 …]
Dasan_thread_registry.h33 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_;
Dasan_thread_registry.cc45 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()
Dasan_thread.h27 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,
Dasan_interceptors.cc102 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()
Dasan_mac.cc161 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()
Dasan_report.cc141 AsanThread *t = asanThreadRegistry().FindThreadByStackAddress(addr); in DescribeAddressIfStack()
249 AsanThread *curr_thread = asanThreadRegistry().GetCurrent(); in ScopedInErrorReport()
259 AsanThread *curr_thread = asanThreadRegistry().GetCurrent(); in ~ScopedInErrorReport()
Dasan_internal.h91 class AsanThread; variable
Dasan_linux.cc144 if (AsanThread *t = asanThreadRegistry().GetCurrent()) in GetStackTrace()
Dasan_allocator.cc598 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()
Dasan_rtl.cc275 AsanThread *curr_thread = asanThreadRegistry().GetCurrent(); in __asan_handle_no_return()