1
0
mirror of https://github.com/golang/go synced 2024-11-17 13:44:43 -07:00
go/misc/cgo/testsanitizers
Ian Lance Taylor 6326786ce7 misc/cgo/testsanitizers: fix test of whether compiler option works
On older versions of GCC we need to pass a file name before GCC will
report an unrecognized option.

Fixes #13065.

Change-Id: I7ed34c01a006966a446059025f7d10235c649072
Reviewed-on: https://go-review.googlesource.com/16589
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: David Crawshaw <crawshaw@golang.org>
2015-11-03 23:35:28 +00:00
..
msan2.go cmd/go: add -msan option 2015-10-21 20:30:23 +00:00
msan_fail.go cmd/go: if -msan, pass -fsanitize=memory to cgo builds 2015-10-21 23:52:23 +00:00
msan.go cmd/go: add -msan option 2015-10-21 20:30:23 +00:00
test.bash misc/cgo/testsanitizers: fix test of whether compiler option works 2015-11-03 23:35:28 +00:00