Home
last modified time | relevance | path

Searched refs:kMainTid (Results 1 – 17 of 17) sorted by relevance

/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_posix.cpp55 GetThreadStackAndTls(tid == kMainTid, &args.stack_begin, &stack_size, in ThreadStart()
82 u32 tid = ThreadCreate(kMainTid, true); in InitializeMainThread()
83 CHECK_EQ(tid, kMainTid); in InitializeMainThread()
H A Dlsan_thread.cpp76 if (GetCurrentThreadId() == kMainTid) in EnsureMainThreadIDIsCorrect()
H A Dlsan_fuchsia.cpp66 u32 tid = ThreadCreate(kMainTid, true, &args); in InitializeMainThread()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_thread.cpp158 /* start_routine */ nullptr, /* arg */ nullptr, /* parent_tid */ kMainTid, in CreateMainThread()
173 GetThreadStackAndTls(tid() == kMainTid, &stack_bottom_, &stack_size, in SetThreadStackAndTls()
216 if (context && (context->tid == kMainTid)) in EnsureMainThreadIDIsCorrect()
H A Dmemprof_descriptions.cpp47 if (context->tid == kMainTid || context->announced) { in DescribeThread()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_thread.cpp292 /* parent_tid */ kMainTid, in CreateMainThread()
306 GetThreadStackAndTls(tid() == kMainTid, &stack_bottom_, &stack_size, in SetThreadStackAndTls()
431 AsanThreadContext *tctx = GetThreadContextByTidLocked(kMainTid); in GetCurrentThread()
468 if (context && (context->tid == kMainTid)) in EnsureMainThreadIDIsCorrect()
H A Dasan_descriptions.cpp47 if (context->tid == kMainTid || context->announced) { in DescribeThread()
H A Dasan_allocator.cpp523 m->SetAllocContext(t ? t->tid() : kMainTid, StackDepotPut(*stack)); in UpdateAllocationStack()
609 m->SetAllocContext(t ? t->tid() : kMainTid, StackDepotPut(*stack)); in Allocate()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl_thread.cpp58 if (tctx->tid == kMainTid) { in ReportIgnoresEnabled()
169 GetThreadStackAndTls(tid == kMainTid, &stk_addr, &stk_size, &tls_addr, in ThreadStart()
189 if (tid != kMainTid) { in ThreadStart()
H A Dtsan_report.cpp56 if (tid == kMainTid) in thread_name()
232 if (rt->id == kMainTid) // Little sense in describing the main thread. in PrintThread()
H A Dtsan_platform_mac.cpp212 CHECK_NE(tid, kMainTid); in ThreadCreateCallback()
H A Dtsan_rtl_report.cpp809 if (parent_tid == kMainTid || parent_tid == kInvalidTid) in ReportRace()
H A Dtsan_rtl.cpp730 CHECK_EQ(tid, kMainTid); in Initialize()
H A Dtsan_interceptors_posix.cpp1052 p.tid = kMainTid; in TSAN_INTERCEPTOR()
1063 CHECK_NE(p.tid, kMainTid); in TSAN_INTERCEPTOR()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_thread_registry.cpp90 if (tid != kMainTid) in SetCreated()
H A Dsanitizer_internal_defs.h442 constexpr Tid kMainTid = 0; variable
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_allocator.cpp85 u64 context = t ? t->unique_id() : kMainTid; in SetAllocated()