| /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 36 ThreadContextBase::~ThreadContextBase() { in ~ThreadContextBase() 41 void ThreadContextBase::SetName(const char *new_name) { in SetName() 49 void ThreadContextBase::SetDead() { in SetDead() 56 void ThreadContextBase::SetDestroyed() { in SetDestroyed() 60 bool ThreadContextBase::GetDestroyed() { in GetDestroyed() 64 void ThreadContextBase::SetJoined(void *arg) { in SetJoined() 73 void ThreadContextBase::SetFinished() { in SetFinished() 83 void ThreadContextBase::SetStarted(tid_t _os_id, ThreadType _thread_type, in SetStarted() 91 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); 56 ThreadContextBase *next; // For storing thread contexts in a list. 85 ~ThreadContextBase(); 88 typedef ThreadContextBase* (*ThreadContextFactory)(u32 tid); 104 ThreadContextBase *GetThreadLocked(u32 tid) { in GetThreadLocked() 116 typedef void (*ThreadCallback)(ThreadContextBase *tctx, void *arg); 121 typedef bool (*FindThreadCallback)(ThreadContextBase *tctx, void *arg); 127 ThreadContextBase *FindThreadContextLocked(FindThreadCallback cb, 129 ThreadContextBase *FindThreadContextByOsIDLocked(tid_t os_id); [all …]
|
| H A D | sanitizer_thread_history.cpp | 18 InternalMmapVector<const ThreadContextBase *> stacks; in PrintThreadHistory() 21 [](ThreadContextBase *context, void *arg) { in PrintThreadHistory() 27 [](const ThreadContextBase *a, const ThreadContextBase *b) { in PrintThreadHistory() 35 auto describe_thread = [&](const ThreadContextBase *context) { in PrintThreadHistory() 46 [&](const ThreadContextBase *context) -> const ThreadContextBase * { in PrintThreadHistory() 49 ThreadContextBase *parent = registry.GetThreadLocked(context->parent_tid); in PrintThreadHistory() 57 const ThreadContextBase *prev = nullptr; in PrintThreadHistory() 58 for (const ThreadContextBase *context : stacks) { in PrintThreadHistory()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/lsan/ |
| H A D | lsan_thread.cpp | 33 static ThreadContextBase *CreateThreadContext(u32 tid) { in CreateThreadContext() 52 : ThreadContextBase(tid) {} in ThreadContextLsanBase() 104 [](ThreadContextBase *tctx, void *threads) { in GetRunningThreadsLocked()
|
| H A D | lsan_thread.h | 22 class ThreadContextLsanBase : public ThreadContextBase {
|
| H A D | lsan_fuchsia.cpp | 78 [](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 | 43 static ThreadContextBase *GetMemprofThreadContext(u32 tid) { in GetMemprofThreadContext()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/asan/ |
| H A D | asan_thread.h | 36 class AsanThreadContext final : public ThreadContextBase { 39 : ThreadContextBase(tid), in AsanThreadContext()
|
| H A D | asan_thread.cpp | 51 static ThreadContextBase *GetAsanThreadContext(u32 tid) { in GetAsanThreadContext() 407 static bool ThreadStackContainsAddress(ThreadContextBase *tctx_base, in ThreadStackContainsAddress() 538 [](ThreadContextBase *tctx, void *arg) { in GetThreadExtraStackRangesLocked() 551 [](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() 283 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 | 267 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()
|