Lines Matching refs:AsanThread
84 // (below) will call AsanThread::TSDDtor directly.
95 struct AsanThread::InitOptions {
100 static AsanThread *CreateAsanThread(StackTrace *stack, u32 parent_tid,
104 // In lieu of AsanThread::Create.
105 AsanThread *thread = (AsanThread *)MmapOrDie(sizeof(AsanThread), __func__);
109 // On other systems, AsanThread::Init() is called from the new
112 const AsanThread::InitOptions options = {stack_bottom, stack_size,
121 void AsanThread::SetThreadStackAndTls(const AsanThread::InitOptions *options) {
133 // main thread on RTEMS does not require special treatment; its AsanThread is
136 AsanThread *CreateMainThread() {
159 AsanThread *thread = static_cast<AsanThread *>(hook);
167 UnmapOrDie(thread, sizeof(AsanThread));
178 AsanThread *thread = static_cast<AsanThread *>(hook);
186 // In lieu of AsanThread::ThreadStart.
201 AsanThread *thread = static_cast<AsanThread *>(hook);
203 AsanThread::TSDDtor(thread->context());