Lines Matching refs:AsanThread
75 // (below) will call AsanThread::TSDDtor directly.
83 return RoundUpTo(sizeof(AsanThread), PAGE_SIZE);
86 struct AsanThread::InitOptions {
91 static AsanThread *CreateAsanThread(StackTrace *stack, u32 parent_tid,
95 // In lieu of AsanThread::Create.
96 AsanThread *thread = (AsanThread *)MmapOrDie(AsanThreadMmapSize(), __func__);
103 // On other systems, AsanThread::Init() is called from the new
106 const AsanThread::InitOptions options = {stack_bottom, stack_size};
117 void AsanThread::SetThreadStackAndTls(const AsanThread::InitOptions *options) {
127 AsanThread *CreateMainThread() {
132 AsanThread *t = CreateAsanThread(
162 AsanThread *thread = static_cast<AsanThread *>(hook);
178 AsanThread *thread = static_cast<AsanThread *>(hook);
181 // In lieu of AsanThread::ThreadStart.
190 AsanThread::TSDDtor(per_thread);