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()
125 FakeStack *AsanThread::AsyncSignalSafeLazyInitFakeStack() { in AsyncSignalSafeLazyInitFakeStack()
152 void AsanThread::Init() { in Init()
166 thread_return_t AsanThread::ThreadStart( in ThreadStart()
[all …]
Dasan_thread.h31 class AsanThread; variable
44 AsanThread *thread;
54 class AsanThread {
56 static AsanThread *Create(thread_callback_t start_routine, void *arg,
146 explicit ScopedUnwinding(AsanThread *t) : thread(t) { in ScopedUnwinding()
152 AsanThread *thread;
158 explicit ScopedDeadlySignal(AsanThread *t) : thread(t) { in ScopedDeadlySignal()
166 AsanThread *thread;
176 AsanThread *GetCurrentThread();
177 void SetCurrentThread(AsanThread *t);
[all …]
Dasan_win.cc81 AsanThread *t = (AsanThread*)arg; in asan_thread_start()
98 AsanThread *t = in INTERCEPTOR_WINAPI()
99 AsanThread::Create(start_routine, arg, current_tid, &stack, detached); in INTERCEPTOR_WINAPI()
116 AsanThread *t = AsanThread::Create( in EnsureWorkerThreadRegistered()
173 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.cc122 AsanThread *t = GetCurrentThread(); in SetThreadName()
192 if (AsanThread *t = GetCurrentThread()) { \
223 AsanThread *t = nullptr; in asan_thread_start()
224 while ((t = reinterpret_cast<AsanThread *>( in asan_thread_start()
248 AsanThread *t = in INTERCEPTOR()
249 AsanThread::Create(start_routine, arg, current_tid, &stack, detached); in INTERCEPTOR()
Dasan_mac.cc112 AsanThread *t = GetCurrentThread(); in asan_register_worker_thread()
114 t = AsanThread::Create(/* start_routine */ nullptr, /* arg */ nullptr, in asan_register_worker_thread()
Dasan_internal.h60 class AsanThread; variable
Dasan_posix.cc113 AsanThread::TSDDtor(tsd); in PlatformTSDDtor()
Dasan_rtl.cc532 AsanThread *main_thread = AsanThread::Create( in AsanInitInternal()
585 AsanThread *curr_thread = GetCurrentThread(); in __asan_handle_no_return()
Dasan_stack.h40 AsanThread *t; in GetStackTraceWithPcBpAndContext()
Dasan_report.cc236 static void DescribeThread(AsanThread *t) { in DescribeThread()
449 AsanThread *t = FindThreadByStackAddress(addr); in DescribeAddressIfStack()
459 AsanThread::StackFrameAccess access; in DescribeAddressIfStack()
Dasan_fake_stack.cc189 AsanThread *t = GetCurrentThread(); in GetFakeStack()
Dasan_allocator.cc362 AsanThread *t = GetCurrentThread(); in Allocate()
486 AsanThread *t = GetCurrentThread(); in QuarantineChunk()