Home
last modified time | relevance | path

Searched refs:tls_addr (Results 1 – 11 of 11) 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()
124 args->tls_addr, args->tls_size); in OnStarted()
235 uptr tls_addr = 0; in ThreadStart() local
238 GetThreadStackAndTls(tid == 0, &stk_addr, &stk_size, &tls_addr, &tls_size); in ThreadStart()
244 if (tls_addr && tls_size) { in ThreadStart()
248 CHECK_GE(thr_beg, tls_addr); in ThreadStart()
249 CHECK_LE(thr_beg, tls_addr + tls_size); in ThreadStart()
250 CHECK_GE(thr_end, tls_addr); in ThreadStart()
251 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.h409 const uptr tls_addr; member
443 uptr tls_addr, uptr tls_size);
Dtsan_rtl_report.cc234 (addr >= thr->tls_addr && addr < thr->tls_addr + thr->tls_size)); in IsInStackOrTls()
Dtsan_interceptors.cc2405 DTLS::DTV *dtv = DTLS_on_tls_get_addr(arg, res, thr->tls_addr, thr->tls_size); in TSAN_INTERCEPTOR()
/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.cc390 uptr *tls_addr, uptr *tls_size) { in GetThreadStackAndTls() argument
393 *stk_addr = *stk_size = *tls_addr = *tls_size = 0; in GetThreadStackAndTls()
395 GetTls(tls_addr, tls_size); in GetThreadStackAndTls()
404 if (*tls_addr > *stk_addr && *tls_addr < *stk_addr + *stk_size) { in GetThreadStackAndTls()
405 CHECK_GT(*tls_addr + *tls_size, *stk_addr); in GetThreadStackAndTls()
406 CHECK_LE(*tls_addr + *tls_size, *stk_addr + *stk_size); in GetThreadStackAndTls()
408 *tls_addr = *stk_addr + *stk_size; in GetThreadStackAndTls()
Dsanitizer_mac.cc364 uptr *tls_addr, uptr *tls_size) { in GetThreadStackAndTls() argument
370 *tls_addr = 0; in GetThreadStackAndTls()
375 *tls_addr = 0; in GetThreadStackAndTls()
Dsanitizer_win.cc699 uptr *tls_addr, uptr *tls_size) { in GetThreadStackAndTls() argument
703 *tls_addr = 0; in GetThreadStackAndTls()
710 *tls_addr = 0; in GetThreadStackAndTls()
Dsanitizer_common.h80 uptr *tls_addr, uptr *tls_size);
/external/compiler-rt/lib/asan/
Dasan_rtl.cc611 uptr tls_addr, tls_size, stack_size; in __asan_handle_no_return() local
612 GetThreadStackAndTls(/*main=*/false, &bottom, &stack_size, &tls_addr, in __asan_handle_no_return()