Lines Matching refs:shadow_stack
155 shadow_stack_pos = shadow_stack; in ThreadState()
156 shadow_stack_end = shadow_stack + kShadowStackSize; in ThreadState()
160 shadow_stack = (uptr *)Alloc(kInitStackSize * sizeof(uptr)); in ThreadState()
161 shadow_stack_pos = shadow_stack; in ThreadState()
162 shadow_stack_end = shadow_stack + kInitStackSize; in ThreadState()
543 const int sz = thr->shadow_stack_end - thr->shadow_stack; in GrowShadowStack()
546 internal_memcpy(newstack, thr->shadow_stack, sz * sizeof(uptr)); in GrowShadowStack()
547 Free(thr->shadow_stack); in GrowShadowStack()
548 thr->shadow_stack = newstack; in GrowShadowStack()
568 StackTrace(thr->shadow_stack, thr->shadow_stack_pos - thr->shadow_stack)); in CurrentStackId()
628 for (uptr *pos = &thr->shadow_stack[0]; pos < thr->shadow_stack_pos; pos++) in TraceSwitchPart()
708 return thr->shadow_stack_pos - thr->shadow_stack; in __tsan_testonly_shadow_stack_current_size()