Home
last modified time | relevance | path

Searched refs:tls_addr (Results 1 – 13 of 13) sorted by relevance

/external/compiler-rt/lib/tsan/rtl/
Dtsan_rtl_thread.cc84 uptr tls_addr; member
96 args->stk_addr, args->stk_size, args->tls_addr, args->tls_size); in OnStarted()
129 args->tls_addr, args->tls_size); in OnStarted()
247 uptr tls_addr = 0; in ThreadStart() local
250 GetThreadStackAndTls(tid == 0, &stk_addr, &stk_size, &tls_addr, &tls_size); in ThreadStart()
256 if (tls_addr && tls_size) { in ThreadStart()
260 CHECK_GE(thr_beg, tls_addr); in ThreadStart()
261 CHECK_LE(thr_beg, tls_addr + tls_size); in ThreadStart()
262 CHECK_GE(thr_end, tls_addr); in ThreadStart()
263 CHECK_LE(thr_end, tls_addr + tls_size); in ThreadStart()
[all …]
Dtsan_rtl.cc113 uptr tls_addr, uptr tls_size) in ThreadState() argument
127 , tls_addr(tls_addr) in ThreadState()
Dtsan_rtl.h381 const uptr tls_addr; member
410 uptr tls_addr, uptr tls_size);
Dtsan_rtl_report.cc229 (addr >= thr->tls_addr && addr < thr->tls_addr + thr->tls_size)); in IsInStackOrTls()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_common_test.cc127 uptr tls_addr = 0; in TestThreadInfo() local
129 GetThreadStackAndTls(main, &stk_addr, &stk_size, &tls_addr, &tls_size); in TestThreadInfo()
139 EXPECT_NE(tls_addr, (uptr)0); in TestThreadInfo()
141 EXPECT_GT((uptr)&thread_var, tls_addr); in TestThreadInfo()
142 EXPECT_LT((uptr)&thread_var, tls_addr + tls_size); in TestThreadInfo()
145 uptr tls_end = tls_addr + tls_size; in TestThreadInfo()
146 EXPECT_TRUE(tls_addr < stk_addr || tls_addr >= stk_addr + stk_size); in TestThreadInfo()
148 EXPECT_TRUE((tls_addr < stk_addr) == (tls_end < stk_addr)); in TestThreadInfo()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_linux_libcdep.cc382 uptr *tls_addr, uptr *tls_size) { in GetThreadStackAndTls() argument
385 *stk_addr = *stk_size = *tls_addr = *tls_size = 0; in GetThreadStackAndTls()
387 GetTls(tls_addr, tls_size); in GetThreadStackAndTls()
396 if (*tls_addr > *stk_addr && *tls_addr < *stk_addr + *stk_size) { in GetThreadStackAndTls()
397 CHECK_GT(*tls_addr + *tls_size, *stk_addr); in GetThreadStackAndTls()
398 CHECK_LE(*tls_addr + *tls_size, *stk_addr + *stk_size); in GetThreadStackAndTls()
400 *tls_addr = *stk_addr + *stk_size; in GetThreadStackAndTls()
Dsanitizer_mac.cc332 uptr *tls_addr, uptr *tls_size) { in GetThreadStackAndTls() argument
338 *tls_addr = 0; in GetThreadStackAndTls()
343 *tls_addr = 0; in GetThreadStackAndTls()
Dsanitizer_win.cc618 uptr *tls_addr, uptr *tls_size) { in GetThreadStackAndTls() argument
622 *tls_addr = 0; in GetThreadStackAndTls()
629 *tls_addr = 0; in GetThreadStackAndTls()
Dsanitizer_common.h78 uptr *tls_addr, uptr *tls_size);
/external/valgrind/coregrind/m_gdbserver/
Dtarget.h218 CORE_ADDR *tls_addr);
Dtarget.c645 CORE_ADDR *tls_addr) in valgrind_get_tls_addr() argument
659 *tls_addr = 0; in valgrind_get_tls_addr()
694 *tls_addr = *(dtv + 2 * modid) + offset; in valgrind_get_tls_addr()
Dserver.c705 Addr tls_addr; in handle_query() local
708 if (valgrind_get_tls_addr(tst, offset, lm, &tls_addr)) { in handle_query()
709 VG_(sprintf) (arg_own_buf, "%lx", tls_addr); in handle_query()
/external/compiler-rt/lib/asan/
Dasan_rtl.cc593 uptr tls_addr, tls_size, stack_size; in __asan_handle_no_return() local
594 GetThreadStackAndTls(/*main=*/false, &bottom, &stack_size, &tls_addr, in __asan_handle_no_return()