Home
last modified time | relevance | path

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

/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_thread_registry.cpp104 ThreadRegistry::ThreadRegistry(ThreadContextFactory factory) in ThreadRegistry() function in __sanitizer::ThreadRegistry
105 : ThreadRegistry(factory, UINT32_MAX, UINT32_MAX, 0) {} in ThreadRegistry()
107 ThreadRegistry::ThreadRegistry(ThreadContextFactory factory, u32 max_threads, in ThreadRegistry() function in __sanitizer::ThreadRegistry
131 uptr ThreadRegistry::GetMaxAliveThreads() { in GetMaxAliveThreads()
236 void ThreadRegistry::DetachThread(u32 tid, void *arg) { in DetachThread()
255 void ThreadRegistry::JoinThread(u32 tid, void *arg) { in JoinThread()
283 ThreadStatus ThreadRegistry::FinishThread(u32 tid) { in FinishThread()
336 ThreadContextBase *ThreadRegistry::QuarantinePop() { in QuarantinePop()
344 u32 ThreadRegistry::ConsumeThreadUserId(uptr user_id) { in ConsumeThreadUserId()
357 void ThreadRegistry::SetThreadUserId(u32 tid, uptr user_id) { in SetThreadUserId()
[all …]
H A Dsanitizer_thread_registry.h89 class SANITIZER_MUTEX ThreadRegistry {
91 ThreadRegistry(ThreadContextFactory factory);
92 ThreadRegistry(ThreadContextFactory factory, u32 max_threads,
164 typedef GenericScopedLock<ThreadRegistry> ThreadRegistryLock;
/llvm-project-15.0.7/compiler-rt/lib/lsan/
H A Dlsan_thread.cpp26 static ThreadRegistry *thread_registry;
34 static ALIGNED(64) char thread_registry_placeholder[sizeof(ThreadRegistry)]; in InitializeThreadRegistry()
36 new (thread_registry_placeholder) ThreadRegistry(CreateThreadContext); in InitializeThreadRegistry()
85 ThreadRegistry *GetThreadRegistryLocked() { in GetThreadRegistryLocked()
H A Dlsan_common.h55 class ThreadRegistry; variable
251 ThreadRegistry *GetThreadRegistryLocked();
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_thread_registry_test.cpp34 static void CheckThreadQuantity(ThreadRegistry *registry, uptr exp_total, in CheckThreadQuantity()
66 static void TestRegistry(ThreadRegistry *registry, bool has_quarantine) { in TestRegistry()
138 ThreadRegistry quarantine_registry(GetThreadContext<ThreadContextBase>, in TEST()
143 ThreadRegistry no_quarantine_registry(GetThreadContext<ThreadContextBase>, in TEST()
159 ThreadRegistry *registry;
198 static void ThreadedTestRegistry(ThreadRegistry *registry) { in ThreadedTestRegistry()
229 ThreadRegistry registry(GetThreadContext<TestThreadContext>, in TEST()
/llvm-project-15.0.7/compiler-rt/lib/memprof/
H A Dmemprof_thread.cpp40 static ALIGNED(16) char thread_registry_placeholder[sizeof(ThreadRegistry)];
41 static ThreadRegistry *memprof_thread_registry;
51 ThreadRegistry &memprofThreadRegistry() { in memprofThreadRegistry()
61 ThreadRegistry(GetMemprofThreadContext); in memprofThreadRegistry()
H A Dmemprof_thread.h121 ThreadRegistry &memprofThreadRegistry();
/llvm-project-15.0.7/compiler-rt/lib/asan/
H A Dasan_thread.cpp43 static ALIGNED(16) char thread_registry_placeholder[sizeof(ThreadRegistry)];
44 static ThreadRegistry *asan_thread_registry;
54 ThreadRegistry &asanThreadRegistry() { in asanThreadRegistry()
64 new (thread_registry_placeholder) ThreadRegistry(GetAsanThreadContext); in asanThreadRegistry()
518 ThreadRegistry *GetThreadRegistryLocked() { in GetThreadRegistryLocked()
H A Dasan_thread.h173 ThreadRegistry &asanThreadRegistry();
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/
H A Dtsan_rtl_thread.cpp163 ThreadRegistry *tr = &ctx->thread_registry; in ThreadStart()
H A Dtsan_rtl.h307 ThreadRegistry thread_registry;
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl.h315 ThreadRegistry thread_registry;