Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for gcflags (0.15 sec)

  1. src/cmd/internal/testdir/testdir_test.go

    		pkgs := goDirPackages(t.T, longdir, singlefilepkgs)
    		// Split flags into gcflags and ldflags
    		ldflags := []string{}
    		for i, fl := range flags {
    			if fl == "-ldflags" {
    				ldflags = flags[i+1:]
    				flags = flags[0:i]
    				break
    			}
    		}
    
    		importcfgfile := importcfg(pkgs)
    
    		for i, pkg := range pkgs {
    			_, err := compileInDir(runcmd, longdir, flags, importcfgfile, pkg.name, pkg.files...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  2. 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)
  3. src/cmd/dist/build.go

    		fatalf("json marshal error: %v", err)
    	}
    	if _, err := os.Stdout.Write(out); err != nil {
    		fatalf("write failed: %v", err)
    	}
    }
    
    func setNoOpt() {
    	for _, gcflag := range strings.Split(gogcflags, " ") {
    		if gcflag == "-N" || gcflag == "-l" {
    			noOpt = true
    			break
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  4. src/cmd/go/go_test.go

    	skipIfGccgo(t, "gccgo does not support -ldflags -X")
    	tooSlow(t, "compiles and links a binary")
    
    	tg := testgo(t)
    	defer tg.cleanup()
    	tg.parallel()
    	tg.tempFile("main.go", `package main
    		var extern string
    		func main() {
    			println(extern)
    		}`)
    	tg.run("run", "-ldflags", `-X "main.extern=hello world"`, tg.path("main.go"))
    	tg.grepStderr("^hello world", `ldflags -X "main.extern=hello world"' failed`)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  5. src/regexp/testdata/testregex.c

    				case 'i':
    					cflags |= REG_ICASE;
    					continue;
    				case 'j':
    					cflags |= REG_SPAN;
    					continue;
    				case 'k':
    					cflags |= REG_ESCAPE;
    					continue;
    				case 'l':
    					cflags |= REG_LEFT;
    					continue;
    				case 'm':
    					cflags |= REG_MINIMAL;
    					continue;
    				case 'n':
    					cflags |= REG_NEWLINE;
    					continue;
    				case 'o':
    					cflags |= REG_SHELL_GROUP;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 51.3K bytes
    - Viewed (0)
  6. src/cmd/link/internal/loader/loader.go

    	// Bitmaps and other side structures used to store data used to store
    	// symbol flags/attributes; these are to be accessed via the
    	// corresponding loader "AttrXXX" and "SetAttrXXX" methods. Please
    	// visit the comments on these methods for more details on the
    	// semantics / interpretation of the specific flags or attribute.
    	attrReachable        Bitmap // reachable symbols, indexed by global index
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  7. src/go/build/build.go

    			}
    			args[i] = arg
    		}
    
    		switch verb {
    		case "CFLAGS", "CPPFLAGS", "CXXFLAGS", "FFLAGS", "LDFLAGS":
    			// Change relative paths to absolute.
    			ctxt.makePathsAbsolute(args, di.Dir)
    		}
    
    		switch verb {
    		case "CFLAGS":
    			di.CgoCFLAGS = append(di.CgoCFLAGS, args...)
    		case "CPPFLAGS":
    			di.CgoCPPFLAGS = append(di.CgoCPPFLAGS, args...)
    		case "CXXFLAGS":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.go

    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Fchflags(fd int, flags int) (err error) {
    	_, _, e1 := syscall_syscall(libc_fchflags_trampoline_addr, uintptr(fd), uintptr(flags), 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    var libc_fchflags_trampoline_addr uintptr
    
    //go:cgo_import_dynamic libc_fchflags fchflags "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.go

    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Fchflags(fd int, flags int) (err error) {
    	_, _, e1 := syscall_syscall(libc_fchflags_trampoline_addr, uintptr(fd), uintptr(flags), 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    var libc_fchflags_trampoline_addr uintptr
    
    //go:cgo_import_dynamic libc_fchflags fchflags "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  10. src/syscall/zsyscall_darwin_arm64.go

    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Fchflags(fd int, flags int) (err error) {
    	_, _, e1 := syscall(abi.FuncPCABI0(libc_fchflags_trampoline), uintptr(fd), uintptr(flags), 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_fchflags_trampoline()
    
    //go:cgo_import_dynamic libc_fchflags fchflags "/usr/lib/libSystem.B.dylib"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 27 21:34:30 UTC 2023
    - 51.7K bytes
    - Viewed (0)
Back to top