Commit 764a6ac2 authored by Elias Naur's avatar Elias Naur

runtime: don't restore the alternate signal stack on ios

The alternative signal stack doesn't work on ios, so the setup of
the alternative stack was skipped. The corresponding unminitSignals
was effectively a no-op on ios until CL 70130. Skip unminitSignals
on ios to restore the previous behaviour.

For the ios builders.

Change-Id: I5692ca7f5997e6b9d10cc5f2383a5a37c42b133c
Reviewed-on: https://go-review.googlesource.com/70270
Run-TryBot: Elias Naur <elias.naur@gmail.com>
Reviewed-by: 's avatarAustin Clements <austin@google.com>
parent 6054f87f
...@@ -188,7 +188,11 @@ func minit() { ...@@ -188,7 +188,11 @@ func minit() {
// Called from dropm to undo the effect of an minit. // Called from dropm to undo the effect of an minit.
//go:nosplit //go:nosplit
func unminit() { func unminit() {
unminitSignals() // The alternate signal stack is buggy on arm and arm64.
// See minit.
if GOARCH != "arm" && GOARCH != "arm64" {
unminitSignals()
}
} }
// Mach IPC, to get at semaphores // Mach IPC, to get at semaphores
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment