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

12

/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/asan/
H A Dasan_rtems.cc84 // (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
[all...]
H A Dasan_fuchsia.cc75 // (below) will call AsanThread::TSDDtor directly.
83 return RoundUpTo(sizeof(AsanThread), PAGE_SIZE);
86 struct AsanThread::InitOptions {
91 static AsanThread *CreateAsanThread(StackTrace *stack, u32 parent_tid,
95 // In lieu of AsanThread::Create.
96 AsanThread *thread = (AsanThread *)MmapOrDie(AsanThreadMmapSize(), __func__);
103 // On other systems, AsanThread::Init() is called from the new
106 const AsanThread::InitOptions options = {stack_bottom, stack_size};
117 void AsanThread
[all...]
H A Dasan_thread.cc39 // Drop the link to the AsanThread object.
76 // AsanThread implementation.
78 AsanThread *AsanThread::Create(thread_callback_t start_routine, void *arg,
82 uptr size = RoundUpTo(sizeof(AsanThread), PageSize);
83 AsanThread *thread = (AsanThread*)MmapOrDie(size, __func__);
93 void AsanThread::TSDDtor(void *tsd) {
100 void AsanThread::Destroy() {
113 uptr size = RoundUpTo(sizeof(AsanThread), GetPageSizeCache
[all...]
H A Dasan_thread.h35 class AsanThread;
48 AsanThread *thread;
54 AsanThread *thread;
62 // AsanThread are stored in TSD and destroyed when the thread dies.
63 class AsanThread { class in namespace:__asan
65 static AsanThread *Create(thread_callback_t start_routine, void *arg,
135 // NOTE: There is no AsanThread constructor. It is allocated
174 explicit ScopedUnwinding(AsanThread *t) : thread(t) {
180 AsanThread *thread;
190 AsanThread *GetCurrentThrea
[all...]
H A Dasan_posix.cc85 AsanThread::TSDDtor(tsd);
113 AsanThread::TSDDtor(tsd);
H A Dasan_internal.h60 class AsanThread;
88 AsanThread *CreateMainThread();
H A Dasan_win.cc134 AsanThread *t = (AsanThread*)arg;
151 AsanThread *t =
152 AsanThread::Create(start_routine, arg, current_tid, &stack, detached);
216 AsanThread::TSDDtor(tsd);
H A Dasan_stats.cc78 if (AsanThread *t = tctx->thread)
118 AsanThread *t = GetCurrentThread();
H A Dasan_stack.h39 AsanThread *t;
/netbsd-current/external/gpl3/gcc.old/dist/libsanitizer/asan/
H A Dasan_rtems.cc82 // (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
[all...]
H A Dasan_fuchsia.cc73 // (below) will call AsanThread::TSDDtor directly.
81 return RoundUpTo(sizeof(AsanThread), PAGE_SIZE);
84 struct AsanThread::InitOptions {
89 static AsanThread *CreateAsanThread(StackTrace *stack, u32 parent_tid,
93 // In lieu of AsanThread::Create.
94 AsanThread *thread = (AsanThread *)MmapOrDie(AsanThreadMmapSize(), __func__);
101 // On other systems, AsanThread::Init() is called from the new
104 const AsanThread::InitOptions options = {stack_bottom, stack_size};
115 void AsanThread
[all...]
H A Dasan_thread.cc41 // Drop the link to the AsanThread object.
78 // AsanThread implementation.
80 AsanThread *AsanThread::Create(thread_callback_t start_routine, void *arg,
84 uptr size = RoundUpTo(sizeof(AsanThread), PageSize);
85 AsanThread *thread = (AsanThread*)MmapOrDie(size, __func__);
95 void AsanThread::TSDDtor(void *tsd) {
102 void AsanThread::Destroy() {
115 uptr size = RoundUpTo(sizeof(AsanThread), GetPageSizeCache
[all...]
H A Dasan_thread.h33 class AsanThread;
46 AsanThread *thread;
52 AsanThread *thread;
60 // AsanThread are stored in TSD and destroyed when the thread dies.
61 class AsanThread { class in namespace:__asan
63 static AsanThread *Create(thread_callback_t start_routine, void *arg,
133 // NOTE: There is no AsanThread constructor. It is allocated
172 explicit ScopedUnwinding(AsanThread *t) : thread(t) {
178 AsanThread *thread;
188 AsanThread *GetCurrentThrea
[all...]
H A Dasan_posix.cc66 AsanThread::TSDDtor(tsd);
H A Dasan_internal.h58 class AsanThread;
86 AsanThread *CreateMainThread();
H A Dasan_win.cc132 AsanThread *t = (AsanThread*)arg;
149 AsanThread *t =
150 AsanThread::Create(start_routine, arg, current_tid, &stack, detached);
214 AsanThread::TSDDtor(tsd);
H A Dasan_stats.cc76 if (AsanThread *t = tctx->thread)
116 AsanThread *t = GetCurrentThread();
/netbsd-current/external/gpl3/gcc/dist/libsanitizer/asan/
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() {
106 if (AsanThread *threa
[all...]
H A Dasan_fuchsia.cpp70 AsanThread *curr_thread = GetCurrentThread();
104 // (below) will call AsanThread::TSDDtor directly.
112 return RoundUpTo(sizeof(AsanThread), _zx_system_get_page_size());
115 struct AsanThread::InitOptions {
120 static AsanThread *CreateAsanThread(StackTrace *stack, u32 parent_tid,
123 // In lieu of AsanThread::Create.
124 AsanThread *thread = (AsanThread *)MmapOrDie(AsanThreadMmapSize(), __func__);
139 void AsanThread::SetThreadStackAndTls(const AsanThread
[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);
244 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();

Completed in 250 milliseconds

12