]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: only support -race and -msan where they work
authorIan Lance Taylor <iant@golang.org>
Sat, 30 Jun 2018 04:14:47 +0000 (21:14 -0700)
committerIan Lance Taylor <iant@golang.org>
Tue, 21 Aug 2018 03:38:27 +0000 (03:38 +0000)
commit7e64377903b3abd922150e35601e0df597a8af9f
tree8c0a49abfa214b3eca5525abb0344adaa9d70f11
parentd58f3e6fea4e4540ad54caf9e141fe213c87d710
cmd/compile: only support -race and -msan where they work

Consolidate decision about whether -race and -msan options are
supported in cmd/internal/sys. Use consolidated functions in
cmd/compile and cmd/go. Use a copy of them in cmd/dist; cmd/dist can't
import cmd/internal/sys because Go 1.4 doesn't have it.

Fixes #24315

Change-Id: I9cecaed4895eb1a2a49379b4848db40de66d32a9
Reviewed-on: https://go-review.googlesource.com/121816
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/compile/internal/gc/main.go
src/cmd/dist/test.go
src/cmd/go/go_test.go
src/cmd/go/internal/work/init.go
src/cmd/internal/sys/supported.go [new file with mode: 0644]
test/fixedbugs/issue13265.go
test/fixedbugs/issue15091.go
test/fixedbugs/issue16008.go
test/fixedbugs/issue17449.go
test/fixedbugs/issue24651a.go