Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for preparePanic (1.43 sec)

  1. src/runtime/panic.go

    // return PC (pushing a frame for the call). Otherwise, it should be
    // left alone so that LR is used as sigpanic's return PC, effectively
    // replacing the top-most frame with sigpanic. This is used by
    // preparePanic.
    func shouldPushSigpanic(gp *g, pc, lr uintptr) bool {
    	if pc == 0 {
    		// Probably a call to a nil func. The old LR is more
    		// useful in the stack trace. Not pushing the frame
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  2. src/runtime/signal_unix.go

    		// augmenting the stack frame would break
    		// the unwinding code.
    		gp.sig = sig
    		gp.sigcode0 = uintptr(c.sigcode())
    		gp.sigcode1 = c.fault()
    		gp.sigpc = c.sigpc()
    
    		c.preparePanic(sig, gp)
    		return
    	}
    
    	if c.sigFromUser() || flags&_SigNotify != 0 {
    		if sigsend(sig) {
    			return
    		}
    	}
    
    	if c.sigFromUser() && signal_ignored(sig) {
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
Back to top