aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/go/internal/modload/load.go
diff options
context:
space:
mode:
authorCherry Mui <cherryyz@google.com>2021-05-13 18:19:42 -0400
committerCherry Mui <cherryyz@google.com>2021-05-14 19:27:25 +0000
commit02699f810a05215060ba2181f394d551819ad7d4 (patch)
tree7576848802446e0a7cf23c2cfa83990c66a14e65 /src/cmd/go/internal/modload/load.go
parent3d324f127dbb916f38d7476e9c4ff106e5d54f99 (diff)
downloadgo-02699f810a05215060ba2181f394d551819ad7d4.tar.gz
go-02699f810a05215060ba2181f394d551819ad7d4.zip
runtime: mark osyield nosplit on OpenBSD
osyield is called in code paths that are not allowed to split stack, e.g. casgstatus called from entersyscall/exitsyscall. It is nosplit on all other platforms. Mark it nosplit on OpenBSD as well. Change-Id: I3fed5d7f58b3d50610beca6eed2c7e902b8ec52c Reviewed-on: https://go-review.googlesource.com/c/go/+/319969 Trust: Cherry Mui <cherryyz@google.com> Run-TryBot: Cherry Mui <cherryyz@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Joel Sing <joel@sing.id.au>
Diffstat (limited to 'src/cmd/go/internal/modload/load.go')
0 files changed, 0 insertions, 0 deletions