/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_rtl_thread.cc | 84 uptr tls_addr; member 96 args->stk_addr, args->stk_size, args->tls_addr, args->tls_size); in OnStarted() 129 args->tls_addr, args->tls_size); in OnStarted() 247 uptr tls_addr = 0; in ThreadStart() local 250 GetThreadStackAndTls(tid == 0, &stk_addr, &stk_size, &tls_addr, &tls_size); in ThreadStart() 256 if (tls_addr && tls_size) { in ThreadStart() 260 CHECK_GE(thr_beg, tls_addr); in ThreadStart() 261 CHECK_LE(thr_beg, tls_addr + tls_size); in ThreadStart() 262 CHECK_GE(thr_end, tls_addr); in ThreadStart() 263 CHECK_LE(thr_end, tls_addr + tls_size); in ThreadStart() [all …]
|
D | tsan_rtl.cc | 113 uptr tls_addr, uptr tls_size) in ThreadState() argument 127 , tls_addr(tls_addr) in ThreadState()
|
D | tsan_rtl.h | 381 const uptr tls_addr; member 410 uptr tls_addr, uptr tls_size);
|
D | tsan_rtl_report.cc | 229 (addr >= thr->tls_addr && addr < thr->tls_addr + thr->tls_size)); in IsInStackOrTls()
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_common_test.cc | 127 uptr tls_addr = 0; in TestThreadInfo() local 129 GetThreadStackAndTls(main, &stk_addr, &stk_size, &tls_addr, &tls_size); in TestThreadInfo() 139 EXPECT_NE(tls_addr, (uptr)0); in TestThreadInfo() 141 EXPECT_GT((uptr)&thread_var, tls_addr); in TestThreadInfo() 142 EXPECT_LT((uptr)&thread_var, tls_addr + tls_size); in TestThreadInfo() 145 uptr tls_end = tls_addr + tls_size; in TestThreadInfo() 146 EXPECT_TRUE(tls_addr < stk_addr || tls_addr >= stk_addr + stk_size); in TestThreadInfo() 148 EXPECT_TRUE((tls_addr < stk_addr) == (tls_end < stk_addr)); in TestThreadInfo()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_linux_libcdep.cc | 382 uptr *tls_addr, uptr *tls_size) { in GetThreadStackAndTls() argument 385 *stk_addr = *stk_size = *tls_addr = *tls_size = 0; in GetThreadStackAndTls() 387 GetTls(tls_addr, tls_size); in GetThreadStackAndTls() 396 if (*tls_addr > *stk_addr && *tls_addr < *stk_addr + *stk_size) { in GetThreadStackAndTls() 397 CHECK_GT(*tls_addr + *tls_size, *stk_addr); in GetThreadStackAndTls() 398 CHECK_LE(*tls_addr + *tls_size, *stk_addr + *stk_size); in GetThreadStackAndTls() 400 *tls_addr = *stk_addr + *stk_size; in GetThreadStackAndTls()
|
D | sanitizer_mac.cc | 332 uptr *tls_addr, uptr *tls_size) { in GetThreadStackAndTls() argument 338 *tls_addr = 0; in GetThreadStackAndTls() 343 *tls_addr = 0; in GetThreadStackAndTls()
|
D | sanitizer_win.cc | 618 uptr *tls_addr, uptr *tls_size) { in GetThreadStackAndTls() argument 622 *tls_addr = 0; in GetThreadStackAndTls() 629 *tls_addr = 0; in GetThreadStackAndTls()
|
D | sanitizer_common.h | 78 uptr *tls_addr, uptr *tls_size);
|
/external/valgrind/coregrind/m_gdbserver/ |
D | target.h | 218 CORE_ADDR *tls_addr);
|
D | target.c | 645 CORE_ADDR *tls_addr) in valgrind_get_tls_addr() argument 659 *tls_addr = 0; in valgrind_get_tls_addr() 694 *tls_addr = *(dtv + 2 * modid) + offset; in valgrind_get_tls_addr()
|
D | server.c | 705 Addr tls_addr; in handle_query() local 708 if (valgrind_get_tls_addr(tst, offset, lm, &tls_addr)) { in handle_query() 709 VG_(sprintf) (arg_own_buf, "%lx", tls_addr); in handle_query()
|
/external/compiler-rt/lib/asan/ |
D | asan_rtl.cc | 593 uptr tls_addr, tls_size, stack_size; in __asan_handle_no_return() local 594 GetThreadStackAndTls(/*main=*/false, &bottom, &stack_size, &tls_addr, in __asan_handle_no_return()
|