Home
last modified time | relevance | path

Searched refs:asanThreadRegistry (Results 1 – 11 of 11) sorted by relevance

/external/compiler-rt/lib/asan/
Dasan_stats.cc59 AsanStats stats = asanThreadRegistry().GetAccumulatedStats(); in PrintAccumulatedStats()
71 return asanThreadRegistry().GetCurrentAllocatedBytes(); in __asan_get_current_allocated_bytes()
75 return asanThreadRegistry().GetHeapSize(); in __asan_get_heap_size()
79 return asanThreadRegistry().GetFreeBytes(); in __asan_get_free_bytes()
Dasan_mac.cc161 if (AsanThread *t = asanThreadRegistry().GetCurrent()) in GetStackTrace()
286 AsanThread *t = asanThreadRegistry().GetCurrent(); in asan_register_worker_thread()
289 asanThreadRegistry().RegisterThread(t); in asan_register_worker_thread()
291 asanThreadRegistry().SetCurrent(t); in asan_register_worker_thread()
325 asan_ctxt->parent_tid = asanThreadRegistry().GetCurrentTidOrInvalid(); in alloc_asan_context()
398 int parent_tid = asanThreadRegistry().GetCurrentTidOrInvalid(); \
463 asan_ctxt->parent_tid = asanThreadRegistry().GetCurrentTidOrInvalid(); in INTERCEPTOR()
Dasan_report.cc141 AsanThread *t = asanThreadRegistry().FindThreadByStackAddress(addr); in DescribeAddressIfStack()
219 asanThreadRegistry().FindByTid(summary->parent_tid()); in DescribeThread()
249 AsanThread *curr_thread = asanThreadRegistry().GetCurrent(); in ScopedInErrorReport()
259 AsanThread *curr_thread = asanThreadRegistry().GetCurrent(); in ~ScopedInErrorReport()
281 asanThreadRegistry().GetCurrentTidOrInvalid()); in ReportSIGSEGV()
428 u32 curr_tid = asanThreadRegistry().GetCurrentTidOrInvalid(); in __asan_report_error()
Dasan_allocator.cc522 AsanStats &thread_stats = asanThreadRegistry().GetCurrentThreadStats(); in QuarantinePop()
548 AsanStats &thread_stats = asanThreadRegistry().GetCurrentThreadStats(); in GetNewChunks()
594 asanThreadRegistry().FindByTid(m->alloc_tid); in DescribeHeapAddress()
598 AsanThread *t = asanThreadRegistry().GetCurrent(); in DescribeHeapAddress()
602 asanThreadRegistry().FindByTid(m->free_tid); in DescribeHeapAddress()
653 AsanThread *t = asanThreadRegistry().GetCurrent(); in Allocate()
654 AsanStats &thread_stats = asanThreadRegistry().GetCurrentThreadStats(); in Allocate()
739 AsanThread *t = asanThreadRegistry().GetCurrent(); in Deallocate()
747 AsanStats &thread_stats = asanThreadRegistry().GetCurrentThreadStats(); in Deallocate()
771 AsanStats &thread_stats = asanThreadRegistry().GetCurrentThreadStats(); in Reallocate()
[all …]
Dasan_rtl.cc275 AsanThread *curr_thread = asanThreadRegistry().GetCurrent(); in __asan_handle_no_return()
387 asanThreadRegistry().Init(); in __asan_init()
388 asanThreadRegistry().GetMain()->ThreadStart(); in __asan_init()
Dasan_interceptors.cc103 asanThreadRegistry().SetCurrent(t); in asan_thread_start()
111 u32 current_tid = asanThreadRegistry().GetCurrentTidOrInvalid(); in INTERCEPTOR()
113 asanThreadRegistry().RegisterThread(t); in INTERCEPTOR()
594 u32 current_tid = asanThreadRegistry().GetCurrentTidOrInvalid(); in INTERCEPTOR_WINAPI()
596 asanThreadRegistry().RegisterThread(t); in INTERCEPTOR_WINAPI()
Dasan_thread_registry.h77 AsanThreadRegistry &asanThreadRegistry();
Dasan_posix.cc75 asanThreadRegistry().GetCurrentTidOrInvalid(), in SetAlternateSignalStack()
Dasan_linux.cc144 if (AsanThread *t = asanThreadRegistry().GetCurrent()) in GetStackTrace()
Dasan_thread.cc62 asanThreadRegistry().UnregisterThread(this); in Destroy()
Dasan_thread_registry.cc25 AsanThreadRegistry &asanThreadRegistry() { in asanThreadRegistry() function