Home
last modified time | relevance | path

Searched refs:thread_identity (Results 1 – 3 of 3) sorted by relevance

/netbsd-src/external/gpl3/gcc/dist/libsanitizer/tsan/
H A Dtsan_platform_mac.cpp85 uptr thread_identity = (uptr)pthread_self(); in cur_thread_location() local
86 if (thread_identity == main_thread_identity) in cur_thread_location()
88 return (ThreadState **)MemToShadow(thread_identity); in cur_thread_location()
292 uptr thread_identity = (uptr)pthread_self(); in ImitateTlsWrite() local
295 if (thread_identity == main_thread_identity) { in ImitateTlsWrite()
298 uptr thr_state_start = thread_identity; in ImitateTlsWrite()
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/tsan/
H A Dtsan_platform_mac.cc77 ThreadState **thread_identity = (ThreadState **)pthread_self(); in cur_thread_location() local
78 return ((uptr)thread_identity == main_thread_identity) ? nullptr in cur_thread_location()
79 : thread_identity; in cur_thread_location()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/
H A Dtsan_platform_mac.cc79 ThreadState **thread_identity = (ThreadState **)pthread_self(); in cur_thread_location() local
80 return ((uptr)thread_identity == main_thread_identity) ? nullptr in cur_thread_location()
81 : thread_identity; in cur_thread_location()