]> Cypherpunks repositories - gostls13.git/commit
internal/cpu: enable support for GODEBUGCPU in non-experimental builds
authorMartin Möhrmann <moehrmann@google.com>
Fri, 12 Oct 2018 14:48:38 +0000 (16:48 +0200)
committerMartin Möhrmann <moehrmann@google.com>
Fri, 12 Oct 2018 15:40:45 +0000 (15:40 +0000)
commita5248acd91dcf0e90a68c1ff88ca389dc034557c
tree51be9113ffdd5b494e0f2ad1093454a4e8c8103f
parentda6c168378b4c1deb2a731356f1f438e4723b8a7
internal/cpu: enable support for GODEBUGCPU in non-experimental builds

Enabling GODEBUGCPU without the need to set GOEXPERIMENT=debugcpu  enables
trybots and builders to run tests for GODEBUGCPU features in upcoming CLs
that will implement the new syntax and features for non-experimental
GODEBUGCPU support from proposal golang.org/issue/27218.

Updates #27218

Change-Id: Icc69e51e736711a86b02b46bd441ffc28423beba
Reviewed-on: https://go-review.googlesource.com/c/141817
Run-TryBot: Martin Möhrmann <moehrmann@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/internal/objabi/util.go
src/internal/cpu/cpu.go
src/internal/cpu/cpu_test.go
src/internal/cpu/cpu_x86_test.go
src/runtime/proc.go