Lines Matching refs:shadow_stack_pos
422 shadow_stack_pos = shadow_stack; in ThreadState()
879 thr->shadow_stack_pos = newstack + sz; in GrowShadowStack()
891 DCHECK_LT(thr->shadow_stack_pos, thr->shadow_stack_end); in CurrentStackId()
893 if (thr->shadow_stack_pos == thr->shadow_stack_end) in CurrentStackId()
896 thr->shadow_stack_pos[0] = pc; in CurrentStackId()
897 thr->shadow_stack_pos++; in CurrentStackId()
900 StackTrace(thr->shadow_stack, thr->shadow_stack_pos - thr->shadow_stack)); in CurrentStackId()
902 thr->shadow_stack_pos--; in CurrentStackId()
985 uptr* pos = Max(&thr->shadow_stack[0], thr->shadow_stack_pos - kMaxFrames); in TraceSwitchPartImpl()
986 for (; pos < thr->shadow_stack_pos; pos++) { in TraceSwitchPartImpl()
1057 return thr->shadow_stack_pos - thr->shadow_stack; in __tsan_testonly_shadow_stack_current_size()