Home
last modified time | relevance | path

Searched refs:get_android_tls_ptr (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/
H A Dtsan_platform_linux.cpp489 ThreadState* thr = reinterpret_cast<ThreadState*>(*get_android_tls_ptr()); in cur_thread()
495 thr = reinterpret_cast<ThreadState*>(*get_android_tls_ptr()); in cur_thread()
499 *get_android_tls_ptr() = reinterpret_cast<uptr>(thr); in cur_thread()
517 *get_android_tls_ptr() = reinterpret_cast<uptr>(thr); in set_cur_thread()
525 ThreadState* thr = reinterpret_cast<ThreadState*>(*get_android_tls_ptr()); in cur_thread_finalize()
527 *get_android_tls_ptr() = reinterpret_cast<uptr>(dead_thread_state); in cur_thread_finalize()
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/
H A Dtsan_platform_linux.cpp497 ThreadState* thr = reinterpret_cast<ThreadState*>(*get_android_tls_ptr()); in cur_thread()
503 thr = reinterpret_cast<ThreadState*>(*get_android_tls_ptr()); in cur_thread()
507 *get_android_tls_ptr() = reinterpret_cast<uptr>(thr); in cur_thread()
525 *get_android_tls_ptr() = reinterpret_cast<uptr>(thr); in set_cur_thread()
533 ThreadState* thr = reinterpret_cast<ThreadState*>(*get_android_tls_ptr()); in cur_thread_finalize()
535 *get_android_tls_ptr() = reinterpret_cast<uptr>(dead_thread_state); in cur_thread_finalize()
/llvm-project-15.0.7/compiler-rt/lib/scudo/
H A Dscudo_tsd_shared.inc28 return reinterpret_cast<ScudoTSD *>(*get_android_tls_ptr());
H A Dscudo_tsd_shared.cpp52 *get_android_tls_ptr() = reinterpret_cast<uptr>(TSD); in setCurrentTSD()
/llvm-project-15.0.7/compiler-rt/lib/hwasan/
H A Dhwasan_linux.cpp299 uptr *GetCurrentThreadLongPtr() { return (uptr *)get_android_tls_ptr(); } in GetCurrentThreadLongPtr()
311 if (*(uptr *)get_android_tls_ptr() != kMagicValue) { in AndroidTestTlsSlot()
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_linux.h170 ALWAYS_INLINE uptr *get_android_tls_ptr() { in get_android_tls_ptr() function