Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 74 for debugging (1.52 sec)

  1. src/cmd/compile/internal/types2/testdata/manual.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This file is tested when running "go test -run Manual"
    // without source arguments. Use for one-off debugging.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 17:42:47 UTC 2024
    - 285 bytes
    - Viewed (0)
  2. src/cmd/covdata/doc.go

    6. Subtract one profile from another
    
    	$ go tool covdata subtract -i=indir1,indir2 -o=outdir
    	$
    
    7. Intersect profiles
    
    	$ go tool covdata intersect -i=indir1,indir2 -o=outdir
    	$
    
    8. Dump a profile for debugging purposes.
    
    	$ go tool covdata debugdump -i=indir
    	<human readable output>
    	$
    */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 03 12:57:25 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/flags/flags.go

    	flag.Var(&I, "I", "include directory; can be set multiple times")
    	flag.BoolVar(&DebugV, "v", false, "print debug output")
    	flag.Var(objabi.NewDebugFlag(&DebugFlags, nil), "d", "enable debugging settings; try -d help")
    	objabi.AddVersionFlag() // -V
    	objabi.Flagcount("S", "print assembly and machine code", &PrintOut)
    }
    
    // MultiFlag allows setting a value multiple times to collect a list, as in -I=dir1 -I=dir2.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:18:23 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/format.go

    	fmt.Printf("%s:\t%s%s\n",
    		pos,
    		strings.Repeat(".  ", check.indent),
    		sprintf(check.qualifier, true, format, args...),
    	)
    }
    
    // dump is only needed for debugging
    func (check *Checker) dump(format string, args ...any) {
    	fmt.Println(sprintf(check.qualifier, true, format, args...))
    }
    
    func (check *Checker) qualifier(pkg *Package) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. src/cmd/link/internal/sym/symkind.go

    	SXREF
    	SMACHOSYMSTR
    	SMACHOSYMTAB
    	SMACHOINDIRECTPLT
    	SMACHOINDIRECTGOT
    	SFILEPATH
    	SDYNIMPORT
    	SHOSTOBJ
    	SUNDEFEXT // Undefined symbol for resolution by external linker
    
    	// Sections for debugging information
    	SDWARFSECT
    	// DWARF symbol types
    	SDWARFCUINFO
    	SDWARFCONST
    	SDWARFFCN
    	SDWARFABSFCN
    	SDWARFTYPE
    	SDWARFVAR
    	SDWARFRANGE
    	SDWARFLOC
    	SDWARFLINES
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/profile/profile.go

    			i++
    		}
    		sort.Strings(units)
    		unitsIgnored[key] = units
    	}
    
    	return numLabelUnits, unitsIgnored
    }
    
    // String dumps a text representation of a profile. Intended mainly
    // for debugging purposes.
    func (p *Profile) String() string {
    	ss := make([]string, 0, len(p.Comments)+len(p.Sample)+len(p.Mapping)+len(p.Location))
    	for _, c := range p.Comments {
    		ss = append(ss, "Comment: "+c)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/typeparam.go

    func nextID() uint64 { return uint64(lastID.Add(1)) }
    
    // A TypeParam represents a type parameter type.
    type TypeParam struct {
    	check *Checker  // for lazy type bound completion
    	id    uint64    // unique id, for debugging only
    	obj   *TypeName // corresponding type name
    	index int       // type parameter index in source order, starting at 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. src/cmd/fix/main.go

    var allowed, force map[string]bool
    
    var (
    	doDiff    = flag.Bool("diff", false, "display diffs instead of rewriting files")
    	goVersion = flag.String("go", "", "go language version for files")
    )
    
    // enable for debugging fix failures
    const debug = false // display incorrectly reformatted source and exit
    
    func usage() {
    	fmt.Fprintf(os.Stderr, "usage: go tool fix [-diff] [-r fixname,...] [-force fixname,...] [path ...]\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. src/cmd/covdata/covdata.go

    merge       merge data files together
    subtract    subtract one set of data files from another set
    intersect   generate intersection of two sets of data files
    debugdump   dump data in human-readable format for debugging purposes
    `)
    	fmt.Fprintf(os.Stderr, "\nFor help on a specific subcommand, try:\n")
    	fmt.Fprintf(os.Stderr, "\ngo tool covdata <cmd> -help\n")
    	Exit(2)
    }
    
    type covOperation interface {
    	cov.CovDataVisitor
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/compile.go

    //   - the order of f.Blocks is the order to emit the Blocks
    //   - the order of b.Values is the order to emit the Values in each Block
    //   - f has a non-nil regAlloc field
    func Compile(f *Func) {
    	// TODO: debugging - set flags to control verbosity of compiler,
    	// which phases to dump IR before/after, etc.
    	if f.Log() {
    		f.Logf("compiling %s\n", f.Name)
    	}
    
    	var rnd *rand.Rand
    	if checkEnabled {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top