- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for preparePanic (0.24 sec)
-
src/runtime/signal_riscv64.go
func (c *sigctxt) siglr() uintptr { return uintptr(c.ra()) } func (c *sigctxt) fault() uintptr { return uintptr(c.sigaddr()) } // preparePanic sets up the stack to look like a call to sigpanic. func (c *sigctxt) preparePanic(sig uint32, gp *g) { // We arrange RA, and pc to pretend the panicking // function calls sigpanic directly. // Always save RA to stack so that panics in leaf
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 04 02:55:17 UTC 2023 - 2.9K bytes - Viewed (0) -
src/runtime/signal_ppc64x.go
func (c *sigctxt) setsigpc(x uint64) { c.set_pc(x) } func (c *sigctxt) sigsp() uintptr { return uintptr(c.sp()) } func (c *sigctxt) siglr() uintptr { return uintptr(c.link()) } // preparePanic sets up the stack to look like a call to sigpanic. func (c *sigctxt) preparePanic(sig uint32, gp *g) { // We arrange link, and pc to pretend the panicking // function calls sigpanic directly. // Always save LINK to stack so that panics in leaf
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 15:08:04 UTC 2023 - 3.7K bytes - Viewed (0) -
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)