Home
last modified time | relevance | path

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

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_linux_libcdep.cc260 const uptr kThreadSelfOffset = FIRST_32_SECOND_64(8, 16); variable
263 return kThreadSelfOffset; in ThreadSelfOffset()
287 asm("mov %%gs:%c1,%0" : "=r"(descr_addr) : "i"(kThreadSelfOffset)); in ThreadSelf()
289 asm("mov %%fs:%c1,%0" : "=r"(descr_addr) : "i"(kThreadSelfOffset)); in ThreadSelf()
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_linux_libcdep.cpp332 const uptr kThreadSelfOffset = FIRST_32_SECOND_64(8, 16); variable
335 return kThreadSelfOffset; in ThreadSelfOffset()
359 asm("mov %%gs:%c1,%0" : "=r"(descr_addr) : "i"(kThreadSelfOffset)); in ThreadSelf()
361 asm("mov %%fs:%c1,%0" : "=r"(descr_addr) : "i"(kThreadSelfOffset)); in ThreadSelf()