/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_rtl_thread.cc | 83 uptr stk_size; member 96 args->stk_addr, args->stk_size, args->tls_addr, args->tls_size); in OnStarted() 123 tid, (uptr)epoch0, args->stk_addr, args->stk_size, in OnStarted() 234 uptr stk_size = 0; in ThreadStart() local 238 GetThreadStackAndTls(tid == 0, &stk_addr, &stk_size, &tls_addr, &tls_size); in ThreadStart() 241 if (stk_addr && stk_size) in ThreadStart() 242 MemoryRangeImitateWrite(thr, /*pc=*/ 1, stk_addr, stk_size); in ThreadStart() 261 OnStartedArgs args = { thr, stk_addr, stk_size, tls_addr, tls_size }; in ThreadStart() 280 if (thr->stk_addr && thr->stk_size) in ThreadFinish() 281 DontNeedShadowFor(thr->stk_addr, thr->stk_size); in ThreadFinish()
|
D | tsan_rtl.cc | 112 uptr stk_addr, uptr stk_size, in ThreadState() argument 126 , stk_size(stk_size) in ThreadState()
|
D | tsan_rtl.h | 408 const uptr stk_size; member 442 uptr stk_addr, uptr stk_size,
|
D | tsan_rtl_report.cc | 233 return ((addr >= thr->stk_addr && addr < thr->stk_addr + thr->stk_size) || in IsInStackOrTls() 246 *is_stack = (addr >= thr->stk_addr && addr < thr->stk_addr + thr->stk_size); in IsThreadStackOrTls()
|
/external/llvm-project/compiler-rt/lib/tsan/rtl/ |
D | tsan_rtl_thread.cpp | 83 uptr stk_size; member 96 args->stk_addr, args->stk_size, args->tls_addr, args->tls_size); in OnStarted() 123 tid, (uptr)epoch0, args->stk_addr, args->stk_size, in OnStarted() 248 uptr stk_size = 0; in ThreadStart() local 253 GetThreadStackAndTls(tid == 0, &stk_addr, &stk_size, &tls_addr, &tls_size); in ThreadStart() 256 if (stk_addr && stk_size) in ThreadStart() 257 MemoryRangeImitateWrite(thr, /*pc=*/ 1, stk_addr, stk_size); in ThreadStart() 264 OnStartedArgs args = { thr, stk_addr, stk_size, tls_addr, tls_size }; in ThreadStart() 283 if (thr->stk_addr && thr->stk_size) in ThreadFinish() 284 DontNeedShadowFor(thr->stk_addr, thr->stk_size); in ThreadFinish()
|
D | tsan_rtl.cpp | 114 uptr stk_addr, uptr stk_size, in ThreadState() argument 128 , stk_size(stk_size) in ThreadState()
|
D | tsan_rtl_report.cpp | 238 return ((addr >= thr->stk_addr && addr < thr->stk_addr + thr->stk_size) || in IsInStackOrTls() 251 *is_stack = (addr >= thr->stk_addr && addr < thr->stk_addr + thr->stk_size); in IsThreadStackOrTls()
|
D | tsan_rtl.h | 418 const uptr stk_size; member 452 uptr stk_addr, uptr stk_size,
|
/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 | 389 void GetThreadStackAndTls(bool main, uptr *stk_addr, uptr *stk_size, in GetThreadStackAndTls() argument 393 *stk_addr = *stk_size = *tls_addr = *tls_size = 0; in GetThreadStackAndTls() 400 *stk_size = stack_top - stack_bottom; in GetThreadStackAndTls() 404 if (*tls_addr > *stk_addr && *tls_addr < *stk_addr + *stk_size) { in GetThreadStackAndTls() 406 CHECK_LE(*tls_addr + *tls_size, *stk_addr + *stk_size); in GetThreadStackAndTls() 407 *stk_size -= *tls_size; in GetThreadStackAndTls() 408 *tls_addr = *stk_addr + *stk_size; in GetThreadStackAndTls()
|
D | sanitizer_mac.cc | 363 void GetThreadStackAndTls(bool main, uptr *stk_addr, uptr *stk_size, in GetThreadStackAndTls() argument 369 *stk_size = stack_top - stack_bottom; in GetThreadStackAndTls() 374 *stk_size = 0; in GetThreadStackAndTls()
|
D | sanitizer_win.cc | 698 void GetThreadStackAndTls(bool main, uptr *stk_addr, uptr *stk_size, in GetThreadStackAndTls() argument 702 *stk_size = 0; in GetThreadStackAndTls() 709 *stk_size = stack_top - stack_bottom; in GetThreadStackAndTls()
|
D | sanitizer_common.h | 79 void GetThreadStackAndTls(bool main, uptr *stk_addr, uptr *stk_size,
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_common_test.cpp | 181 uptr stk_size = 0; in TestThreadInfo() local 184 GetThreadStackAndTls(main, &stk_addr, &stk_size, &tls_addr, &tls_size); in TestThreadInfo() 188 EXPECT_NE(stk_size, (uptr)0); in TestThreadInfo() 190 EXPECT_LT((uptr)&stack_var, stk_addr + stk_size); in TestThreadInfo() 201 EXPECT_TRUE(tls_addr < stk_addr || tls_addr >= stk_addr + stk_size); in TestThreadInfo() 202 EXPECT_TRUE(tls_end < stk_addr || tls_end >= stk_addr + stk_size); in TestThreadInfo()
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_linux_libcdep.cpp | 534 void GetThreadStackAndTls(bool main, uptr *stk_addr, uptr *stk_size, in GetThreadStackAndTls() argument 538 *stk_addr = *stk_size = *tls_addr = *tls_size = 0; in GetThreadStackAndTls() 545 *stk_size = stack_top - stack_bottom; in GetThreadStackAndTls() 549 if (*tls_addr > *stk_addr && *tls_addr < *stk_addr + *stk_size) { in GetThreadStackAndTls() 551 CHECK_LE(*tls_addr + *tls_size, *stk_addr + *stk_size); in GetThreadStackAndTls() 552 *stk_size -= *tls_size; in GetThreadStackAndTls() 553 *tls_addr = *stk_addr + *stk_size; in GetThreadStackAndTls()
|
D | sanitizer_rtems.cpp | 92 void GetThreadStackAndTls(bool main, uptr *stk_addr, uptr *stk_size, in GetThreadStackAndTls() argument 97 *stk_size = stack_top - stack_bottom; in GetThreadStackAndTls()
|
D | sanitizer_win.cpp | 841 void GetThreadStackAndTls(bool main, uptr *stk_addr, uptr *stk_size, in GetThreadStackAndTls() argument 845 *stk_size = 0; in GetThreadStackAndTls() 852 *stk_size = stack_top - stack_bottom; in GetThreadStackAndTls()
|
D | sanitizer_mac.cpp | 560 void GetThreadStackAndTls(bool main, uptr *stk_addr, uptr *stk_size, in GetThreadStackAndTls() argument 566 *stk_size = stack_top - stack_bottom; in GetThreadStackAndTls() 571 *stk_size = 0; in GetThreadStackAndTls()
|
D | sanitizer_common.h | 89 void GetThreadStackAndTls(bool main, uptr *stk_addr, uptr *stk_size,
|
/external/libabigail/tests/data/test-annotate/ |
D | test15-pr18892.so.abi | 9332 <!-- const __sanitizer::uptr __tsan::ThreadState::stk_size --> 9333 …<var-decl name='stk_size' type-id='type-id-131' visibility='default' filepath='../../.././libsanit… 29652 <!-- const __sanitizer::uptr __tsan::ThreadState::stk_size --> 29653 …<var-decl name='stk_size' type-id='type-id-131' visibility='default' filepath='../../.././libsanit…
|
/external/libabigail/tests/data/test-read-dwarf/ |
D | test15-pr18892.so.abi | 5474 …<var-decl name='stk_size' type-id='type-id-131' visibility='default' filepath='../../.././libsanit… 17361 …<var-decl name='stk_size' type-id='type-id-131' visibility='default' filepath='../../.././libsanit…
|