- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 187 for lchflags (0.16 sec)
-
src/cmd/go/internal/work/exec.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 14:46:37 UTC 2024 - 105.6K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/cc_test.go
if compiler.name == "gcc" { c.cFlags = append(c.cFlags, "-fPIC") c.ldFlags = append(c.ldFlags, "-fPIC", "-static-libtsan") } case "address": c.goFlags = append(c.goFlags, "-asan") // Set the debug mode to print the C stack trace. c.cFlags = append(c.cFlags, "-g") case "fuzzer": c.goFlags = append(c.goFlags, "-tags=libfuzzer", "-gcflags=-d=libfuzzer") default:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 09 20:00:56 UTC 2024 - 14.4K bytes - Viewed (0) -
src/cmd/go/testdata/script/darwin_lto_library_ldflag.txt
[!GOOS:darwin] skip [!cgo] skip ! go build stderr 'invalid flag in #cgo LDFLAGS: -lto_library' -- go.mod -- module ldflag -- main.go -- package main // #cgo CFLAGS: -flto // #cgo LDFLAGS: -lto_library bad.dylib import "C"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 15:41:16 UTC 2024 - 241 bytes - Viewed (0) -
src/cmd/go/internal/work/gc.go
} else { compiler = envList("CC", cfg.DefaultCC(cfg.Goos, cfg.Goarch)) } ldflags = append(ldflags, "-buildmode="+ldBuildmode) if root.buildID != "" { ldflags = append(ldflags, "-buildid="+root.buildID) } ldflags = append(ldflags, forcedLdflags...) ldflags = append(ldflags, root.Package.Internal.Ldflags...) ldflags, err := setextld(ldflags, compiler) if err != nil { return err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 15:37:44 UTC 2024 - 23K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_ppc64_linker_funcs.txt
[!GOOS:linux] skip [!compiler:gc] skip [!cgo] skip [!GOARCH:ppc64le] skip go build -ldflags='-linkmode=internal' exec ./abitest stdout success go build -buildmode=pie -o abitest.pie -ldflags='-linkmode=internal' exec ./abitest.pie stdout success -- go.mod -- module abitest -- abitest.go -- package main /* #cgo CFLAGS: -Os int foo_fpr() { asm volatile("":::"fr31","fr30","fr29","fr28"); }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 19 20:54:08 UTC 2024 - 1K bytes - Viewed (0) -
src/cmd/cgo/internal/testerrors/errors_test.go
} func TestToleratesOptimizationFlag(t *testing.T) { for _, cflags := range []string{ "", "-O", } { cflags := cflags t.Run(cflags, func(t *testing.T) { testenv.MustHaveGoBuild(t) testenv.MustHaveCGO(t) t.Parallel() cmd := exec.Command("go", "build", path("issue14669.go")) cmd.Env = append(os.Environ(), "CGO_CFLAGS="+cflags) out, err := cmd.CombinedOutput() if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 4K bytes - Viewed (0) -
src/cmd/link/elf_test.go
t.Logf("%s %v -c -o %s %s", cc, cflags, obj, csrcFile) if out, err := testenv.Command(t, cc, append(cflags, "-c", "-o", obj, csrcFile)...).CombinedOutput(); err != nil { t.Logf("%s", out) t.Fatal(err) } } sysoObj := filepath.Join(dir, "ldr.syso") t.Logf("%s %v -nostdlib -r -o %s %v", cc, cflags, sysoObj, objs)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 16:34:01 UTC 2023 - 13.7K bytes - Viewed (0) -
src/runtime/msan/msan.go
// license that can be found in the LICENSE file. //go:build msan && ((linux && (amd64 || arm64 || loong64)) || (freebsd && amd64)) package msan /* #cgo CFLAGS: -fsanitize=memory #cgo LDFLAGS: -fsanitize=memory #include <stdint.h> #include <sanitizer/msan_interface.h> void __msan_read_go(void *addr, uintptr_t sz) { __msan_check_mem_is_initialized(addr, sz); }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 25 20:58:13 UTC 2023 - 729 bytes - Viewed (0) -
src/cmd/cgo/internal/testplugin/plugin_test.go
return m.Run() } func goCmd(t *testing.T, op string, args ...string) string { if t != nil { t.Helper() } var flags []string if op != "tool" { flags = []string{"-gcflags", gcflags} } return run(t, filepath.Join(goroot, "bin", "go"), append(append([]string{op}, flags...), args...)...) } // escape converts a string to something suitable for a shell command line.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:32:53 UTC 2024 - 12.3K bytes - Viewed (0) -
src/runtime/asan/asan.go
// license that can be found in the LICENSE file. //go:build asan && linux && (arm64 || amd64 || loong64 || riscv64 || ppc64le) package asan /* #cgo CFLAGS: -fsanitize=address #cgo LDFLAGS: -fsanitize=address #include <stdbool.h> #include <stdint.h> #include <sanitizer/asan_interface.h> void __asan_read_go(void *addr, uintptr_t sz, void *sp, void *pc) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 29 00:22:11 UTC 2023 - 2.3K bytes - Viewed (0)