Home
last modified time | relevance | path

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

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_linux_libcdep.cc285 uptr descr_addr; in ThreadSelf() local
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()
301 descr_addr = thread_pointer - kTlsTcbOffset - TlsPreTcbSize(); in ThreadSelf()
303 descr_addr = reinterpret_cast<uptr>(__builtin_thread_pointer()); in ThreadSelf()
312 descr_addr = thread_pointer - TlsPreTcbSize(); in ThreadSelf()
316 return descr_addr; in ThreadSelf()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_linux_test.cc216 uptr descr_addr = ThreadSelf(); in thread_descriptor_size_test_func() local
222 return (void *)((uptr)stackaddr + stacksize - descr_addr); in thread_descriptor_size_test_func()