- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for symabis (0.18 sec)
-
src/cmd/asm/main.go
log.Printf(format, args...) } if *flags.SymABIs { ok = parser.ParseSymABIs(buf) } else { pList := new(obj.Plist) pList.Firstpc, ok = parser.Parse() // reports errors to parser.Errorf if ok { obj.Flushplist(ctxt, pList, nil) } } if !ok { failedFile = f break } } if ok && !*flags.SymABIs { ctxt.NumberSyms() obj.WriteObjFile(ctxt, buf) }
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/cmd/compile/internal/ssagen/abi.go
"cmd/compile/internal/types" "cmd/internal/obj" "cmd/internal/obj/wasm" ) // SymABIs records information provided by the assembler about symbol // definition ABIs and reference ABIs. type SymABIs struct { defs map[string]obj.ABI refs map[string]obj.ABISet } func NewSymABIs() *SymABIs { return &SymABIs{ defs: make(map[string]obj.ABI), refs: make(map[string]obj.ABISet), } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 13.8K bytes - Viewed (0) -
src/cmd/go/internal/work/gc.go
return err } return sh.run(p.Dir, p.ImportPath, nil, args...) } var symabis string // Only set if we actually create the file p := a.Package if len(sfiles) != 0 { symabis = a.Objdir + "symabis" if err := mkSymabis(p, sfiles, symabis); err != nil { return "", err } } return symabis, nil } // toolVerify checks that the command line args writes the same output file
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 15:37:44 UTC 2024 - 23K bytes - Viewed (0) -
src/internal/abi/abi_test.go
out, err := cmd.CombinedOutput() if err != nil { t.Fatalf("go tool asm -gensymabis failed: %v\n%s", err, out) } // compile go code. cmd = testenv.Command(t, testenv.GoToolPath(t), "tool", "compile", "-importcfg="+importcfgfile, "-p=p", "-symabis", symabi, "-o", obj, goSrc) out, err = cmd.CombinedOutput() if err == nil { t.Fatalf("go tool compile did not fail") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 29 18:31:05 UTC 2023 - 2.4K bytes - Viewed (0) -
src/cmd/asm/internal/flags/flags.go
Linkshared = flag.Bool("linkshared", false, "generate code that will be linked against Go shared libraries") AllErrors = flag.Bool("e", false, "no limit on number of errors reported") SymABIs = flag.Bool("gensymabis", false, "write symbol ABI information to output file, don't assemble") Importpath = flag.String("p", obj.UnlinkablePkg, "set expected package import to path")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 19:18:23 UTC 2023 - 2.8K bytes - Viewed (0) -
src/cmd/dist/build.go
} } goasmh := pathf("%s/go_asm.h", workdir) // Collect symabis from assembly code. var symabis string if len(sfiles) > 0 { symabis = pathf("%s/symabis", workdir) var wg sync.WaitGroup asmabis := append(asmArgs[:len(asmArgs):len(asmArgs)], "-gensymabis", "-o", symabis) asmabis = append(asmabis, sfiles...) if err := os.WriteFile(goasmh, nil, 0666); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 18:34:40 UTC 2024 - 54K bytes - Viewed (0) -
src/cmd/go/internal/work/gccgo.go
return } fmt.Fprintf(os.Stderr, "cmd/go: gccgo: %s\n", gccgoErr) base.SetExitStatus(2) base.Exit() } func (tools gccgoToolchain) gc(b *Builder, a *Action, archive string, importcfg, embedcfg []byte, symabis string, asmhdr bool, pgoProfile string, gofiles []string) (ofile string, output []byte, err error) { p := a.Package sh := b.Shell(a) objdir := a.Objdir out := "_go_.o" ofile = objdir + out gcargs := []string{"-g"}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 02 22:18:34 UTC 2024 - 19K bytes - Viewed (0) -
src/cmd/asm/internal/asm/parse.go
case "TEXT": p.asmText(operands) default: return false } return true } // symDefRef scans a line for potential text symbol definitions and // references and writes symabis information to w. // // The symabis format is documented at // cmd/compile/internal/ssagen.ReadSymABIs. func (p *Parser) symDefRef(w io.Writer, word string, operands [][]lex.Token) { switch word { case "TEXT":
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 14:34:57 UTC 2024 - 36.9K bytes - Viewed (0) -
src/cmd/go/internal/work/exec.go
} need &^= needCompiledGoFiles } if need == 0 { // Nothing left to do. return nil } // Collect symbol ABI requirements from assembly. symabis, err := BuildToolchain.symabis(b, a, sfiles) if err != nil { return err } // Prepare Go import config. // We start it off with a comment so it can't be empty, so icfg.Bytes() below is never nil.
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/link/link_test.go
testenv.WriteImportcfg(t, importcfgfile, nil, "runtime") // Compile, assemble and pack the Go and C code. runGo("tool", "asm", "-p=main", "-gensymabis", "-o", "symabis", "x.s") runGo("tool", "compile", "-importcfg="+importcfgfile, "-symabis", "symabis", "-p=main", "-o", "x1.o", "main.go") runGo("tool", "asm", "-p=main", "-o", "x2.o", "x.s") run(cc, append(cflags, "-c", "-o", "x3.o", "x.c")...)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 20:26:02 UTC 2024 - 43.5K bytes - Viewed (0)