Searched refs:ThreadRegistry (Results 1 – 12 of 12) sorted by relevance
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_thread_registry.cpp | 104 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 D | sanitizer_thread_registry.h | 89 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 D | lsan_thread.cpp | 26 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 D | lsan_common.h | 55 class ThreadRegistry; variable 251 ThreadRegistry *GetThreadRegistryLocked();
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/ |
| H A D | sanitizer_thread_registry_test.cpp | 34 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 D | memprof_thread.cpp | 40 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 D | memprof_thread.h | 121 ThreadRegistry &memprofThreadRegistry();
|
| /llvm-project-15.0.7/compiler-rt/lib/asan/ |
| H A D | asan_thread.cpp | 43 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 D | asan_thread.h | 173 ThreadRegistry &asanThreadRegistry();
|
| /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/ |
| H A D | tsan_rtl_thread.cpp | 163 ThreadRegistry *tr = &ctx->thread_registry; in ThreadStart()
|
| H A D | tsan_rtl.h | 307 ThreadRegistry thread_registry;
|
| /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_rtl.h | 315 ThreadRegistry thread_registry;
|