Lines Matching refs:AsanThread
70 AsanThread *curr_thread = GetCurrentThread();
104 // (below) will call AsanThread::TSDDtor directly.
112 return RoundUpTo(sizeof(AsanThread), _zx_system_get_page_size());
115 struct AsanThread::InitOptions {
120 static AsanThread *CreateAsanThread(StackTrace *stack, u32 parent_tid,
123 // In lieu of AsanThread::Create.
124 AsanThread *thread = (AsanThread *)MmapOrDie(AsanThreadMmapSize(), __func__);
139 void AsanThread::SetThreadStackAndTls(const AsanThread::InitOptions *options) {
149 AsanThread *CreateMainThread() {
154 AsanThread *t = CreateAsanThread(
160 // We need to set the current thread before calling AsanThread::Init() below,
165 const AsanThread::InitOptions options = {__sanitizer::MainThreadStackBase,
185 AsanThread *thread =
188 // On other systems, AsanThread::Init() is called from the new
191 const AsanThread::InitOptions options = {stack_bottom, stack_size};
199 AsanThread *thread = static_cast<AsanThread *>(hook);
215 AsanThread *thread = static_cast<AsanThread *>(hook);
218 // In lieu of AsanThread::ThreadStart.
227 AsanThread::TSDDtor(per_thread);