Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for symabis (0.22 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/cmd/compile/internal/ir/func.go

    	name := NewNameAt(npos, sym, typ)
    	name.Class = PFUNC
    	sym.SetFunc(true)
    
    	fn := &Func{Nname: name}
    	fn.pos = fpos
    	fn.op = ODCLFUNC
    	// Most functions are ABIInternal. The importer or symabis
    	// pass may override this.
    	fn.ABI = obj.ABIInternal
    	fn.SetTypecheck(1)
    
    	name.Func = fn
    
    	return fn
    }
    
    func (f *Func) isStmt() {}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  9. src/debug/elf/elf.go

    /* Symbol visibility - ELFNN_ST_VISIBILITY - st_other */
    type SymVis int
    
    const (
    	STV_DEFAULT   SymVis = 0x0 /* Default visibility (see binding). */
    	STV_INTERNAL  SymVis = 0x1 /* Special meaning in relocatable objects. */
    	STV_HIDDEN    SymVis = 0x2 /* Not visible. */
    	STV_PROTECTED SymVis = 0x3 /* Visible but not preemptible. */
    )
    
    var stvStrings = []intName{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 00:01:16 UTC 2024
    - 134.6K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/data.go

    	// matches a real symbol. The dynamic linker assumes we
    	// want the normal symbol with the same address and finds
    	// it in the other module.)
    	//
    	// To work around this we lay out the symbls whose
    	// addresses are vital for multi-module programs to work
    	// as normal symbols, and give them a little size.
    	//
    	// On AIX, as all DATA sections are merged together, ld might not put
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
Back to top