Searched refs:tls_addr (Results 1 – 11 of 11) sorted by relevance
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_rtl_thread.cc | 84 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 …]
|
D | tsan_rtl.cc | 113 uptr tls_addr, uptr tls_size) in ThreadState() argument 127 , tls_addr(tls_addr) in ThreadState()
|
D | tsan_rtl.h | 409 const uptr tls_addr; member 443 uptr tls_addr, uptr tls_size);
|
D | tsan_rtl_report.cc | 234 (addr >= thr->tls_addr && addr < thr->tls_addr + thr->tls_size)); in IsInStackOrTls()
|
D | tsan_interceptors.cc | 2405 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/ |
D | sanitizer_common_test.cc | 127 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/ |
D | sanitizer_linux_libcdep.cc | 390 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()
|
D | sanitizer_mac.cc | 364 uptr *tls_addr, uptr *tls_size) { in GetThreadStackAndTls() argument 370 *tls_addr = 0; in GetThreadStackAndTls() 375 *tls_addr = 0; in GetThreadStackAndTls()
|
D | sanitizer_win.cc | 699 uptr *tls_addr, uptr *tls_size) { in GetThreadStackAndTls() argument 703 *tls_addr = 0; in GetThreadStackAndTls() 710 *tls_addr = 0; in GetThreadStackAndTls()
|
D | sanitizer_common.h | 80 uptr *tls_addr, uptr *tls_size);
|
/external/compiler-rt/lib/asan/ |
D | asan_rtl.cc | 611 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()
|