Searched refs:stk_size (Results 1 – 9 of 9) sorted by relevance
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_rtl_thread.cc | 81 uptr stk_size; member 94 args->stk_addr, args->stk_size, args->tls_addr, args->tls_size); in OnStarted() 126 tid, (uptr)epoch0, args->stk_addr, args->stk_size, in OnStarted() 242 uptr stk_size = 0; in ThreadStart() local 246 GetThreadStackAndTls(tid == 0, &stk_addr, &stk_size, &tls_addr, &tls_size); in ThreadStart() 249 if (stk_addr && stk_size) in ThreadStart() 250 MemoryRangeImitateWrite(thr, /*pc=*/ 1, stk_addr, stk_size); in ThreadStart() 269 OnStartedArgs args = { thr, stk_addr, stk_size, tls_addr, tls_size }; in ThreadStart() 288 if (thr->stk_addr && thr->stk_size) in ThreadFinish() 289 DontNeedShadowFor(thr->stk_addr, thr->stk_size); in ThreadFinish()
|
D | tsan_rtl.cc | 106 uptr stk_addr, uptr stk_size, in ThreadState() argument 120 , stk_size(stk_size) in ThreadState()
|
D | tsan_rtl.h | 379 const uptr stk_size; member 408 uptr stk_addr, uptr stk_size,
|
D | tsan_rtl_report.cc | 228 return ((addr >= thr->stk_addr && addr < thr->stk_addr + thr->stk_size) || in IsInStackOrTls() 241 *is_stack = (addr >= thr->stk_addr && addr < thr->stk_addr + thr->stk_size); in IsThreadStackOrTls()
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_common_test.cc | 126 uptr stk_size = 0; in TestThreadInfo() local 129 GetThreadStackAndTls(main, &stk_addr, &stk_size, &tls_addr, &tls_size); in TestThreadInfo() 133 EXPECT_NE(stk_size, (uptr)0); in TestThreadInfo() 135 EXPECT_LT((uptr)&stack_var, stk_addr + stk_size); in TestThreadInfo() 146 EXPECT_TRUE(tls_addr < stk_addr || tls_addr >= stk_addr + stk_size); in TestThreadInfo() 147 EXPECT_TRUE(tls_end < stk_addr || tls_end >= stk_addr + stk_size); in TestThreadInfo()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_linux_libcdep.cc | 350 void GetThreadStackAndTls(bool main, uptr *stk_addr, uptr *stk_size, in GetThreadStackAndTls() argument 354 *stk_addr = *stk_size = *tls_addr = *tls_size = 0; in GetThreadStackAndTls() 361 *stk_size = stack_top - stack_bottom; in GetThreadStackAndTls() 365 if (*tls_addr > *stk_addr && *tls_addr < *stk_addr + *stk_size) { in GetThreadStackAndTls() 367 CHECK_LE(*tls_addr + *tls_size, *stk_addr + *stk_size); in GetThreadStackAndTls() 368 *stk_size -= *tls_size; in GetThreadStackAndTls() 369 *tls_addr = *stk_addr + *stk_size; in GetThreadStackAndTls()
|
D | sanitizer_mac.cc | 265 void GetThreadStackAndTls(bool main, uptr *stk_addr, uptr *stk_size, in GetThreadStackAndTls() argument 271 *stk_size = stack_top - stack_bottom; in GetThreadStackAndTls() 276 *stk_size = 0; in GetThreadStackAndTls()
|
D | sanitizer_win.cc | 526 void GetThreadStackAndTls(bool main, uptr *stk_addr, uptr *stk_size, in GetThreadStackAndTls() argument 530 *stk_size = 0; in GetThreadStackAndTls() 537 *stk_size = stack_top - stack_bottom; in GetThreadStackAndTls()
|
D | sanitizer_common.h | 66 void GetThreadStackAndTls(bool main, uptr *stk_addr, uptr *stk_size,
|