/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/asan/ |
H A D | asan_rtems.cc | 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 [all...] |
H A D | asan_fuchsia.cc | 75 // (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 D | asan_thread.cc | 39 // 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 D | asan_thread.h | 35 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 D | asan_posix.cc | 85 AsanThread::TSDDtor(tsd); 113 AsanThread::TSDDtor(tsd);
|
H A D | asan_internal.h | 60 class AsanThread; 88 AsanThread *CreateMainThread();
|
H A D | asan_win.cc | 134 AsanThread *t = (AsanThread*)arg; 151 AsanThread *t = 152 AsanThread::Create(start_routine, arg, current_tid, &stack, detached); 216 AsanThread::TSDDtor(tsd);
|
H A D | asan_stats.cc | 78 if (AsanThread *t = tctx->thread) 118 AsanThread *t = GetCurrentThread();
|
H A D | asan_stack.h | 39 AsanThread *t;
|
/netbsd-current/external/gpl3/gcc.old/dist/libsanitizer/asan/ |
H A D | asan_rtems.cc | 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 [all...] |
H A D | asan_fuchsia.cc | 73 // (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 D | asan_thread.cc | 41 // 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 D | asan_thread.h | 33 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 D | asan_posix.cc | 66 AsanThread::TSDDtor(tsd);
|
H A D | asan_internal.h | 58 class AsanThread; 86 AsanThread *CreateMainThread();
|
H A D | asan_win.cc | 132 AsanThread *t = (AsanThread*)arg; 149 AsanThread *t = 150 AsanThread::Create(start_routine, arg, current_tid, &stack, detached); 214 AsanThread::TSDDtor(tsd);
|
H A D | asan_stats.cc | 76 if (AsanThread *t = tctx->thread) 116 AsanThread *t = GetCurrentThread();
|
/netbsd-current/external/gpl3/gcc/dist/libsanitizer/asan/ |
H A D | asan_thread.cpp | 38 // 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 D | asan_fuchsia.cpp | 70 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 D | asan_thread.h | 31 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 D | asan_stack.cpp | 34 explicit ScopedUnwinding(AsanThread *t) : thread(t) { 48 AsanThread *thread = nullptr; 63 AsanThread *t = GetCurrentThread();
|
H A D | asan_internal.h | 59 class AsanThread; 97 AsanThread *CreateMainThread();
|
H A D | asan_win.cpp | 135 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 D | asan_posix.cpp | 112 AsanThread::TSDDtor(tsd); 140 AsanThread::TSDDtor(tsd);
|
H A D | asan_stats.cpp | 77 if (AsanThread *t = tctx->thread) 117 AsanThread *t = GetCurrentThread();
|