Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for GCCGO (0.04 sec)

  1. src/cmd/go/go_test.go

    	// so the test should not have been rerun.
    	tg.grepStderr(`([\\/]compile|gccgo).*t2_test.go`, "did not recompile t2")
    	tg.grepStderr(`([\\/]link|gccgo).*t2\.test`, "did not relink t2_test")
    	// This check does not currently work with gccgo, as garbage
    	// collection of unused variables is not turned on by default.
    	if runtime.Compiler != "gccgo" {
    		tg.grepStdout(`ok  \tt/t2\t\(cached\)`, "did not cache t/t2")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  2. src/cmd/cgo/out.go

    }
    
    // gccgoToSymbol converts a name to a mangled symbol for gccgo.
    func gccgoToSymbol(ppath string) string {
    	if gccgoMangler == nil {
    		var err error
    		cmd := os.Getenv("GCCGO")
    		if cmd == "" {
    			cmd, err = exec.LookPath("gccgo")
    			if err != nil {
    				fatalf("unable to locate gccgo: %v", err)
    			}
    		}
    		gccgoMangler, err = pkgpath.ToSymbolFunc(cmd, *objDir)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  3. src/go/build/build.go

    	}
    	switch ctxt.Compiler {
    	case "gccgo":
    		pkgtargetroot = "pkg/gccgo_" + ctxt.GOOS + "_" + ctxt.GOARCH + suffix
    	case "gc":
    		pkgtargetroot = "pkg/" + ctxt.GOOS + "_" + ctxt.GOARCH + suffix
    	default:
    		// Save error for end of function.
    		pkgerr = fmt.Errorf("import %q: unknown compiler %q", path, ctxt.Compiler)
    	}
    	setPkga := func() {
    		switch ctxt.Compiler {
    		case "gccgo":
    			dir, elem := pathpkg.Split(p.ImportPath)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  4. src/runtime/pprof/pprof_test.go

    		} else {
    			foo *= foo + 2
    		}
    	}
    	return foo
    }
    
    // Return a list of functions that we don't want to ever appear in CPU
    // profiles. For gccgo, that list includes the sigprof handler itself.
    func avoidFunctions() []string {
    	if runtime.Compiler == "gccgo" {
    		return []string{"runtime.sigprof"}
    	}
    	return nil
    }
    
    func TestCPUProfile(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modload/load.go

    	}
    
    	pkg.inStd = (search.IsStandardImportPath(pkg.path) && search.InDir(pkg.dir, cfg.GOROOTsrc) != "")
    
    	var imports, testImports []string
    
    	if cfg.BuildContext.Compiler == "gccgo" && pkg.inStd {
    		// We can't scan standard packages for gccgo.
    	} else {
    		var err error
    		imports, testImports, err = scanDir(modroot, pkg.dir, ld.Tags)
    		if err != nil {
    			pkg.err = err
    			return
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
  6. src/cmd/cgo/gcc.go

    // from the original Go source files to the names
    // used in the final Go files generated by cgo.
    func (p *Package) mangleName(n *Name) {
    	// When using gccgo variables have to be
    	// exported so that they become global symbols
    	// that the C code can refer to.
    	prefix := "_C"
    	if *gccgo && n.IsVar() {
    		prefix = "C"
    	}
    	n.Mangle = prefix + n.Kind + "_" + n.Go
    }
    
    func (f *File) isMangledName(s string) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  7. src/cmd/dist/test.go

    // internal/platform.BuildModeSupported, which can't be used here
    // because cmd/dist can not import internal packages during bootstrap.
    func buildModeSupported(compiler, buildmode, goos, goarch string) bool {
    	if compiler == "gccgo" {
    		return true
    	}
    
    	platform := goos + "/" + goarch
    
    	switch buildmode {
    	case "archive":
    		return true
    
    	case "c-archive":
    		switch goos {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  8. src/cmd/internal/testdir/testdir_test.go

    // expectFail reports whether the (overall) test recipe is
    // expected to fail under the current build+test configuration.
    func (t test) expectFail() bool {
    	failureSets := []map[string]bool{types2Failures}
    
    	// Note: gccgo supports more 32-bit architectures than this, but
    	// hopefully the 32-bit failures are fixed before this matters.
    	switch goarch {
    	case "386", "arm", "mips", "mipsle":
    		failureSets = append(failureSets, types2Failures32Bit)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  9. src/runtime/malloc.go

    		// without running in to some other mapping.
    		//
    		// 2. This makes Go heap addresses more easily
    		// recognizable when debugging.
    		//
    		// 3. Stack scanning in gccgo is still conservative,
    		// so it's important that addresses be distinguishable
    		// from other data.
    		//
    		// Starting at 0x00c0 means that the valid memory addresses
    		// will begin 0x00c0, 0x00c1, ...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/api_test.go

    type T = foo.T
    var v T = c
    func f(x T) T { return foo.F(x) }
    `
    	f := mustParse(src)
    	files := []*syntax.File{f}
    
    	// type-check using all possible importers
    	for _, compiler := range []string{"gc", "gccgo", "source"} {
    		errcount := 0
    		conf := Config{
    			Error: func(err error) {
    				// we should only see the import error
    				if errcount > 0 || !strings.Contains(err.Error(), "could not import") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
Back to top