Home
last modified time | relevance | path

Searched refs:ThreadRegistry (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_thread_registry.cpp115 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 Dsanitizer_thread_registry.h90 class SANITIZER_MUTEX ThreadRegistry {
92 ThreadRegistry(ThreadContextFactory factory);
93 ThreadRegistry(ThreadContextFactory factory, u32 max_threads,
169 typedef GenericScopedLock<ThreadRegistry> ThreadRegistryLock;
H A Dsanitizer_thread_history.h20 void PrintThreadHistory(ThreadRegistry& registry, InternalScopedString& out);
H A Dsanitizer_thread_history.cpp14 void PrintThreadHistory(ThreadRegistry &registry, InternalScopedString &out) { in PrintThreadHistory()
/freebsd/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_thread.cpp27 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 Dlsan_thread.h50 ThreadRegistry *GetLsanThreadRegistryLocked();
H A Dlsan_common.h59 class ThreadRegistry; variable
/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_thread.cpp37 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 Dmemprof_thread.h115 ThreadRegistry &memprofThreadRegistry();
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_thread.cpp41 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 Dasan_thread.h195 ThreadRegistry &asanThreadRegistry();
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl.h320 ThreadRegistry thread_registry;