Lines Matching refs:stack_top
42 static inline bool IsValidFrame(uptr frame, uptr stack_top, uptr stack_bottom) { in IsValidFrame() argument
43 return frame > stack_bottom && frame < stack_top - 2 * sizeof (uhwptr); in IsValidFrame()
50 uptr stack_top, in GetCanonicFrame() argument
53 if (!IsValidFrame(bp, stack_top, stack_bottom)) return 0; in GetCanonicFrame()
55 if (IsValidFrame((uptr)bp_prev[0], stack_top, stack_bottom)) return bp_prev; in GetCanonicFrame()
58 if (IsValidFrame((uptr)bp_prev[-1], stack_top, stack_bottom)) in GetCanonicFrame()
70 void BufferedStackTrace::FastUnwindStack(uptr pc, uptr bp, uptr stack_top, in FastUnwindStack() argument
75 if (stack_top < 4096) return; // Sanity check for stack top. in FastUnwindStack()
76 uhwptr *frame = GetCanonicFrame(bp, stack_top, stack_bottom); in FastUnwindStack()
81 while (IsValidFrame((uptr)frame, stack_top, bottom) && in FastUnwindStack()
89 frame = GetCanonicFrame((uptr)frame[0], stack_top, bottom); in FastUnwindStack()