Searched defs:stk_addr (Results 1 - 7 of 7) sorted by relevance

/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_common_test.cc125 uptr stk_addr = 0; local
129 GetThreadStackAndTls(main, &stk_addr, &stk_size, &tls_addr, &tls_size);
132 EXPECT_NE(stk_addr, (uptr)0);
134 EXPECT_GT((uptr)&stack_var, stk_addr);
135 EXPECT_LT((uptr)&stack_var, stk_addr + stk_size);
146 EXPECT_TRUE(tls_addr < stk_addr || tls_addr >= stk_addr + stk_size);
147 EXPECT_TRUE(tls_end < stk_addr || tls_end >= stk_addr + stk_size);
148 EXPECT_TRUE((tls_addr < stk_addr)
[all...]
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl_thread.cc82 uptr stk_addr; member in struct:__tsan::OnStartedArgs
96 args->stk_addr, args->stk_size, args->tls_addr, args->tls_size);
126 DPrintf("#%d: ThreadStart epoch=%zu stk_addr=%zx stk_size=%zx "
128 tid, (uptr)epoch0, args->stk_addr, args->stk_size,
245 uptr stk_addr = 0; local
250 GetThreadStackAndTls(tid == 0, &stk_addr, &stk_size, &tls_addr, &tls_size);
253 if (stk_addr && stk_size)
254 MemoryRangeImitateWrite(thr, /*pc=*/ 1, stk_addr, stk_size);
273 OnStartedArgs args = { thr, stk_addr, stk_size, tls_addr, tls_size };
292 if (thr->stk_addr
[all...]
H A Dtsan_rtl.cc112 uptr stk_addr, uptr stk_size,
125 , stk_addr(stk_addr)
110 ThreadState(Context *ctx, int tid, int unique_id, u64 epoch, unsigned reuse_count, uptr stk_addr, uptr stk_size, uptr tls_addr, uptr tls_size) argument
H A Dtsan_rtl.h379 const uptr stk_addr; member in struct:__tsan::ThreadState
409 uptr stk_addr, uptr stk_size,
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_linux_libcdep.cc381 void GetThreadStackAndTls(bool main, uptr *stk_addr, uptr *stk_size, argument
385 *stk_addr = *stk_size = *tls_addr = *tls_size = 0;
391 *stk_addr = stack_bottom;
396 if (*tls_addr > *stk_addr && *tls_addr < *stk_addr + *stk_size) {
397 CHECK_GT(*tls_addr + *tls_size, *stk_addr);
398 CHECK_LE(*tls_addr + *tls_size, *stk_addr + *stk_size);
400 *tls_addr = *stk_addr + *stk_size;
H A Dsanitizer_mac.cc331 void GetThreadStackAndTls(bool main, uptr *stk_addr, uptr *stk_size, argument
336 *stk_addr = stack_bottom;
341 *stk_addr = 0;
H A Dsanitizer_win.cc617 void GetThreadStackAndTls(bool main, uptr *stk_addr, uptr *stk_size, argument
620 *stk_addr = 0;
627 *stk_addr = stack_bottom;

Completed in 171 milliseconds