Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for GO_GCFLAGS (0.1 sec)

  1. 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)
  2. src/cmd/compile/internal/ssa/compile.go

    //   - ssa/all/time enables time reporting for all phases
    //
    // See gc/lex.go for dissection of the option string.
    // Example uses:
    //
    // GO_GCFLAGS=-d=ssa/generic_cse/time,ssa/generic_cse/stats,ssa/generic_cse/debug=3 ./make.bash
    //
    // BOOT_GO_GCFLAGS=-d='ssa/~^.*scc$/off' GO_GCFLAGS='-d=ssa/~^.*scc$/off' ./make.bash
    func PhaseOption(phase, flag string, val int, valString string) string {
    	switch phase {
    	case "", "help":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testplugin/plugin_test.go

    	"internal/testenv"
    	"log"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"runtime"
    	"strings"
    	"testing"
    	"time"
    )
    
    var globalSkip = func(t *testing.T) {}
    
    var gcflags string = os.Getenv("GO_GCFLAGS")
    var goroot string
    
    func TestMain(m *testing.M) {
    	flag.Parse()
    	log.SetFlags(log.Lshortfile)
    	os.Exit(testMain(m))
    }
    
    // tmpDir is used to cleanup logged commands -- s/tmpDir/$TMPDIR/
    var tmpDir string
    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/compile/internal/ssa/debug_test.go

    	numberColonRe         = regexp.MustCompile(`^ *\d+:`)
    )
    
    var gdb = "gdb"      // Might be "ggdb" on Darwin, because gdb no longer part of XCode
    var debugger = "dlv" // For naming files, etc.
    
    var gogcflags = os.Getenv("GO_GCFLAGS")
    
    // optimizedLibs usually means "not running in a noopt test builder".
    var optimizedLibs = (!strings.Contains(gogcflags, "-N") && !strings.Contains(gogcflags, "-l"))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:11:47 UTC 2024
    - 28.6K bytes
    - Viewed (0)
Back to top