Searched refs:ThreadRegistry (Results 1 – 12 of 12) sorted by relevance
| /freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_thread_registry.cpp | 115 ThreadRegistry::ThreadRegistry(ThreadContextFactory factory) in ThreadRegistry() function in __sanitizer::ThreadRegistry 116 : ThreadRegistry(factory, UINT32_MAX, UINT32_MAX, 0) {} in ThreadRegistry() 118 ThreadRegistry::ThreadRegistry(ThreadContextFactory factory, u32 max_threads, in ThreadRegistry() function in __sanitizer::ThreadRegistry 133 void ThreadRegistry::GetNumberOfThreads(uptr *total, uptr *running, in GetNumberOfThreads() 144 uptr ThreadRegistry::GetMaxAliveThreads() { in GetMaxAliveThreads() 149 u32 ThreadRegistry::CreateThread(uptr user_id, bool detached, u32 parent_tid, in CreateThread() 193 void ThreadRegistry::RunCallbackForEachThreadLocked(ThreadCallback cb, in RunCallbackForEachThreadLocked() 204 u32 ThreadRegistry::FindThread(FindThreadCallback cb, void *arg) { in FindThread() 214 ThreadContextBase *ThreadRegistry::FindThreadContextLocked( in FindThreadContextLocked() 231 ThreadContextBase *ThreadRegistry::FindThreadContextByOsIDLocked(tid_t os_id) { in FindThreadContextByOsIDLocked() [all …]
|
| H A D | sanitizer_thread_registry.h | 90 class SANITIZER_MUTEX ThreadRegistry { 92 ThreadRegistry(ThreadContextFactory factory); 93 ThreadRegistry(ThreadContextFactory factory, u32 max_threads, 169 typedef GenericScopedLock<ThreadRegistry> ThreadRegistryLock;
|
| H A D | sanitizer_thread_history.h | 20 void PrintThreadHistory(ThreadRegistry& registry, InternalScopedString& out);
|
| H A D | sanitizer_thread_history.cpp | 14 void PrintThreadHistory(ThreadRegistry ®istry, InternalScopedString &out) { in PrintThreadHistory()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/lsan/ |
| H A D | lsan_thread.cpp | 27 static ThreadRegistry *thread_registry; 39 alignas(alignof(ThreadRegistry)) static char in InitializeThreads() 40 thread_registry_placeholder[sizeof(ThreadRegistry)]; in InitializeThreads() 42 new (thread_registry_placeholder) ThreadRegistry(CreateThreadContext); in InitializeThreads() 97 ThreadRegistry *GetLsanThreadRegistryLocked() { in GetLsanThreadRegistryLocked()
|
| H A D | lsan_thread.h | 50 ThreadRegistry *GetLsanThreadRegistryLocked();
|
| H A D | lsan_common.h | 59 class ThreadRegistry; variable
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/memprof/ |
| H A D | memprof_thread.cpp | 37 alignas(16) static char thread_registry_placeholder[sizeof(ThreadRegistry)]; 38 static ThreadRegistry *memprof_thread_registry; 48 ThreadRegistry &memprofThreadRegistry() { in memprofThreadRegistry() 58 ThreadRegistry(GetMemprofThreadContext); in memprofThreadRegistry()
|
| H A D | memprof_thread.h | 115 ThreadRegistry &memprofThreadRegistry();
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/asan/ |
| H A D | asan_thread.cpp | 41 static ThreadRegistry *asan_thread_registry; 68 alignas(alignof(ThreadRegistry)) static char in InitThreads() 69 thread_registry_placeholder[sizeof(ThreadRegistry)]; in InitThreads() 74 new (thread_registry_placeholder) ThreadRegistry(GetAsanThreadContext); in InitThreads() 79 ThreadRegistry &asanThreadRegistry() { in asanThreadRegistry() 493 static ThreadRegistry *GetAsanThreadRegistryLocked() { in GetAsanThreadRegistryLocked()
|
| H A D | asan_thread.h | 195 ThreadRegistry &asanThreadRegistry();
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_rtl.h | 320 ThreadRegistry thread_registry;
|