- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for MSanSupported (0.25 sec)
-
src/cmd/cgo/internal/testsanitizers/cshared_test.go
}, } for _, tc := range cases { tc := tc name := strings.TrimSuffix(tc.src, ".go") //The memory sanitizer tests require support for the -msan option. if tc.sanitizer == "memory" && !platform.MSanSupported(GOOS, GOARCH) { t.Logf("skipping %s test on %s/%s; -msan option is not supported.", name, GOOS, GOARCH) continue } if tc.sanitizer == "thread" && !compilerRequiredTsanVersion(GOOS, GOARCH) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 19 01:37:31 UTC 2023 - 2.1K bytes - Viewed (0) -
src/internal/platform/supported.go
return goarch == "amd64" || goarch == "arm64" case "freebsd", "netbsd", "windows": return goarch == "amd64" default: return false } } // MSanSupported reports whether goos/goarch supports the memory // sanitizer option. func MSanSupported(goos, goarch string) bool { switch goos { case "linux": return goarch == "amd64" || goarch == "arm64" || goarch == "loong64" case "freebsd": return goarch == "amd64"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 04 07:50:22 UTC 2024 - 7.6K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/msan_test.go
goos, err := goEnv("GOOS") if err != nil { t.Fatal(err) } goarch, err := goEnv("GOARCH") if err != nil { t.Fatal(err) } // The msan tests require support for the -msan option. if !platform.MSanSupported(goos, goarch) { t.Skipf("skipping on %s/%s; -msan option is not supported.", goos, goarch) } t.Parallel() // Overcommit is enabled by default on FreeBSD (vm.overcommit=0, see tuning(7)).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 18 21:30:58 UTC 2023 - 2.3K bytes - Viewed (0) -
src/cmd/go/scriptconds_test.go
add("go-builder", script.BoolCondition("GO_BUILDER_NAME is non-empty", testenv.Builder() != "")) add("link", lazyBool("testenv.HasLink()", testenv.HasLink)) add("msan", sysCondition("-msan", platform.MSanSupported, true)) add("mustlinkext", script.Condition("platform always requires external linking", mustLinkExt)) add("net", script.PrefixCondition("can connect to external network host <suffix>", hasNet))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 7.4K bytes - Viewed (0)