Searched refs:AsanThread (Results 1 - 16 of 16) sorted by relevance

/openbsd-current/gnu/llvm/compiler-rt/lib/asan/
H A Dasan_fuchsia.cpp71 AsanThread *curr_thread = GetCurrentThread();
105 // (below) will call AsanThread::TSDDtor directly.
113 return RoundUpTo(sizeof(AsanThread), _zx_system_get_page_size());
116 struct AsanThread::InitOptions {
121 static AsanThread *CreateAsanThread(StackTrace *stack, u32 parent_tid,
123 // In lieu of AsanThread::Create.
124 AsanThread *thread = (AsanThread *)MmapOrDie(AsanThreadMmapSize(), __func__);
138 void AsanThread::SetThreadStackAndTls(const AsanThread
[all...]
H A Dasan_thread.cpp38 // Drop the link to the AsanThread object.
75 // AsanThread implementation.
77 AsanThread *AsanThread::Create(thread_callback_t start_routine, void *arg,
81 uptr size = RoundUpTo(sizeof(AsanThread), PageSize);
82 AsanThread *thread = (AsanThread*)MmapOrDie(size, __func__);
91 void AsanThread::TSDDtor(void *tsd) {
98 void AsanThread::Destroy() {
105 if (AsanThread *threa
[all...]
H A Dasan_thread.h31 class AsanThread;
44 AsanThread *thread;
50 AsanThread *thread;
58 // AsanThread are stored in TSD and destroyed when the thread dies.
59 class AsanThread { class in namespace:__asan
61 static AsanThread *Create(thread_callback_t start_routine, void *arg,
135 // NOTE: There is no AsanThread constructor. It is allocated
179 AsanThread *GetCurrentThread();
180 void SetCurrentThread(AsanThread *t);
182 AsanThread *FindThreadByStackAddres
[all...]
H A Dasan_stack.cpp34 explicit ScopedUnwinding(AsanThread *t) : thread(t) {
48 AsanThread *thread = nullptr;
63 AsanThread *t = GetCurrentThread();
H A Dasan_internal.h59 class AsanThread;
97 AsanThread *CreateMainThread();
H A Dasan_win.cpp135 AsanThread *t = (AsanThread *)arg;
151 AsanThread *t =
152 AsanThread::Create(start_routine, arg, current_tid, &stack, detached);
246 void PlatformTSDDtor(void *tsd) { AsanThread::TSDDtor(tsd); }
H A Dasan_posix.cpp113 AsanThread::TSDDtor(tsd);
141 AsanThread::TSDDtor(tsd);
H A Dasan_stats.cpp77 if (AsanThread *t = tctx->thread)
117 AsanThread *t = GetCurrentThread();
H A Dasan_rtl.cpp460 // On Linux AsanThread::ThreadStart() calls malloc() that's why asan_inited
480 AsanThread *main_thread = CreateMainThread();
553 if (AsanThread *curr_thread = GetCurrentThread()) {
571 AsanThread *curr_thread = GetCurrentThread();
596 AsanThread *t = GetCurrentThread();
602 AsanThread *t = GetCurrentThread();
H A Dasan_interceptors.cpp65 AsanThread *t = GetCurrentThread();
145 if (AsanThread *t = GetCurrentThread()) { \
197 AsanThread *t = (AsanThread *)arg;
214 AsanThread *t =
215 AsanThread::Create(start_routine, arg, current_tid, &stack, detached);
229 // If the thread didn't start delete the AsanThread to avoid leaking it.
231 // that was just created for the AsanThread is wasted.
H A Dasan_mac.cpp143 AsanThread *t = GetCurrentThread();
145 t = AsanThread::Create(/* start_routine */ nullptr, /* arg */ nullptr,
H A Dasan_descriptions.h25 static inline void DescribeThread(AsanThread *t) {
H A Dasan_descriptions.cpp195 AsanThread *t = FindThreadByStackAddress(addr);
201 AsanThread::StackFrameAccess access;
H A Dasan_allocator.cpp467 AsanThread *t = GetCurrentThread();
522 AsanThread *t = GetCurrentThread();
628 AsanThread *t = GetCurrentThread();
821 AsanThread *t = GetCurrentThread();
H A Dasan_fake_stack.cpp187 AsanThread *t = GetCurrentThread();
H A Dasan_report.cpp398 AsanThread *t = GetCurrentThread();

Completed in 798 milliseconds