- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 35 for gdbcmd (3.23 sec)
-
src/cmd/cgo/internal/testsanitizers/asan_test.go
t.Skipf("skipping on %s/%s: too old version of compiler", goos, goarch) } t.Parallel() requireOvercommit(t) config := configure("address") config.skipIfCSanitizerBroken(t) mustRun(t, config.goCmd("build", "std")) cases := []struct { src string memoryAccessError string errorLocation string experiments []string }{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 19 01:37:31 UTC 2023 - 5.3K bytes - Viewed (0) -
src/go/internal/srcimporter/srcimporter.go
tmpdir, err := os.MkdirTemp("", "srcimporter") if err != nil { return nil, err } defer os.RemoveAll(tmpdir) goCmd := "go" if p.ctxt.GOROOT != "" { goCmd = filepath.Join(p.ctxt.GOROOT, "bin", "go") } args := []string{goCmd, "tool", "cgo", "-objdir", tmpdir} if bp.Goroot { switch bp.ImportPath { case "runtime/cgo":
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 23 18:54:32 UTC 2022 - 8.2K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/cshared_test.go
config := configure(tc.sanitizer) config.skipIfCSanitizerBroken(t) dir := newTempDir(t) defer dir.RemoveAll(t) lib := dir.Join(fmt.Sprintf("lib%s.%s", name, libExt)) mustRun(t, config.goCmd("build", "-buildmode=c-shared", "-o", lib, srcPath(tc.src))) cSrc := dir.Join("main.c") if err := os.WriteFile(cSrc, cMain, 0600); err != nil { t.Fatalf("failed to write C source file: %v", err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 19 01:37:31 UTC 2023 - 2.1K bytes - Viewed (0) -
src/cmd/go/scriptcmds_test.go
Summary: "run the platform C compiler", Args: "args...", }, func(s *script.State, args ...string) (script.WaitFunc, error) { b := work.NewBuilder(s.Getwd()) wait, err := cmdExec.Run(s, append(b.GccCmd(".", ""), args...)...) if err != nil { return wait, err } waitAndClean := func(s *script.State) (stdout, stderr string, err error) { stdout, stderr, err = wait(s)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 18:33:17 UTC 2024 - 3.3K bytes - Viewed (0) -
src/flag/flag_test.go
defer func() { os.Args = oldArgs }() os.Args = []string{"cmd", "-before", "subcmd", "-after", "args"} before := Bool("before", false, "") if err := CommandLine.Parse(os.Args[1:]); err != nil { t.Fatal(err) } cmd := Arg(0) os.Args = Args() after := Bool("after", false, "") Parse() args := Args() if !*before || cmd != "subcmd" || !*after || len(args) != 1 || args[0] != "args" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:38:24 UTC 2024 - 22K bytes - Viewed (0) -
src/crypto/tls/bogo_shim_test.go
fmt.Sprintf("-json-output=%s", resultsFile), } if *bogoFilter != "" { args = append(args, fmt.Sprintf("-test=%s", *bogoFilter)) } goCmd, err := testenv.GoTool() if err != nil { t.Fatal(err) } cmd := exec.Command(goCmd, args...) out := &strings.Builder{} cmd.Stderr = out cmd.Dir = filepath.Join(bogoDir, "ssl/test/runner") err = cmd.Run()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:25:39 UTC 2024 - 12.6K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/cli.go
if *flag { if si == "" { return sampleType } ui.PrintErr("Multiple value selections, ignoring ", option) } return si } func outputFormat(bcmd map[string]*bool, acmd map[string]*string) (cmd []string, err error) { for n, b := range bcmd { if *b { if cmd != nil { return nil, errors.New("must set at most one output format") } cmd = []string{n} } } for n, s := range acmd {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 15 16:39:48 UTC 2023 - 12.1K bytes - Viewed (0) -
src/cmd/fix/typecheck.go
} defer os.RemoveAll(dir) err = os.WriteFile(filepath.Join(dir, "in.go"), txt, 0600) if err != nil { return err } goCmd := "go" if goroot := runtime.GOROOT(); goroot != "" { goCmd = filepath.Join(goroot, "bin", "go") } cmd := exec.Command(goCmd, "tool", "cgo", "-objdir", dir, "-srcdir", dir, "in.go") if reportCgoError != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 16 22:02:42 UTC 2022 - 20.1K bytes - Viewed (0) -
src/cmd/go/internal/work/exec.go
} return err } // GccCmd returns a gcc command line prefix // defaultCC is defined in zdefaultcc.go, written by cmd/dist. func (b *Builder) GccCmd(incdir, workdir string) []string { return b.compilerCmd(b.ccExe(), incdir, workdir) } // GxxCmd returns a g++ command line prefix // defaultCXX is defined in zdefaultcc.go, written by cmd/dist. func (b *Builder) GxxCmd(incdir, workdir string) []string {
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 configs.m == nil { configs.m = make(map[string]*config) } configs.m[sanitizer] = c return c } // goCmd returns a Cmd that executes "go $subcommand $args" with appropriate // additional flags and environment. func (c *config) goCmd(subcommand string, args ...string) *exec.Cmd { return c.goCmdWithExperiments(subcommand, args, nil) } // goCmdWithExperiments returns a Cmd that executes
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 09 20:00:56 UTC 2024 - 14.4K bytes - Viewed (0)