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

/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_rtems.cpp85 // (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
[all...]
H A Dasan_fuchsia.cpp76 // (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
[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__);
92 void AsanThread::TSDDtor(void *tsd) {
99 void AsanThread::Destroy() {
112 uptr size = RoundUpTo(sizeof(AsanThread), GetPageSizeCache
[all...]
H A Dasan_thread.h34 class AsanThread;
47 AsanThread *thread;
53 AsanThread *thread;
61 // AsanThread are stored in TSD and destroyed when the thread dies.
62 class AsanThread { class in namespace:__asan
64 static AsanThread *Create(thread_callback_t start_routine, void *arg,
136 // NOTE: There is no AsanThread constructor. It is allocated
180 AsanThread *GetCurrentThread();
181 void SetCurrentThread(AsanThread *t);
183 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);
238 void PlatformTSDDtor(void *tsd) { AsanThread::TSDDtor(tsd); }
H A Dasan_posix.cpp112 AsanThread::TSDDtor(tsd);
140 AsanThread::TSDDtor(tsd);
H A Dasan_stats.cpp77 if (AsanThread *t = tctx->thread)
117 AsanThread *t = GetCurrentThread();
H A Dasan_rtl.cpp477 // On Linux AsanThread::ThreadStart() calls malloc() that's why asan_inited
496 AsanThread *main_thread = CreateMainThread();
576 if (AsanThread *curr_thread = GetCurrentThread()) {
597 AsanThread *curr_thread = GetCurrentThread();
618 AsanThread *t = GetCurrentThread();
624 AsanThread *t = GetCurrentThread();
H A Dasan_interceptors.cpp65 AsanThread *t = GetCurrentThread();
142 if (AsanThread *t = GetCurrentThread()) { \
200 AsanThread *t = nullptr;
201 while ((t = reinterpret_cast<AsanThread *>(
234 AsanThread *t =
235 AsanThread::Create(start_routine, arg, current_tid, &stack, detached);
237 // Wait until the AsanThread object is initialized and the ThreadRegistry
H A Dasan_mac.cpp179 AsanThread *t = GetCurrentThread();
181 t = AsanThread::Create(/* start_routine */ nullptr, /* arg */ nullptr,
H A Dasan_descriptions.h25 static inline void DescribeThread(AsanThread *t) {
H A Dasan_descriptions.cpp196 AsanThread *t = FindThreadByStackAddress(addr);
202 AsanThread::StackFrameAccess access;
H A Dasan_fake_stack.cpp188 AsanThread *t = GetCurrentThread();
H A Dasan_allocator.cpp465 AsanThread *t = GetCurrentThread();
588 AsanThread *t = GetCurrentThread();
776 AsanThread *t = GetCurrentThread();
H A Dasan_report.cpp383 AsanThread *t = GetCurrentThread();

Completed in 142 milliseconds