Lines Matching refs:AsanThread
85 // (below) will call AsanThread::TSDDtor directly.
96 struct AsanThread::InitOptions {
101 static AsanThread *CreateAsanThread(StackTrace *stack, u32 parent_tid,
105 // In lieu of AsanThread::Create.
106 AsanThread *thread = (AsanThread *)MmapOrDie(sizeof(AsanThread), __func__);
110 // On other systems, AsanThread::Init() is called from the new
113 const AsanThread::InitOptions options = {stack_bottom, stack_size,
122 void AsanThread::SetThreadStackAndTls(const AsanThread::InitOptions *options) {
134 // main thread on RTEMS does not require special treatment; its AsanThread is
137 AsanThread *CreateMainThread() {
160 AsanThread *thread = static_cast<AsanThread *>(hook);
168 UnmapOrDie(thread, sizeof(AsanThread));
179 AsanThread *thread = static_cast<AsanThread *>(hook);
187 // In lieu of AsanThread::ThreadStart.
202 AsanThread *thread = static_cast<AsanThread *>(hook);
204 AsanThread::TSDDtor(thread->context());