Lines Matching refs:AsanThread
76 // (below) will call AsanThread::TSDDtor directly.
84 return RoundUpTo(sizeof(AsanThread), PAGE_SIZE);
87 struct AsanThread::InitOptions {
92 static AsanThread *CreateAsanThread(StackTrace *stack, u32 parent_tid,
96 // In lieu of AsanThread::Create.
97 AsanThread *thread = (AsanThread *)MmapOrDie(AsanThreadMmapSize(), __func__);
104 // On other systems, AsanThread::Init() is called from the new
107 const AsanThread::InitOptions options = {stack_bottom, stack_size};
118 void AsanThread::SetThreadStackAndTls(const AsanThread::InitOptions *options) {
128 AsanThread *CreateMainThread() {
133 AsanThread *t = CreateAsanThread(
163 AsanThread *thread = static_cast<AsanThread *>(hook);
179 AsanThread *thread = static_cast<AsanThread *>(hook);
182 // In lieu of AsanThread::ThreadStart.
191 AsanThread::TSDDtor(per_thread);