/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_common_test.cc | 118 uptr stk_size = 0; local 121 GetThreadStackAndTls(main, &stk_addr, &stk_size, &tls_addr, &tls_size); 125 EXPECT_NE(stk_size, (uptr)0); 127 EXPECT_LT((uptr)&stack_var, stk_addr + stk_size); 138 EXPECT_TRUE(tls_addr < stk_addr || tls_addr >= stk_addr + stk_size); 139 EXPECT_TRUE(tls_end < stk_addr || tls_end >= stk_addr + stk_size);
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_linux_libcdep.cc | 229 void GetThreadStackAndTls(bool main, uptr *stk_addr, uptr *stk_size, 245 *stk_size = stack_top - stack_bottom; 249 if (*tls_addr > *stk_addr && *tls_addr < *stk_addr + *stk_size) { 251 CHECK_LE(*tls_addr + *tls_size, *stk_addr + *stk_size); 252 *stk_size -= *tls_size; 253 *tls_addr = *stk_addr + *stk_size; 258 *stk_size = 0;
|
sanitizer_mac.cc | 357 void GetThreadStackAndTls(bool main, uptr *stk_addr, uptr *stk_size, 363 *stk_size = stack_top - stack_bottom; 368 *stk_size = 0;
|
sanitizer_win.cc | 352 void GetThreadStackAndTls(bool main, uptr *stk_addr, uptr *stk_size, 356 *stk_size = 0; 363 *stk_size = stack_top - stack_bottom;
|
sanitizer_common.h | 50 void GetThreadStackAndTls(bool main, uptr *stk_addr, uptr *stk_size,
|
/external/compiler-rt/lib/tsan/rtl/ |
tsan_rtl_thread.cc | 84 uptr stk_size; member in struct:__tsan::OnStartedArgs 97 epoch0, args->stk_addr, args->stk_size, args->tls_addr, args->tls_size); 119 DPrintf("#%d: ThreadStart epoch=%zu stk_addr=%zx stk_size=%zx " 121 tid, (uptr)epoch0, args->stk_addr, args->stk_size, 216 uptr stk_size = 0; local 219 GetThreadStackAndTls(tid == 0, &stk_addr, &stk_size, &tls_addr, &tls_size); 222 if (stk_addr && stk_size) 223 MemoryRangeImitateWrite(thr, /*pc=*/ 1, stk_addr, stk_size); 240 OnStartedArgs args = { thr, stk_addr, stk_size, tls_addr, tls_size }; 248 if (thr->stk_addr && thr->stk_size) [all...] |
tsan_rtl.cc | 82 uptr stk_addr, uptr stk_size, 96 , stk_size(stk_size)
|
tsan_rtl.h | 441 const uptr stk_size; member in struct:__tsan::ThreadState 460 uptr stk_addr, uptr stk_size,
|
tsan_rtl_report.cc | 244 return ((addr >= thr->stk_addr && addr < thr->stk_addr + thr->stk_size) || 258 *is_stack = (addr >= thr->stk_addr && addr < thr->stk_addr + thr->stk_size);
|