- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for preparePanic (0.12 sec)
-
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) -
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)