- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for MSanSupported (0.12 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) -
src/cmd/go/internal/work/init.go
base.Exit() } if cfg.BuildMSan && cfg.BuildASan { fmt.Fprintf(os.Stderr, "go: may not use -msan and -asan simultaneously\n") base.SetExitStatus(2) base.Exit() } if cfg.BuildMSan && !platform.MSanSupported(cfg.Goos, cfg.Goarch) { fmt.Fprintf(os.Stderr, "-msan is not supported on %s/%s\n", cfg.Goos, cfg.Goarch) base.SetExitStatus(2) base.Exit() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 28 19:13:34 UTC 2023 - 12.2K bytes - Viewed (0) -
src/cmd/go/go_test.go
if err != nil { fmt.Fprintf(os.Stderr, "could not find testing GOCACHE: %v\n%s", err, out) os.Exit(2) } testGOCACHE = strings.TrimSpace(string(out)) canMSan = testenv.HasCGO() && platform.MSanSupported(runtime.GOOS, runtime.GOARCH) canASan = testenv.HasCGO() && platform.ASanSupported(runtime.GOOS, runtime.GOARCH) canRace = testenv.HasCGO() && platform.RaceDetectorSupported(runtime.GOOS, runtime.GOARCH)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 81.1K bytes - Viewed (0)