diff options
| author | Cherry Zhang <cherryyz@google.com> | 2019-11-10 23:48:56 -0500 |
|---|---|---|
| committer | Cherry Zhang <cherryyz@google.com> | 2019-11-12 22:28:47 +0000 |
| commit | 13fb147e60ba17457366630c60b5dbbe2d6a4304 (patch) | |
| tree | 33555e266b97e0a921bb56de1d382c0ea3165d8b /src/os/exec/exec_test.go | |
| parent | a56d755f41461bd3a1eb700b0095d82f7a812c1a (diff) | |
| download | go-13fb147e60ba17457366630c60b5dbbe2d6a4304.tar.xz | |
cmd/internal/obj/arm64: save LR after decrementing SP on darwin
iOS does not support SA_ONSTACK. The signal handler runs on the
G stack. Any writes below the SP may be clobbered by the signal
handler (even without call injection). So we save LR after
decrementing SP on iOS.
Updates #35439.
Change-Id: Ia6d7a0669e0bcf417b44c031d2e26675c1184165
Reviewed-on: https://go-review.googlesource.com/c/go/+/206418
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/os/exec/exec_test.go')
0 files changed, 0 insertions, 0 deletions
