]> Cypherpunks repositories - gostls13.git/commit
runtime: mark OpenBSD raise function nosplit
authorIan Lance Taylor <iant@golang.org>
Mon, 6 Jul 2020 21:23:26 +0000 (14:23 -0700)
committerIan Lance Taylor <iant@golang.org>
Wed, 8 Jul 2020 19:50:20 +0000 (19:50 +0000)
commit9699086043ae0ea01f14eca827837ad15bea8072
tree2817944f03409059b5aea4ba3db0151374a2d1e5
parent0844ff8eef81e124c1fecba82dd5843745427fa4
runtime: mark OpenBSD raise function nosplit

It is called by the signal handler before switching to gsignal
(sigtrampgo -> sigfwdgo -> dieFromSignal -> raise)
which means that it must not split the stack.

All other instances of raise are already marked nosplit.

Fixes #40076

Change-Id: I4794491331af48c46d0d8ebc82d34c6483f0e6cd
Reviewed-on: https://go-review.googlesource.com/c/go/+/241121
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/os/pipe_test.go
src/runtime/os_openbsd.go