]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: remove -wrapglobalmapinit flag
authorThan McIntosh <thanm@google.com>
Thu, 9 Mar 2023 18:20:01 +0000 (13:20 -0500)
committerThan McIntosh <thanm@google.com>
Thu, 9 Mar 2023 20:09:52 +0000 (20:09 +0000)
commit269bdcd56866d5cd5789164d3f7420a66c524a8a
tree2ca227da52f4b5b5a69cb23f0f49336729cae2ae
parent24017148ca8a669debbddba56d69769dc47d5c71
cmd/compile: remove -wrapglobalmapinit flag

Remove the compiler's "-wrapglobalmapinit" flag; it is potentially
confusing for users and isn't appropriate as a top level flag. Move
the enable/disable control to the "wrapglobalmapctl" debug flag
(values: 0 on by default, 1 disabled, 2 stress mode). No other changes
to compiler functionality.

Change-Id: I0d120eaf90ee34e29d5032889e673d42fe99e5dc
Reviewed-on: https://go-review.googlesource.com/c/go/+/475035
Run-TryBot: Than McIntosh <thanm@google.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/compile/internal/base/debug.go
src/cmd/compile/internal/base/flag.go
src/cmd/compile/internal/gc/main.go
src/cmd/compile/internal/ssagen/pgen.go
src/cmd/compile/internal/staticinit/sched.go