Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for lchflags (0.11 sec)

  1. src/cmd/cgo/internal/testsanitizers/cc_test.go

    		if compiler.name == "gcc" {
    			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)
  2. src/cmd/go/internal/work/gc.go

    	} else {
    		compiler = envList("CC", cfg.DefaultCC(cfg.Goos, cfg.Goarch))
    	}
    	ldflags = append(ldflags, "-buildmode="+ldBuildmode)
    	if root.buildID != "" {
    		ldflags = append(ldflags, "-buildid="+root.buildID)
    	}
    	ldflags = append(ldflags, forcedLdflags...)
    	ldflags = append(ldflags, root.Package.Internal.Ldflags...)
    	ldflags, err := setextld(ldflags, compiler)
    	if err != nil {
    		return err
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:37:44 UTC 2024
    - 23K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testplugin/plugin_test.go

    	return m.Run()
    }
    
    func goCmd(t *testing.T, op string, args ...string) string {
    	if t != nil {
    		t.Helper()
    	}
    	var flags []string
    	if op != "tool" {
    		flags = []string{"-gcflags", gcflags}
    	}
    	return run(t, filepath.Join(goroot, "bin", "go"), append(append([]string{op}, flags...), args...)...)
    }
    
    // escape converts a string to something suitable for a shell command line.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. 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)
  5. 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")
    		}
    	}
    
    	depMode := ModeBuild
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 17:22:59 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  6. src/cmd/link/link_test.go

    		t.Fatal(err)
    	}
    
    	// Link with -v -linkmode=external to see the flags we pass to the
    	// external linker.
    	ldflags := "-ldflags=-v -linkmode=external -tmpdir=" + linktmp
    	var out0 []byte
    	for i := 0; i < 5; i++ {
    		cmd := testenv.Command(t, testenv.GoToolPath(t), "build", ldflags, "-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: Fri May 24 20:26:02 UTC 2024
    - 43.5K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/cmd/go/internal/envcmd/env.go

    	defer func() {
    		if err := b.Close(); err != nil {
    			base.Fatal(err)
    		}
    	}()
    
    	cppflags, cflags, cxxflags, fflags, ldflags, err := b.CFlags(&load.Package{})
    	if err != nil {
    		// Should not happen - b.CFlags was given an empty package.
    		fmt.Fprintf(os.Stderr, "go: invalid cflags: %v\n", err)
    		return nil
    	}
    	cmd := b.GccCmd(".", "")
    
    	join := func(s []string) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/dwarf_test.go

    		t.Helper()
    		t.Skipf("skipping on %s/%s: no DWARF symbol table in executables", runtime.GOOS, runtime.GOARCH)
    	}
    }
    
    const (
    	DefaultOpt = "-gcflags="
    	NoOpt      = "-gcflags=-l -N"
    	OptInl4    = "-gcflags=-l=4"
    	OptAllInl4 = "-gcflags=all=-l=4"
    )
    
    func TestRuntimeTypesPresent(t *testing.T) {
    	t.Parallel()
    	testenv.MustHaveGoBuild(t)
    
    	mustHaveDWARF(t)
    
    	dir := t.TempDir()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 01:38:11 UTC 2024
    - 48.6K bytes
    - Viewed (0)
Back to top