- Sort Score
- Result 10 results
- Languages All
Results 31 - 37 of 37 for lchflags (0.17 sec)
-
src/cmd/asm/main.go
default: log.Printf("unknown setting -spectre=%s", *flags.Spectre) os.Exit(2) case "": // nothing case "index": // known to compiler; ignore here so people can use // the same list with -gcflags=-spectre=LIST and -asmflags=-spectrre=LIST case "all", "ret": ctxt.Retpoline = true } ctxt.Bso = bufio.NewWriter(os.Stdout) defer ctxt.Bso.Flush() architecture.Init(ctxt)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 2.9K bytes - Viewed (0) -
src/net/cgo_unix_cgo.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build cgo && !netgo && unix && !darwin package net /* #define _GNU_SOURCE 1 #cgo CFLAGS: -fno-stack-protector #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <netdb.h> #include <unistd.h> #include <string.h> #include <stdlib.h> #ifndef EAI_NODATA
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 15 17:49:28 UTC 2024 - 2.2K bytes - Viewed (0) -
doc/next/3-tools.md
`reflect.TypeFor` function (introduced in go1.22) from a file in a module whose go.mod file specifies `go 1.21`. ### Cgo {#cgo} <!-- go.dev/issue/66456 --> [cmd/cgo] supports the new `-ldflags` flag for passing flags to the C linker. The `go` command uses it automatically, avoiding "argument list too long" errors with a very large `CGO_LDFLAGS`. ### Trace {#trace} <!-- go.dev/issue/65316 -->
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 28 19:06:07 UTC 2024 - 3.4K bytes - Viewed (0) -
src/cmd/internal/obj/x86/seh.go
if movbp.Link.Pc > math.MaxUint8 { // SEH unwind information don't support prologues that are more than 255 bytes long. // These are very rare, but still possible, e.g., when compiling functions with many // parameters with -gcflags=-d=maymorestack=runtime.mayMoreStackPreempt. // Return without reporting an error. return } // Reference: // https://learn.microsoft.com/en-us/cpp/build/exception-handling-x64#struct-unwind_info const (
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 14:41:10 UTC 2024 - 4.6K bytes - Viewed (0) -
src/cmd/compile/internal/test/pgo_devirtualize_test.go
t.Logf("Test without PGO:\n%s", b) if err != nil { t.Fatalf("Test failed without PGO: %v", err) } // Build the test with the profile. pprof := filepath.Join(dir, pgoProfileName) gcflag := fmt.Sprintf("-gcflags=-m=2 -pgoprofile=%s -d=pgodebug=3", pprof) out := filepath.Join(dir, "test.exe") cmd = testenv.CleanCmdEnv(testenv.Command(t, testenv.GoToolPath(t), "test", "-o", out, gcflag, ".")) cmd.Dir = dir pr, pw, err := os.Pipe()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 15 21:30:35 UTC 2024 - 8.5K bytes - Viewed (0) -
src/cmd/go/internal/modindex/scan.go
// which is the comment on import "C". func extractCgoDirectives(doc string) []string { var out []string for _, line := range strings.Split(doc, "\n") { // Line is // #cgo [GOOS/GOARCH...] LDFLAGS: stuff // line = strings.TrimSpace(line) if len(line) < 5 || line[:4] != "#cgo" || (line[4] != ' ' && line[4] != '\t') { continue } out = append(out, line) } return out
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 8.5K bytes - Viewed (0) -
src/cmd/objdump/objdump_test.go
func TestDisasmExtld(t *testing.T) { testenv.MustHaveCGO(t) switch runtime.GOOS { case "plan9": t.Skipf("skipping on %s", runtime.GOOS) } t.Parallel() testDisasm(t, "fmthello.go", false, false, "-ldflags=-linkmode=external") } func TestDisasmPIE(t *testing.T) { if !platform.BuildModeSupported("gc", "pie", runtime.GOOS, runtime.GOARCH) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 8.9K bytes - Viewed (0)