/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_common_test.cc | 127 uptr tls_addr = 0; local 129 GetThreadStackAndTls(main, &stk_addr, &stk_size, &tls_addr, &tls_size); 139 EXPECT_NE(tls_addr, (uptr)0); 141 EXPECT_GT((uptr)&thread_var, tls_addr); 142 EXPECT_LT((uptr)&thread_var, tls_addr + tls_size); 145 uptr tls_end = tls_addr + tls_size; 146 EXPECT_TRUE(tls_addr < stk_addr || tls_addr >= stk_addr + stk_size); 148 EXPECT_TRUE((tls_addr < stk_addr) == (tls_end < stk_addr));
|
/external/compiler-rt/lib/asan/ |
asan_rtl.cc | 611 uptr tls_addr, tls_size, stack_size; local 612 GetThreadStackAndTls(/*main=*/false, &bottom, &stack_size, &tls_addr,
|
/external/compiler-rt/lib/tsan/rtl/ |
tsan_rtl_thread.cc | 84 uptr tls_addr; member in struct:__tsan::OnStartedArgs 96 args->stk_addr, args->stk_size, args->tls_addr, args->tls_size); 122 "tls_addr=%zx tls_size=%zx\n", 124 args->tls_addr, args->tls_size); 235 uptr tls_addr = 0; local 238 GetThreadStackAndTls(tid == 0, &stk_addr, &stk_size, &tls_addr, &tls_size); 244 if (tls_addr && tls_size) { 248 CHECK_GE(thr_beg, tls_addr); 249 CHECK_LE(thr_beg, tls_addr + tls_size); 250 CHECK_GE(thr_end, tls_addr); [all...] |
tsan_rtl.h | 409 const uptr tls_addr; member in struct:__tsan::ThreadState 443 uptr tls_addr, uptr tls_size);
|