]> Cypherpunks repositories - gostls13.git/commit
runtime,cmd/link: increase stack guard space when building with -race
authorKeith Randall <khr@golang.org>
Wed, 16 Nov 2022 20:56:40 +0000 (12:56 -0800)
committerKeith Randall <khr@google.com>
Fri, 18 Nov 2022 16:26:25 +0000 (16:26 +0000)
commit893964b9727a3dfcadab75c0f6b3c6b683b9bae0
tree612af6c8419229681102fa682c18000e84f5701d
parente18d07ddc5c9005738c3063130f0f5ccf127849e
runtime,cmd/link: increase stack guard space when building with -race

More stuff to do = more stack needed. Bump up the guard space when
building with the race detector.

Fixes #54291

Change-Id: I701bc8800507921bed568047d35b8f49c26e7df7
Reviewed-on: https://go-review.googlesource.com/c/go/+/451217
Run-TryBot: Keith Randall <khr@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/cmd/internal/objabi/stack.go
src/cmd/link/internal/ld/stackcheck.go
src/runtime/internal/sys/consts.go
src/runtime/internal/sys/consts_norace.go [new file with mode: 0644]
src/runtime/internal/sys/consts_race.go [new file with mode: 0644]
src/runtime/stack.go