Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 291 for Gcflags (0.08 sec)

  1. src/cmd/asm/main.go

    	architecture := arch.Set(GOARCH, *flags.Shared || *flags.Dynlink)
    	if architecture == nil {
    		log.Fatalf("unrecognized architecture %s", GOARCH)
    	}
    	ctxt := obj.Linknew(architecture.LinkArch)
    	ctxt.Debugasm = flags.PrintOut
    	ctxt.Debugvlog = flags.DebugV
    	ctxt.Flag_dynlink = *flags.Dynlink
    	ctxt.Flag_linkshared = *flags.Linkshared
    	ctxt.Flag_shared = *flags.Shared || *flags.Dynlink
    	ctxt.Flag_maymorestack = flags.DebugFlags.MayMoreStack
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/cover_build_simple.txt

    # This test checks basic "go build -cover" functionality.
    
    [short] skip
    
    # Hard-wire new coverage for this test.
    env GOEXPERIMENT=coverageredesign
    
    # Build for coverage.
    go build -gcflags=-m -o example.exe -cover example/main &
    [race] go build -o examplewithrace.exe -race -cover example/main &
    wait
    
    # First execute without GOCOVERDIR set...
    env GOCOVERDIR=
    exec ./example.exe normal
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 11:50:58 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/cmd/dist/test.go

    	}
    	if opts.cpu != "" {
    		run = append(run, "-cpu="+opts.cpu)
    	}
    	if t.json {
    		run = append(run, "-json")
    	}
    
    	if opts.gcflags != "" {
    		build = append(build, "-gcflags=all="+opts.gcflags)
    	}
    	if opts.ldflags != "" {
    		build = append(build, "-ldflags="+opts.ldflags)
    	}
    	if opts.buildmode != "" {
    		build = append(build, "-buildmode="+opts.buildmode)
    	}
    
    	pkgs = opts.packages()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top