Home
last modified time | relevance | path

Searched refs:__get_tls (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_linux.h122 # define __get_tls() \ macro
125 # define __get_tls() \ macro
130 # define __get_tls() \ macro
138 # define __get_tls() \ macro
141 # define __get_tls() \ macro
153 return reinterpret_cast<uptr *>(&__get_tls()[TLS_SLOT_SANITIZER]); in get_android_tls_ptr()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_platform_linux.cc339 # define __get_tls() \ macro
342 # define __get_tls() \ macro
356 ThreadState* thr = (ThreadState*)__get_tls()[TLS_SLOT_TSAN]; in cur_thread()
362 thr = reinterpret_cast<ThreadState*>(__get_tls()[TLS_SLOT_TSAN]); in cur_thread()
366 __get_tls()[TLS_SLOT_TSAN] = thr; in cur_thread()
388 ThreadState* thr = (ThreadState*)__get_tls()[TLS_SLOT_TSAN]; in cur_thread_finalize()
390 __get_tls()[TLS_SLOT_TSAN] = dead_thread_state; in cur_thread_finalize()