Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 263 for gcflags (0.3 sec)

  1. src/cmd/go/internal/work/build.go

    		}
    		if load.BuildLdflags.Present() {
    			fmt.Println("go build: when using gccgo toolchain, please pass linker flags using -gccgoflags, not -ldflags")
    		}
    	case "gc":
    		if load.BuildGccgoflags.Present() {
    			fmt.Println("go build: when using gc toolchain, please pass compile flags using -gcflags, and linker flags using -ldflags")
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 17:22:59 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/inline/inlheur/funcprops_test.go

    	dfp := dentry.props
    	efp := eentry.props
    	dfn := dentry.fname
    
    	// Compare function flags.
    	if dfp.Flags != efp.Flags {
    		t.Errorf("testcase %q: Flags mismatch for %q: got %s, wanted %s",
    			tc, dfn, dfp.Flags.String(), efp.Flags.String())
    	}
    	// Compare returns
    	rgot := propBitsToString[ResultPropBits](dfp.ResultFlags)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:25 UTC 2023
    - 15K bytes
    - Viewed (0)
  3. hack/lib/golang.sh

      V=3 kube::log::info "Building binaries with GCFLAGS=${gogcflags} LDFLAGS=${goldflags}"
    
      local -a build_args
      if [[ "${#statics[@]}" != 0 ]]; then
        build_args=(
          -installsuffix=static
          ${goflags:+"${goflags[@]}"}
          -gcflags="${gogcflags}"
          -ldflags="${goldflags}"
          -tags="${gotags:-}"
        )
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 16:43:08 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/objfile_test.go

    	// Build the fmt package with norefname. Not rebuilding all packages to save time.
    	// Also testing that norefname and non-norefname packages can link together.
    	cmd := testenv.Command(t, testenv.GoToolPath(t), "build", "-gcflags=fmt=-d=norefname", "-o", exe, src)
    	out, err := cmd.CombinedOutput()
    	if err != nil {
    		t.Fatalf("build failed: %v, output:\n%s", err, out)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:21:30 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  5. src/runtime/runtime-lldb_test.go

    		t.Fatalf("failed to create mod file: %v", err)
    	}
    
    	// As of 2018-07-17, lldb doesn't support compressed DWARF, so
    	// disable it for this test.
    	cmd := exec.Command(testenv.GoToolPath(t), "build", "-gcflags=all=-N -l", "-ldflags=-compressdwarf=false", "-o", "a.exe")
    	cmd.Dir = dir
    	cmd.Env = append(os.Environ(), "GOPATH=") // issue 31100
    	out, err := cmd.CombinedOutput()
    	if err != nil {
    		t.Fatalf("building source %v\n%s", err, out)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/x86/seh.go

    			ctxt.Diag("missing runtime.sehtramp\n")
    			return
    		}
    		flags = UNW_FLAG_EHANDLER
    	}
    
    	// Fow now we only support operations which are encoded
    	// using a single 2-byte node, so the number of nodes
    	// is the number of operations.
    	nodes := uint8(2)
    	buf := newsehbuf(ctxt, nodes)
    	buf.write8(flags | 1)            // Flags + version
    	buf.write8(uint8(movbp.Link.Pc)) // Size of prolog
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 14:41:10 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/test/pgo_devirtualize_test.go

    	}
    
    	// Build the test with the profile.
    	pprof := filepath.Join(dir, pgoProfileName)
    	gcflag := fmt.Sprintf("-gcflags=-m=2 -pgoprofile=%s -d=pgodebug=3", pprof)
    	out := filepath.Join(dir, "test.exe")
    	cmd = testenv.CleanCmdEnv(testenv.Command(t, testenv.GoToolPath(t), "test", "-o", out, gcflag, "."))
    	cmd.Dir = dir
    
    	pr, pw, err := os.Pipe()
    	if err != nil {
    		t.Fatalf("error creating pipe: %v", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 15 21:30:35 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. src/cmd/go/internal/load/test.go

    					Directives: p.Internal.Build.XTestDirectives,
    				},
    				Imports:    ximports,
    				RawImports: rawXTestImports,
    
    				Asmflags:       p.Internal.Asmflags,
    				Gcflags:        p.Internal.Gcflags,
    				Ldflags:        p.Internal.Ldflags,
    				Gccgoflags:     p.Internal.Gccgoflags,
    				Embed:          xtestEmbed,
    				OrigImportPath: p.Internal.OrigImportPath,
    				PGOProfile:     p.Internal.PGOProfile,
    			},
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  9. 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)
  10. src/cmd/internal/archive/archive_test.go

    				}
    				if err != nil {
    					return err
    				}
    				cmd := testenv.Command(t, gotool, "build", "-buildmode=archive", "-o", cgoarchive, "-gcflags=all="+os.Getenv("GO_GCFLAGS"), "mycgo")
    				cmd.Dir = filepath.Join(gopath, "src", "mycgo")
    				cmd.Env = append(os.Environ(), "GOPATH="+gopath)
    				out, err = cmd.CombinedOutput()
    				if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 02 19:27:33 UTC 2023
    - 7.9K bytes
    - Viewed (0)
Back to top