github.com/shogo82148/std@v1.22.1-0.20240327122250-4e474527810c/cmd/cgo/internal/testsanitizers/cc_test.go (about) 1 // Copyright 2017 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 // This test uses the Pdeathsig field of syscall.SysProcAttr, so it only works 6 // on platforms that support that. 7 8 //go:build linux || (freebsd && amd64) 9 10 // sanitizers_test checks the use of Go with sanitizers like msan, asan, etc. 11 // See https://github.com/google/sanitizers. 12 package sanitizers_test