Home
last modified time | relevance | path

Searched defs:tctx (Results 1 – 20 of 20) sorted by relevance

/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_thread_registry.cpp140 ThreadContextBase *tctx = QuarantinePop(); in CreateThread() local
182 ThreadContextBase *tctx = threads_[tid]; in RunCallbackForEachThreadLocked() local
192 ThreadContextBase *tctx = threads_[tid]; in FindThread() local
203 ThreadContextBase *tctx = threads_[tid]; in FindThreadContextLocked() local
223 ThreadContextBase *tctx = threads_[tid]; in SetThreadName() local
238 ThreadContextBase *tctx = threads_[tid]; in DetachThread() local
287 ThreadContextBase *tctx = threads_[tid]; in FinishThread() local
314 ThreadContextBase *tctx = threads_[tid]; in StartThread() local
351 auto *tctx = threads_[tid]; in ConsumeThreadUserId() local
359 ThreadContextBase *tctx = threads_[tid]; in SetThreadUserId() local
[all …]
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl_report.cpp206 void ScopedReportBase::AddThread(const ThreadContext *tctx, bool suppressable) { in AddThread()
234 ThreadContext *tctx = static_cast<ThreadContext*>(tctx_base); in IsInStackOrTls() local
245 ThreadContext *tctx = in IsThreadStackOrTls() local
259 if (const ThreadContext *tctx = FindThreadByTidLocked(tid)) in AddThread() local
291 ThreadContext *tctx = FindThreadByTidLocked(creat_tid); in AddLocation() local
315 if (ThreadContext *tctx = FindThreadByTidLocked(b->tid)) in AddLocation() local
320 if (ThreadContext *tctx = IsThreadStackOrTls(addr, &is_stack)) { in AddLocation() local
459 ThreadContext *tctx = in RestoreStack() local
799 ThreadContext *tctx = static_cast<ThreadContext *>( in ReportRace() local
H A Dtsan_rtl_thread.cpp35 ThreadContext *tctx; member
41 auto *tctx = static_cast<ThreadContext *>(tctx_base); in CollectThreadLeaks() local
57 static void ReportIgnoresEnabled(ThreadContext *tctx, IgnoreSet *set) { in ReportIgnoresEnabled()
281 ThreadContextBase *tctx; member
H A Dtsan_debugging.cpp219 ThreadContext *tctx = IsThreadStackOrTls(addr, &is_stack); in __tsan_locate_address() local
255 ThreadContextBase *tctx = ctx->thread_registry.GetThreadLocked(b->tid); in __tsan_get_alloc_stack() local
H A Dtsan_rtl.cpp143 ThreadContext* tctx = (ThreadContext*)ctx->thread_registry.GetThreadLocked( in DoResetImpl() local
H A Dtsan_rtl.h204 ThreadContext *tctx; member
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/
H A Dtsan_rtl_report.cpp202 void ScopedReportBase::AddThread(const ThreadContext *tctx, bool suppressable) { in AddThread()
222 static bool FindThreadByUidLockedCallback(ThreadContextBase *tctx, void *arg) { in FindThreadByUidLockedCallback()
242 ThreadContext *tctx = static_cast<ThreadContext*>(tctx_base); in IsInStackOrTls() local
253 ThreadContext *tctx = in IsThreadStackOrTls() local
267 if (const ThreadContext *tctx = FindThreadByUidLocked(unique_tid)) in AddThread() local
330 ThreadContext *tctx = FindThreadByUidLocked(creat_tid); in AddLocation() local
346 ThreadContext *tctx = FindThreadByTidLocked(b->tid); in AddLocation() local
360 if (ThreadContext *tctx = IsThreadStackOrTls(addr, &is_stack)) { in AddLocation() local
546 ThreadContext *tctx = in RestoreStack() local
927 ThreadContext *tctx = static_cast<ThreadContext *>( in ReportRace() local
H A Dtsan_rtl_thread.cpp41 ThreadContext *tctx; member
47 auto *tctx = static_cast<ThreadContext *>(tctx_base); in CollectThreadLeaks() local
61 static void ReportIgnoresEnabled(ThreadContext *tctx, IgnoreSet *set) { in ReportIgnoresEnabled()
270 ThreadContextBase *tctx; member
H A Dtsan_debugging.cpp219 ThreadContext *tctx = IsThreadStackOrTls(addr, &is_stack); in __tsan_locate_address() local
255 ThreadContextBase *tctx = ctx->thread_registry.GetThreadLocked(b->tid); in __tsan_get_alloc_stack() local
H A Dtsan_rtl_mutex.cpp416 ThreadContext *tctx = static_cast<ThreadContext*>(tctx_base); in UpdateClockCallback() local
472 ThreadContext *tctx = static_cast<ThreadContext*>(tctx_base); in UpdateSleepClockCallback() local
H A Dtsan_rtl.h186 ThreadContext *tctx; member
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_thread_registry_test.cpp51 static bool HasName(ThreadContextBase *tctx, void *arg) { in HasName()
56 static bool HasUid(ThreadContextBase *tctx, void *arg) { in HasUid()
61 static void MarkUidAsPresent(ThreadContextBase *tctx, void *arg) { in MarkUidAsPresent()
/llvm-project-15.0.7/compiler-rt/lib/asan/
H A Dasan_thread.cpp408 AsanThreadContext *tctx = static_cast<AsanThreadContext *>(tctx_base); in ThreadStackContainsAddress() local
430 AsanThreadContext *tctx = GetThreadContextByTidLocked(kMainTid); in GetCurrentThread() local
458 AsanThreadContext *tctx = static_cast<AsanThreadContext *>( in FindThreadByStackAddress() local
H A Dasan_stats.cpp76 AsanThreadContext *tctx = static_cast<AsanThreadContext*>(tctx_base); in MergeThreadStats() local
H A Dasan_allocator.cpp1156 void GetAdditionalThreadContextPtrs(ThreadContextBase *tctx, void *ptrs) { in GetAdditionalThreadContextPtrs()
/llvm-project-15.0.7/compiler-rt/lib/memprof/
H A Dmemprof_stats.cpp76 MemprofThreadContext *tctx = static_cast<MemprofThreadContext *>(tctx_base); in MergeThreadStats() local
/llvm-project-15.0.7/compiler-rt/lib/lsan/
H A Dlsan_fuchsia.cpp72 [](ThreadContextBase *tctx, void *arg) { in GetAllThreadAllocatorCachesLocked()
H A Dlsan_common_fuchsia.cpp150 [](ThreadContextBase *tctx, void *arg) { in LockStuffAndStopTheWorld()
H A Dlsan_allocator.cpp322 void GetAdditionalThreadContextPtrs(ThreadContextBase *tctx, void *ptrs) { in GetAdditionalThreadContextPtrs()
H A Dlsan_common.cpp640 static void ReportIfNotSuspended(ThreadContextBase *tctx, void *arg) { in ReportIfNotSuspended()