Lines Matching full:stack
18 // Define a template class for the stack frame. The template parameter
74 int mTop; // index of the next stack frame to write
91 // on the stack.
95 // stack.
217 // If the stack is now empty, then push the current function.
319 // return. We don't necessarily have a complete call stack (since
387 // Check for stack overflow
389 // Don't show the stack by default because this generates a lot
395 fprintf(stderr, "Error: stack overflow (%d frames)\n", mTop);
411 // to false matches when searching the stack.
417 // For debugging only. Show the stack before entering the kernel
420 printf("stack before entering exception\n");
425 // If the top of stack is a vector table, then pop it
443 // The following code cleans up the stack by popping the
465 // If the next stack
482 // stack frame so that we know where to return when the exception
488 // the stack so that we don't pop it off until we get a matching
501 // Check for stack overflow
504 fprintf(stderr, "too many stack frames (%d)\n", mTop);
531 // If the stack is empty, then allow more native frames.
557 // Search backward on the stack for a matching return address.
558 // The most common case is that we pop one stack frame, but
564 // We found a matching return address on the stack.
568 // If this stack frame caused an exception, then do not pop
569 // this stack frame.
585 // If we didn't find a matching return address then search the stack
590 // Compare the function with the one in the stack frame.
604 // If this stack frame caused an exception, then do not pop
605 // this stack frame.
624 // Note that if we didn't find a matching stack frame, we will pop
625 // the whole stack (unless there is a Java method or exception
626 // frame on the stack). This is intentional because we may have
628 // returning up the stack and we do not know the whole stack. So
629 // the right thing to do is to empty the stack.
631 // If we are emptying the stack, then add the current function
633 // stack, then avoid an extraneous pop and push.
638 // If we are popping off a large number of stack frames, then
646 // Pop the stack frames
650 // Clear the "caused exception" bit on the current stack frame
658 // we want to pop off F2 from the stack instead of pushing F1
695 // Search the stack from the top down for a frame that contains a
712 // If we found a matching frame then pop the stack up to and including
715 // Pop the stack frames
728 // there might already be a stack when we start tracing.