Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 37 for goGcflags (0.2 sec)

  1. src/cmd/go/internal/help/helpdoc.go

    		from appearing in #cgo CFLAGS source code directives.
    		Does not apply to the CGO_CFLAGS environment variable.
    	CGO_CPPFLAGS, CGO_CPPFLAGS_ALLOW, CGO_CPPFLAGS_DISALLOW
    		Like CGO_CFLAGS, CGO_CFLAGS_ALLOW, and CGO_CFLAGS_DISALLOW,
    		but for the C preprocessor.
    	CGO_CXXFLAGS, CGO_CXXFLAGS_ALLOW, CGO_CXXFLAGS_DISALLOW
    		Like CGO_CFLAGS, CGO_CFLAGS_ALLOW, and CGO_CFLAGS_DISALLOW,
    		but for the C++ compiler.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/inl_test.go

    		args := []string{"build", "-gcflags=runtime=-m", "runtime"}
    		cmd := testenv.Command(t, testenv.GoToolPath(t), args...)
    		b, err := cmd.CombinedOutput()
    		if err != nil {
    			t.Fatalf("build failed (%v): %s", err, b)
    		}
    		mbase := collectInlCands(string(b))
    
    		// Redo the build with -cover, also with "-m".
    		args = []string{"build", "-gcflags=runtime=-m", mode, "runtime"}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/dwarf_test.go

    		t.Helper()
    		t.Skipf("skipping on %s/%s: no DWARF symbol table in executables", runtime.GOOS, runtime.GOARCH)
    	}
    }
    
    const (
    	DefaultOpt = "-gcflags="
    	NoOpt      = "-gcflags=-l -N"
    	OptInl4    = "-gcflags=-l=4"
    	OptAllInl4 = "-gcflags=all=-l=4"
    )
    
    func TestRuntimeTypesPresent(t *testing.T) {
    	t.Parallel()
    	testenv.MustHaveGoBuild(t)
    
    	mustHaveDWARF(t)
    
    	dir := t.TempDir()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 01:38:11 UTC 2024
    - 48.6K bytes
    - Viewed (0)
  4. src/cmd/go/internal/work/gc.go

    	if symabis != "" {
    		defaultGcFlags = append(defaultGcFlags, "-symabis", symabis)
    	}
    
    	gcflags := str.StringList(forcedGcflags, p.Internal.Gcflags)
    	if p.Internal.FuzzInstrument {
    		gcflags = append(gcflags, fuzzInstrumentFlags()...)
    	}
    	// Add -c=N to use concurrent backend compilation, if possible.
    	if c := gcBackendConcurrency(gcflags); c > 1 {
    		defaultGcFlags = append(defaultGcFlags, fmt.Sprintf("-c=%d", c))
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:37:44 UTC 2024
    - 23K bytes
    - Viewed (0)
  5. hack/update-vendor.sh

    kube::golang::setup_env
    
    # Turn off workspaces until we are ready for them later
    export GOWORK=off
    # Explicitly opt into go modules
    export GO111MODULE=on
    # Explicitly set GOFLAGS to ignore vendor, since GOFLAGS=-mod=vendor breaks dependency resolution while rebuilding vendor
    export GOFLAGS=-mod=mod
    # Ensure sort order doesn't depend on locale
    export LANG=C
    export LC_ALL=C
    # Detect problematic GOPROXY settings that prevent lookup of dependencies
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:08 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  6. src/cmd/link/link_test.go

    	cmd := testenv.Command(t, testenv.GoToolPath(t), "build", "-buildmode=c-archive", "-o", ar, lib)
    	env := []string{
    		"CGO_ENABLED=1",
    		"GOOS=ios",
    		"GOARCH=arm64",
    		"CC=" + strings.Join(CC, " "),
    		"CGO_CFLAGS=", // ensure CGO_CFLAGS does not contain any flags. Issue #35459
    		"CGO_LDFLAGS=" + strings.Join(CGO_LDFLAGS, " "),
    	}
    	cmd.Env = append(os.Environ(), env...)
    	t.Logf("%q %v", env, cmd)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:02 UTC 2024
    - 43.5K bytes
    - Viewed (0)
  7. src/cmd/go/internal/work/build.go

    different sets of packages. If a package matches patterns given in
    multiple flags, the latest match on the command line wins.
    For example, 'go build -gcflags=-S fmt' prints the disassembly
    only for package fmt, while 'go build -gcflags=all=-S fmt'
    prints the disassembly for fmt and all its dependencies.
    
    For more about specifying packages, see 'go help packages'.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 17:22:59 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/inline/inlheur/funcprops_test.go

    // causing the test to fail when being run interactively. E.g.
    //
    //	$ rm -f dump.txt
    //	$ go build -o foo.a -gcflags=-d=dumpinlfuncprops=dump.txt foo.go
    //	$ rm -f dump.txt foo.a
    //	$ go build -o foo.a -gcflags=-d=dumpinlfuncprops=dump.txt foo.go
    //	$ ls foo.a dump.txt > /dev/null
    //	ls : cannot access 'dump.txt': No such file or directory
    //	$
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:25 UTC 2023
    - 15K bytes
    - Viewed (0)
  9. src/cmd/go/internal/test/testflag.go

    			explicitArgs = append(explicitArgs, fmt.Sprintf("-test.%s=%v", short, f.Value))
    
    			// This flag has been overridden explicitly, so don't forward its implicit
    			// value from GOFLAGS.
    			delete(addFromGOFLAGS, short)
    			delete(addFromGOFLAGS, "test."+short)
    		}
    
    		args = remainingArgs
    	}
    	if firstUnknownFlag != "" && testC {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 19:25:24 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/testcarchive/carchive_test.go

    	"strings"
    	"sync"
    	"syscall"
    	"testing"
    	"time"
    	"unicode"
    )
    
    var globalSkip = func(t *testing.T) {}
    
    // Program to run.
    var bin []string
    
    // C compiler with args (from $(go env CC) $(go env GOGCCFLAGS)).
    var cc []string
    
    // ".exe" on Windows.
    var exeSuffix string
    
    var GOOS, GOARCH, GOPATH string
    var libgodir string
    
    var testWork bool // If true, preserve temporary directories.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 34.8K bytes
    - Viewed (0)
Back to top