- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 183 for gcflags (0.12 sec)
-
src/cmd/compile/internal/test/pgo_inl_test.go
gcflag := gcflag0 + ",pgohash=" + hash out := buildPGOInliningTest(t, dir, gcflag) if !bytes.Contains(out, []byte(hashMatch)) || !pgoDebugRE.Match(out) { t.Errorf("output does not contain expected source line, out:\n%s", out) } // Check that a hash mismatch turns off PGO inlining. hash = "v0" // 0 should not match srcPos gcflag = gcflag0 + ",pgohash=" + hash
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 11.1K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/cc_test.go
c.cFlags = append(c.cFlags, "-fPIC") c.ldFlags = append(c.ldFlags, "-fPIC", "-static-libtsan") } case "address": c.goFlags = append(c.goFlags, "-asan") // Set the debug mode to print the C stack trace. c.cFlags = append(c.cFlags, "-g") case "fuzzer": c.goFlags = append(c.goFlags, "-tags=libfuzzer", "-gcflags=-d=libfuzzer") default:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 09 20:00:56 UTC 2024 - 14.4K bytes - Viewed (0) -
test/inline.go
d[5] = float32bits(x[5]) // ERROR "inlining call to float32bits" } // float32bits is a copy of math.Float32bits to ensure that // these tests pass with `-gcflags=-l`. func float32bits(f float32) uint32 { // ERROR "can inline float32bits" return *(*uint32)(unsafe.Pointer(&f)) } // Ensure OCONVNOP is zero cost. func Conv(v uint64) uint64 { // ERROR "can inline Conv"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 11.7K bytes - Viewed (0) -
src/runtime/runtime-gdb_test.go
src := filepath.Join(dir, "main.go") err := os.WriteFile(src, []byte(autotmpTypeSource), 0644) if err != nil { t.Fatalf("failed to create file: %v", err) } cmd := exec.Command(testenv.GoToolPath(t), "build", "-gcflags=all=-N -l", "-o", "a.exe", "main.go") cmd.Dir = dir out, err := testenv.CleanCmdEnv(cmd).CombinedOutput() if err != nil { t.Fatalf("building source %v\n%s", err, out) } // Execute gdb commands.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 23.2K bytes - Viewed (0) -
src/cmd/dist/build.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 18:34:40 UTC 2024 - 54K bytes - Viewed (0) -
test/newinline.go
d[5] = float32bits(x[5]) // ERROR "inlining call to float32bits" } // float32bits is a copy of math.Float32bits to ensure that // these tests pass with `-gcflags=-l`. func float32bits(f float32) uint32 { // ERROR "can inline float32bits" return *(*uint32)(unsafe.Pointer(&f)) } // Ensure OCONVNOP is zero cost. func Conv(v uint64) uint64 { // ERROR "can inline Conv"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 16 20:15:25 UTC 2023 - 11.2K bytes - Viewed (0) -
src/cmd/go/internal/load/pkg.go
appendSetting("-gccgoflags", gccgoflags) } if gcflags := BuildGcflags.String(); gcflags != "" && cfg.BuildContext.Compiler == "gc" { appendSetting("-gcflags", gcflags) } if ldflags := BuildLdflags.String(); ldflags != "" { // https://go.dev/issue/52372: only include ldflags if -trimpath is not set, // since it can include system paths through various linker flags (notably // -extar, -extld, and -extldflags). //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 28 17:00:51 UTC 2024 - 120K bytes - Viewed (0) -
src/internal/testenv/testenv.go
// and then run them with os.StartProcess or exec.Command. func HasGoBuild() bool { if os.Getenv("GO_GCFLAGS") != "" { // It's too much work to require every caller of the go command // to pass along "-gcflags="+os.Getenv("GO_GCFLAGS"). // For now, if $GO_GCFLAGS is set, report that we simply can't // run go build. return false } goBuildOnce.Do(func() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 16:41:38 UTC 2024 - 15.7K bytes - Viewed (0) -
Makefile.core.mk
${TARGET_OUT}/release/istioctl-linux-amd64: GOOS=linux GOARCH=amd64 LDFLAGS=$(RELEASE_LDFLAGS) common/scripts/gobuild.sh $@ ./istioctl/cmd/istioctl ${TARGET_OUT}/release/istioctl-linux-armv7: GOOS=linux GOARCH=arm GOARM=7 LDFLAGS=$(RELEASE_LDFLAGS) common/scripts/gobuild.sh $@ ./istioctl/cmd/istioctl ${TARGET_OUT}/release/istioctl-linux-arm64: GOOS=linux GOARCH=arm64 LDFLAGS=$(RELEASE_LDFLAGS) common/scripts/gobuild.sh $@ ./istioctl/cmd/istioctl
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Jun 02 19:53:04 UTC 2024 - 23.2K bytes - Viewed (0) -
src/cmd/go/internal/work/exec.go
} return args } // CFlags returns the flags to use when invoking the C, C++ or Fortran compilers, or cgo. func (b *Builder) CFlags(p *load.Package) (cppflags, cflags, cxxflags, fflags, ldflags []string, err error) { if cppflags, err = buildFlags("CPPFLAGS", "", p.CgoCPPFLAGS, checkCompilerFlags); err != nil { return } if cflags, err = buildFlags("CFLAGS", DefaultCFlags, p.CgoCFLAGS, checkCompilerFlags); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 14:46:37 UTC 2024 - 105.6K bytes - Viewed (0)