We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 383d817 commit c5a2f36Copy full SHA for c5a2f36
src/runtime/signal_darwin_arm64.go
@@ -55,6 +55,7 @@ func (c *sigctxt) set_sp(x uint64) { c.regs().sp = x }
55
func (c *sigctxt) set_lr(x uint64) { c.regs().lr = x }
56
func (c *sigctxt) set_r28(x uint64) { c.regs().x[28] = x }
57
58
+func (c *sigctxt) set_sigcode(x uint64) { c.info.si_code = int32(x) }
59
func (c *sigctxt) set_sigaddr(x uint64) {
60
c.info.si_addr = (*byte)(unsafe.Pointer(uintptr(x)))
61
}
0 commit comments