Home | History | Annotate | Download | only in testsanitizers

Lines Matching refs:go

2 # Copyright 2015 The Go Authors. All rights reserved.
6 # This directory is intended to test the use of Go with sanitizers
42 # don't work with Go.
72 goos=$(go env GOOS)
78 go build -msan -buildmode=c-shared $suffix -o ${TMPDIR}/libmsanshared.$libext msan_shared.go
81 $CC $(go env GOGCCFLAGS) -fsanitize=memory -o ${TMPDIR}/testmsanshared ${TMPDIR}/testmsanshared.c ${TMPDIR}/libmsanshared.$libext
91 if ! go build -msan std; then
96 if ! go run -msan msan.go; then
101 if ! CGO_LDFLAGS="-fsanitize=memory" CGO_CPPFLAGS="-fsanitize=memory" go run -msan -a msan2.go; then
106 if ! go run -msan -a msan2.go; then
111 if ! go run -msan msan3.go; then
116 if ! go run -msan msan4.go; then
121 if ! go run -msan msan5.go; then
126 if go run -msan msan_fail.go 2>/dev/null; then
154 # $3 go run args
157 if ! env $2 go run $3 $1 2>$err; then
170 testtsan tsan.go
171 testtsan tsan2.go
172 testtsan tsan3.go
173 testtsan tsan4.go
174 testtsan tsan8.go
175 testtsan tsan9.go
194 testtsan tsan5.go "CGO_CFLAGS=-fsanitize=thread CGO_LDFLAGS=-fsanitize=thread" "-installsuffix=tsan"
197 testtsan tsan6.go "CGO_CFLAGS=-fsanitize=thread CGO_LDFLAGS=-fsanitize=thread" "-installsuffix=tsan"
200 testtsan tsan7.go "CGO_CFLAGS=-fsanitize=thread CGO_LDFLAGS=-fsanitize=thread" "-installsuffix=tsan"