Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for debugTrace (0.76 sec)

  1. src/cmd/compile/internal/inline/inlheur/scoring.go

    		}
    		arg := call.Args[idx]
    		pflag := calleeProps.ParamFlags[idx]
    		if debugTrace&debugTraceScoring != 0 {
    			fmt.Fprintf(os.Stderr, "=-= arg %d of %d: val %v flags=%s\n",
    				idx, len(call.Args), arg, pflag.String())
    		}
    
    		if len(cs.ArgProps) == 0 {
    			continue
    		}
    		argProps := cs.ArgProps[idx]
    
    		if debugTrace&debugTraceScoring != 0 {
    			fmt.Fprintf(os.Stderr, "=-= arg %d props %s value %v\n",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:42:52 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/liveness/intervals.go

    // expect to see this sequence of calls to Live/Kill:
    //
    //    abc:  Live(9), Kill(8), Live(6), Kill(0)
    //    xyz:  Live(8), Kill(2)
    
    import (
    	"fmt"
    	"os"
    	"strings"
    )
    
    const debugtrace = false
    
    // Interval hols the range [st,en).
    type Interval struct {
    	st, en int
    }
    
    // Intervals is a sequence of sorted, disjoint intervals.
    type Intervals []Interval
    
    func (i Interval) String() string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 21:55:27 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. src/cmd/go/main.go

    }
    
    func mainUsage() {
    	help.PrintUsage(os.Stderr, base.Go)
    	os.Exit(2)
    }
    
    func maybeStartTrace(pctx context.Context) context.Context {
    	if cfg.DebugTrace == "" {
    		return pctx
    	}
    
    	ctx, close, err := trace.Start(pctx, cfg.DebugTrace)
    	if err != nil {
    		base.Fatalf("failed to start trace: %v", err)
    	}
    	base.AtExit(func() {
    		if err := close(); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:09:11 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. src/cmd/covdata/tool_test.go

    	tdcount++
    	if err := os.Mkdir(dir, 0777); err != nil {
    		t.Fatal(err)
    	}
    	defer tdmu.Unlock()
    	return dir
    }
    
    const debugtrace = false
    
    func gobuild(t *testing.T, indir string, bargs []string) {
    	t.Helper()
    
    	if debugtrace {
    		if indir != "" {
    			t.Logf("in dir %s: ", indir)
    		}
    		t.Logf("cmd: %s %+v\n", testenv.GoToolPath(t), bargs)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  5. src/cmd/go/internal/cfg/cfg.go

    	ModCacheRW bool   // -modcacherw flag
    	ModFile    string // -modfile flag
    
    	CmdName string // "build", "install", "list", "mod tidy", etc.
    
    	DebugActiongraph  string // -debug-actiongraph flag (undocumented, unstable)
    	DebugTrace        string // -debug-trace flag
    	DebugRuntimeTrace string // -debug-runtime-trace flag (undocumented, unstable)
    
    	// GoPathError is set when GOPATH is not set. it contains an
    	// explanation why GOPATH is unset.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  6. src/cmd/go/internal/work/build.go

    	cmd.Flag.Var((*buildvcsFlag)(&cfg.BuildBuildvcs), "buildvcs", "")
    
    	// Undocumented, unstable debugging flags.
    	cmd.Flag.StringVar(&cfg.DebugActiongraph, "debug-actiongraph", "", "")
    	cmd.Flag.StringVar(&cfg.DebugTrace, "debug-trace", "", "")
    	cmd.Flag.StringVar(&cfg.DebugRuntimeTrace, "debug-runtime-trace", "", "")
    }
    
    // AddCoverFlags adds coverage-related flags to "cmd". If the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 17:22:59 UTC 2024
    - 33.2K bytes
    - Viewed (0)
Back to top