Home
last modified time | relevance | path

Searched refs:AsanThread (Results 1 – 14 of 14) sorted by relevance

/external/compiler-rt/lib/asan/
Dasan_thread.cc31 AsanThread *thread;
83 AsanThread *AsanThread::Create(thread_callback_t start_routine, void *arg, in Create()
87 uptr size = RoundUpTo(sizeof(AsanThread), PageSize); in Create()
88 AsanThread *thread = (AsanThread*)MmapOrDie(size, __func__); in Create()
98 void AsanThread::TSDDtor(void *tsd) { in TSDDtor()
105 void AsanThread::Destroy() { in Destroy()
118 uptr size = RoundUpTo(sizeof(AsanThread), GetPageSizeCached()); in Destroy()
123 void AsanThread::StartSwitchFiber(FakeStack **fake_stack_save, uptr bottom, in StartSwitchFiber()
144 void AsanThread::FinishSwitchFiber(FakeStack *fake_stack_save) { in FinishSwitchFiber()
162 inline AsanThread::StackBounds AsanThread::GetStackBounds() const { in GetStackBounds()
[all …]
Dasan_thread.h35 class AsanThread; variable
48 AsanThread *thread;
58 class AsanThread {
60 static AsanThread *Create(thread_callback_t start_routine, void *arg,
166 explicit ScopedUnwinding(AsanThread *t) : thread(t) { in ScopedUnwinding()
172 AsanThread *thread;
178 explicit ScopedDeadlySignal(AsanThread *t) : thread(t) { in ScopedDeadlySignal()
186 AsanThread *thread;
196 AsanThread *GetCurrentThread();
197 void SetCurrentThread(AsanThread *t);
[all …]
Dasan_win.cc95 AsanThread *t = (AsanThread*)arg; in asan_thread_start()
112 AsanThread *t = in INTERCEPTOR_WINAPI()
113 AsanThread::Create(start_routine, arg, current_tid, &stack, detached); in INTERCEPTOR_WINAPI()
130 AsanThread *t = AsanThread::Create( in EnsureWorkerThreadRegistered()
195 AsanThread::TSDDtor(tsd); in PlatformTSDDtor()
Dasan_debugging.cc25 void GetInfoForStackVar(uptr addr, AddressDescription *descr, AsanThread *t) { in GetInfoForStackVar()
31 AsanThread::StackFrameAccess access; in GetInfoForStackVar()
75 AsanThread *thread = FindThreadByStackAddress(addr); in AsanLocateAddress()
Dasan_stats.cc78 if (AsanThread *t = tctx->thread) in MergeThreadStats()
118 AsanThread *t = GetCurrentThread(); in GetCurrentThreadStats()
Dasan_interceptors.cc123 AsanThread *t = GetCurrentThread(); in SetThreadName()
195 if (AsanThread *t = GetCurrentThread()) { \
231 AsanThread *t = nullptr; in asan_thread_start()
232 while ((t = reinterpret_cast<AsanThread *>( in asan_thread_start()
265 AsanThread *t = in INTERCEPTOR()
266 AsanThread::Create(start_routine, arg, current_tid, &stack, detached); in INTERCEPTOR()
Dasan_mac.cc145 AsanThread *t = GetCurrentThread(); in asan_register_worker_thread()
147 t = AsanThread::Create(/* start_routine */ nullptr, /* arg */ nullptr, in asan_register_worker_thread()
Dasan_rtl.cc541 AsanThread *main_thread = AsanThread::Create( in AsanInitInternal()
603 AsanThread *curr_thread = GetCurrentThread(); in __asan_handle_no_return()
Dasan_internal.h60 class AsanThread; variable
Dasan_posix.cc122 AsanThread::TSDDtor(tsd); in PlatformTSDDtor()
Dasan_stack.h40 AsanThread *t; in GetStackTraceWithPcBpAndContext()
Dasan_report.cc237 static void DescribeThread(AsanThread *t) { in DescribeThread()
450 AsanThread *t = FindThreadByStackAddress(addr); in DescribeAddressIfStack()
460 AsanThread::StackFrameAccess access; in DescribeAddressIfStack()
Dasan_fake_stack.cc189 AsanThread *t = GetCurrentThread(); in GetFakeStack()
Dasan_allocator.cc362 AsanThread *t = GetCurrentThread(); in Allocate()
485 AsanThread *t = GetCurrentThread(); in QuarantineChunk()