/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_common_test.cc | 119 uptr tls_addr = 0; local 121 GetThreadStackAndTls(main, &stk_addr, &stk_size, &tls_addr, &tls_size); 131 EXPECT_NE(tls_addr, (uptr)0); 133 EXPECT_GT((uptr)&thread_var, tls_addr); 134 EXPECT_LT((uptr)&thread_var, tls_addr + tls_size); 137 uptr tls_end = tls_addr + tls_size; 138 EXPECT_TRUE(tls_addr < stk_addr || tls_addr >= stk_addr + stk_size); 140 EXPECT_TRUE((tls_addr < stk_addr) == (tls_end < stk_addr));
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_linux_libcdep.cc | 230 uptr *tls_addr, uptr *tls_size) { 233 *tls_addr = ThreadSelf(); 235 *tls_addr -= *tls_size; 236 *tls_addr += kThreadDescriptorSize; 238 *tls_addr = 0; 249 if (*tls_addr > *stk_addr && *tls_addr < *stk_addr + *stk_size) { 250 CHECK_GT(*tls_addr + *tls_size, *stk_addr); 251 CHECK_LE(*tls_addr + *tls_size, *stk_addr + *stk_size); 253 *tls_addr = *stk_addr + *stk_size [all...] |
sanitizer_mac.cc | 358 uptr *tls_addr, uptr *tls_size) { 364 *tls_addr = 0; 369 *tls_addr = 0;
|
sanitizer_win.cc | 353 uptr *tls_addr, uptr *tls_size) { 357 *tls_addr = 0; 364 *tls_addr = 0;
|
sanitizer_common.h | 51 uptr *tls_addr, uptr *tls_size);
|
/external/compiler-rt/lib/tsan/rtl/ |
tsan_rtl_thread.cc | 85 uptr tls_addr; member in struct:__tsan::OnStartedArgs 97 epoch0, args->stk_addr, args->stk_size, args->tls_addr, args->tls_size); 120 "tls_addr=%zx tls_size=%zx\n", 122 args->tls_addr, args->tls_size); 217 uptr tls_addr = 0; local 219 GetThreadStackAndTls(tid == 0, &stk_addr, &stk_size, &tls_addr, &tls_size); 225 if (tls_addr && tls_size) { 229 CHECK_GE(thr_beg, tls_addr); 230 CHECK_LE(thr_beg, tls_addr + tls_size); 231 CHECK_GE(thr_end, tls_addr); [all...] |
tsan_rtl.cc | 83 uptr tls_addr, uptr tls_size) 97 , tls_addr(tls_addr)
|
tsan_rtl.h | 442 const uptr tls_addr; member in struct:__tsan::ThreadState 461 uptr tls_addr, uptr tls_size);
|
tsan_rtl_report.cc | 245 (addr >= thr->tls_addr && addr < thr->tls_addr + thr->tls_size));
|