Home
last modified time | relevance | path

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

/external/compiler-rt/lib/asan/
Dasan_thread.cc78 AsanThread *AsanThread::Create(thread_callback_t start_routine, in Create()
81 uptr size = RoundUpTo(sizeof(AsanThread), PageSize); in Create()
82 AsanThread *thread = (AsanThread*)MmapOrDie(size, __func__); in Create()
89 void AsanThread::TSDDtor(void *tsd) { in TSDDtor()
96 void AsanThread::Destroy() { in Destroy()
109 uptr size = RoundUpTo(sizeof(AsanThread), GetPageSizeCached()); in Destroy()
116 FakeStack *AsanThread::AsyncSignalSafeLazyInitFakeStack() { in AsyncSignalSafeLazyInitFakeStack()
143 void AsanThread::Init() { in Init()
158 thread_return_t AsanThread::ThreadStart(uptr os_id) { in ThreadStart()
184 void AsanThread::SetThreadStackAndTls() { in SetThreadStackAndTls()
[all …]
Dasan_thread.h30 class AsanThread; variable
46 AsanThread *thread;
56 class AsanThread {
58 static AsanThread *Create(thread_callback_t start_routine, void *arg);
136 explicit ScopedUnwinding(AsanThread *t) : thread(t) { in ScopedUnwinding()
142 AsanThread *thread;
146 AsanThread *thread;
157 AsanThread *GetCurrentThread();
158 void SetCurrentThread(AsanThread *t);
160 AsanThread *FindThreadByStackAddress(uptr addr);
Dasan_interceptors.cc87 AsanThread *t = GetCurrentThread(); in SetThreadName()
168 AsanThread *t = (AsanThread*)arg;
186 AsanThread *t = AsanThread::Create(start_routine, arg); in INTERCEPTOR()
720 AsanThread *t = AsanThread::Create(start_routine, arg); in INTERCEPTOR_WINAPI()
Dasan_stats.cc82 if (AsanThread *t = tctx->thread) in MergeThreadStats()
122 AsanThread *t = GetCurrentThread(); in GetCurrentThreadStats()
Dasan_win.cc59 AsanThread::TSDDtor(tsd); in PlatformTSDDtor()
Dasan_posix.cc83 AsanThread::TSDDtor(tsd); in PlatformTSDDtor()
Dasan_internal.h66 class AsanThread; variable
Dasan_stack.h33 AsanThread *t; in GetStackTraceWithPcBpAndContext()
Dasan_mac.cc265 AsanThread *t = GetCurrentThread(); in asan_register_worker_thread()
267 t = AsanThread::Create(0, 0); in asan_register_worker_thread()
Dasan_rtl.cc677 AsanThread *main_thread = AsanThread::Create(0, 0); in AsanInitInternal()
740 AsanThread *curr_thread = GetCurrentThread(); in __asan_handle_no_return()
Dasan_fake_stack.cc180 AsanThread *t = GetCurrentThread(); in GetFakeStack()
Dasan_allocator2.cc321 AsanThread *t = GetCurrentThread(); in Allocate()
441 AsanThread *t = GetCurrentThread(); in QuarantineChunk()
Dasan_report.cc180 static void DescribeThread(AsanThread *t) { in DescribeThread()
352 AsanThread *t = FindThreadByStackAddress(addr); in DescribeAddressIfStack()