Lines Matching refs:AsanThread
82 // (below) will call AsanThread::TSDDtor directly.
93 struct AsanThread::InitOptions {
98 static AsanThread *CreateAsanThread(StackTrace *stack, u32 parent_tid,
102 // In lieu of AsanThread::Create.
103 AsanThread *thread = (AsanThread *)MmapOrDie(sizeof(AsanThread), __func__);
107 // On other systems, AsanThread::Init() is called from the new
110 const AsanThread::InitOptions options = {stack_bottom, stack_size,
119 void AsanThread::SetThreadStackAndTls(const AsanThread::InitOptions *options) {
131 // main thread on RTEMS does not require special treatment; its AsanThread is
134 AsanThread *CreateMainThread() {
157 AsanThread *thread = static_cast<AsanThread *>(hook);
165 UnmapOrDie(thread, sizeof(AsanThread));
176 AsanThread *thread = static_cast<AsanThread *>(hook);
184 // In lieu of AsanThread::ThreadStart.
199 AsanThread *thread = static_cast<AsanThread *>(hook);
201 AsanThread::TSDDtor(thread->context());