- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 165 for goGcflags (0.12 sec)
-
test/fixedbugs/issue59638.go
// build -gcflags=-l=4 // Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package p type Interface interface { MonitoredResource() (resType string, labels map[string]string) Done() } func Autodetect(x int) Interface { return func() Interface { func() Interface { x++ Do(func() { var ad, gd Interface
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 05 21:04:28 UTC 2023 - 1004 bytes - Viewed (0) -
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) -
src/cmd/go/internal/version/version.go
if len(args) == 0 { // If any of this command's flags were passed explicitly, error // out, because they only make sense with arguments. // // Don't error if the flags came from GOFLAGS, since that can be // a reasonable use case. For example, imagine GOFLAGS=-v to // turn "verbose mode" on for all Go commands, which should not // break "go version". var argOnlyFlag string if !base.InGOFLAGS("-m") && *versionM { argOnlyFlag = "-m"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 24 19:27:00 UTC 2023 - 4.8K bytes - Viewed (0) -
src/cmd/compile/internal/test/ssa_test.go
ok := os.WriteFile(rungo, stdout.Bytes(), 0600) if ok != nil { t.Fatalf("Failed to create temporary file " + rungo) } stdout.Reset() stderr.Reset() cmd = testenv.Command(t, gotool, "run", "-gcflags=-d=ssa/check/on", rungo) cmd.Stdout = &stdout cmd.Stderr = &stderr cmd.Env = append(cmd.Env, ev...) err := cmd.Run() if err != nil { t.Fatalf("Failed: %v:\nOut: %s\nStderr: %s\n", err, &stdout, &stderr) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 05 23:35:29 UTC 2023 - 4.9K bytes - Viewed (0) -
test/maymorestack.go
// run -gcflags=-d=maymorestack=main.mayMoreStack // Copyright 2021 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Test the maymorestack testing hook by injecting a hook that counts // how many times it is called and checking that count. package main import "runtime" var count uint32 //go:nosplit func mayMoreStack() { count++
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 05 00:52:06 UTC 2021 - 1.1K bytes - Viewed (0) -
test/codegen/clobberdead.go
// asmcheck -gcflags=-clobberdead //go:build amd64 || arm64 // Copyright 2021 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package codegen type T [2]*int // contain pointer, not SSA-able (so locals are not registerized) var p1, p2, p3 T func F() { // 3735936685 is 0xdeaddead. On ARM64 R27 is REGTMP.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 1.3K bytes - Viewed (0) -
test/codegen/clobberdeadreg.go
// asmcheck -gcflags=-clobberdeadreg //go:build amd64 // Copyright 2021 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package codegen type S struct { a, b, c, d, e, f int } func F(a, b, c int, d S) { // -2401018187971961171 is 0xdeaddeaddeaddead
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 1.3K bytes - Viewed (0) -
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) -
src/cmd/link/dwarf_test.go
if buildmode != "" { cmd.Args = append(cmd.Args, "-buildmode", buildmode) } cmd.Args = append(cmd.Args, dir) cmd.Env = append(os.Environ(), env...) cmd.Env = append(cmd.Env, "CGO_CFLAGS=") // ensure CGO_CFLAGS does not contain any flags. Issue #35459 cmd.Env = append(cmd.Env, "LINK_TEST_TOOLEXEC=1") out, err := cmd.CombinedOutput() if err != nil { t.Fatalf("go build -o %v %v: %v\n%s", exe, dir, err, out)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 03 17:05:14 UTC 2023 - 6.9K bytes - Viewed (0) -
src/cmd/go/testdata/script/cgo_path_space_quote.txt
# spaces. Arguments are normally split on spaces, tabs, newlines. If an # argument contains these characters, the entire argument may be quoted # with single or double quotes. This is the same as -gcflags and similar # options. [short] skip [!exec:clang] [!exec:gcc] skip [!cgo] skip env GOENV=$WORK/go.env mkdir 'program files' go build -o 'program files' './which cc/which cc.go'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 16 20:23:26 UTC 2021 - 1.2K bytes - Viewed (0)