Searched refs:ThreadContextBase (Results 1 – 15 of 15) sorted by relevance
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_thread_registry.cpp | 20 ThreadContextBase::ThreadContextBase(u32 tid) in ThreadContextBase() function in __sanitizer::ThreadContextBase 28 ThreadContextBase::~ThreadContextBase() { in ~ThreadContextBase() 33 void ThreadContextBase::SetName(const char *new_name) { in SetName() 41 void ThreadContextBase::SetDead() { in SetDead() 49 void ThreadContextBase::SetDestroyed() { in SetDestroyed() 53 bool ThreadContextBase::GetDestroyed() { in GetDestroyed() 57 void ThreadContextBase::SetJoined(void *arg) { in SetJoined() 66 void ThreadContextBase::SetFinished() { in SetFinished() 75 void ThreadContextBase::SetStarted(tid_t _os_id, ThreadType _thread_type, in SetStarted() 83 void ThreadContextBase::SetCreated(uptr _user_id, u64 _unique_id, in SetCreated() [all …]
|
H A D | sanitizer_thread_registry.h | 40 class ThreadContextBase { 42 explicit ThreadContextBase(u32 tid); 55 ThreadContextBase *next; // For storing thread contexts in a list. 84 ~ThreadContextBase(); 87 typedef ThreadContextBase* (*ThreadContextFactory)(u32 tid); 103 ThreadContextBase *GetThreadLocked(u32 tid) { in GetThreadLocked() 111 typedef void (*ThreadCallback)(ThreadContextBase *tctx, void *arg); 116 typedef bool (*FindThreadCallback)(ThreadContextBase *tctx, void *arg); 122 ThreadContextBase *FindThreadContextLocked(FindThreadCallback cb, 124 ThreadContextBase *FindThreadContextByOsIDLocked(tid_t os_id); [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/lsan/ |
H A D | lsan_thread.cpp | 32 static ThreadContextBase *CreateThreadContext(u32 tid) { in CreateThreadContext() 51 : ThreadContextBase(tid) {} in ThreadContextLsanBase() 103 [](ThreadContextBase *tctx, void *threads) { in GetRunningThreadsLocked()
|
H A D | lsan_thread.h | 22 class ThreadContextLsanBase : public ThreadContextBase {
|
H A D | lsan_fuchsia.cpp | 73 [](ThreadContextBase *tctx, void *arg) { in GetAllThreadAllocatorCachesLocked()
|
H A D | lsan_common.h | 60 class ThreadContextBase; variable
|
/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/ |
H A D | memprof_thread.h | 34 struct MemprofThreadContext final : public ThreadContextBase { 36 : ThreadContextBase(tid), announced(false), in MemprofThreadContext()
|
H A D | memprof_stats.cpp | 74 static void MergeThreadStats(ThreadContextBase *tctx_base, void *arg) { in MergeThreadStats()
|
H A D | memprof_thread.cpp | 46 static ThreadContextBase *GetMemprofThreadContext(u32 tid) { in GetMemprofThreadContext()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/ |
H A D | asan_thread.cpp | 53 static ThreadContextBase *GetAsanThreadContext(u32 tid) { in GetAsanThreadContext() 412 static bool ThreadStackContainsAddress(ThreadContextBase *tctx_base, in ThreadStackContainsAddress() 543 [](ThreadContextBase *tctx, void *arg) { in GetThreadExtraStackRangesLocked() 556 [](ThreadContextBase *tctx, void *threads) { in GetRunningThreadsLocked()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_rtl_thread.cpp | 24 ThreadContext::ThreadContext(Tid tid) : ThreadContextBase(tid), thr(), sync() {} in ThreadContext() 39 static void CollectThreadLeaks(ThreadContextBase *tctx_base, void *arg) { in CollectThreadLeaks() 281 ThreadContextBase *tctx;
|
H A D | tsan_debugging.cpp | 257 ThreadContextBase *tctx = ctx->thread_registry.GetThreadLocked(b->tid); in __tsan_get_alloc_stack()
|
H A D | tsan_rtl.h | 264 class ThreadContext final : public ThreadContextBase {
|
H A D | tsan_rtl_report.cpp | 232 static bool IsInStackOrTls(ThreadContextBase *tctx_base, void *arg) { in IsInStackOrTls()
|
H A D | tsan_rtl.cpp | 387 thread_registry([](Tid tid) -> ThreadContextBase* { in Context()
|