Home
last modified time | relevance | path

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

/external/compiler-rt/lib/tsan/rtl/
Dtsan_rtl_thread.cc82 uptr tls_addr; member
94 args->stk_addr, args->stk_size, args->tls_addr, args->tls_size); in OnStarted()
127 args->tls_addr, args->tls_size); in OnStarted()
243 uptr tls_addr = 0; in ThreadStart() local
246 GetThreadStackAndTls(tid == 0, &stk_addr, &stk_size, &tls_addr, &tls_size); in ThreadStart()
252 if (tls_addr && tls_size) { in ThreadStart()
256 CHECK_GE(thr_beg, tls_addr); in ThreadStart()
257 CHECK_LE(thr_beg, tls_addr + tls_size); in ThreadStart()
258 CHECK_GE(thr_end, tls_addr); in ThreadStart()
259 CHECK_LE(thr_end, tls_addr + tls_size); in ThreadStart()
[all …]
Dtsan_rtl.cc107 uptr tls_addr, uptr tls_size) in ThreadState() argument
121 , tls_addr(tls_addr) in ThreadState()
Dtsan_rtl.h380 const uptr tls_addr; member
409 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.cc351 uptr *tls_addr, uptr *tls_size) { in GetThreadStackAndTls() argument
354 *stk_addr = *stk_size = *tls_addr = *tls_size = 0; in GetThreadStackAndTls()
356 GetTls(tls_addr, tls_size); in GetThreadStackAndTls()
365 if (*tls_addr > *stk_addr && *tls_addr < *stk_addr + *stk_size) { in GetThreadStackAndTls()
366 CHECK_GT(*tls_addr + *tls_size, *stk_addr); in GetThreadStackAndTls()
367 CHECK_LE(*tls_addr + *tls_size, *stk_addr + *stk_size); in GetThreadStackAndTls()
369 *tls_addr = *stk_addr + *stk_size; in GetThreadStackAndTls()
Dsanitizer_mac.cc266 uptr *tls_addr, uptr *tls_size) { in GetThreadStackAndTls() argument
272 *tls_addr = 0; in GetThreadStackAndTls()
277 *tls_addr = 0; in GetThreadStackAndTls()
Dsanitizer_win.cc527 uptr *tls_addr, uptr *tls_size) { in GetThreadStackAndTls() argument
531 *tls_addr = 0; in GetThreadStackAndTls()
538 *tls_addr = 0; in GetThreadStackAndTls()
Dsanitizer_common.h67 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.c693 Addr tls_addr; in handle_query() local
696 if (valgrind_get_tls_addr(tst, offset, lm, &tls_addr)) { in handle_query()
697 VG_(sprintf) (arg_own_buf, "%lx", tls_addr); in handle_query()