Searched refs:kMainTid (Results 1 – 17 of 17) sorted by relevance
| /freebsd/contrib/llvm-project/compiler-rt/lib/lsan/ |
| H A D | lsan_posix.cpp | 53 GetThreadStackAndTls(tid == kMainTid, &args.stack_begin, &args.stack_end, in ThreadStart() 78 u32 tid = ThreadCreate(kMainTid, true); in InitializeMainThread() 79 CHECK_EQ(tid, kMainTid); in InitializeMainThread()
|
| H A D | lsan_thread.cpp | 77 if (GetCurrentThreadId() == kMainTid) in EnsureMainThreadIDIsCorrect()
|
| H A D | lsan_fuchsia.cpp | 71 u32 tid = ThreadCreate(kMainTid, true, &args); in InitializeMainThread()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/memprof/ |
| H A D | memprof_thread.cpp | 155 /* start_routine */ nullptr, /* arg */ nullptr, /* parent_tid */ kMainTid, in CreateMainThread() 168 GetThreadStackAndTls(tid() == kMainTid, &stack_bottom_, &stack_top_, in SetThreadStackAndTls() 209 if (context && (context->tid == kMainTid)) in EnsureMainThreadIDIsCorrect()
|
| H A D | memprof_descriptions.cpp | 47 if (context->tid == kMainTid || context->announced) { in DescribeThread()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/asan/ |
| H A D | asan_thread.cpp | 295 /* parent_tid */ kMainTid, in CreateMainThread() 307 GetThreadStackAndTls(tid() == kMainTid, &stack_bottom_, &stack_top_, in SetThreadStackAndTls() 431 AsanThreadContext *tctx = GetThreadContextByTidLocked(kMainTid); in GetCurrentThread() 468 if (context && (context->tid == kMainTid)) in EnsureMainThreadIDIsCorrect()
|
| H A D | asan_descriptions.cpp | 43 if (context->tid == kMainTid || context->announced) { in DescribeThread()
|
| H A D | asan_allocator.cpp | 529 m->SetAllocContext(t ? t->tid() : kMainTid, StackDepotPut(*stack)); in UpdateAllocationStack() 615 m->SetAllocContext(t ? t->tid() : kMainTid, StackDepotPut(*stack)); in Allocate()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_rtl_thread.cpp | 58 if (tctx->tid == kMainTid) { in ReportIgnoresEnabled() 173 GetThreadStackAndTls(tid == kMainTid, &stk_addr, &stk_end, &tls_addr, in ThreadStart() 195 if (tid != kMainTid) { in ThreadStart()
|
| H A D | tsan_report.cpp | 56 if (tid == kMainTid) in thread_name() 232 if (rt->id == kMainTid) // Little sense in describing the main thread. in PrintThread()
|
| H A D | tsan_platform_mac.cpp | 212 CHECK_NE(tid, kMainTid); in ThreadCreateCallback()
|
| H A D | tsan_rtl_report.cpp | 809 if (parent_tid == kMainTid || parent_tid == kInvalidTid) in ReportRace()
|
| H A D | tsan_rtl.cpp | 751 CHECK_EQ(tid, kMainTid); in Initialize()
|
| H A D | tsan_interceptors_posix.cpp | 1119 p.tid = kMainTid; in TSAN_INTERCEPTOR() 1130 CHECK_NE(p.tid, kMainTid); in TSAN_INTERCEPTOR()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_thread_registry.cpp | 99 if (tid != kMainTid) { in SetCreated()
|
| H A D | sanitizer_internal_defs.h | 449 constexpr Tid kMainTid = 0; variable
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/hwasan/ |
| H A D | hwasan_allocator.cpp | 85 u64 context = t ? t->unique_id() : kMainTid; in SetAllocated()
|