Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 515 for symname (0.11 sec)

  1. src/cmd/vendor/golang.org/x/arch/x86/x86asm/intel.go

    package x86asm
    
    import (
    	"fmt"
    	"strings"
    )
    
    // IntelSyntax returns the Intel assembler syntax for the instruction, as defined by Intel's XED tool.
    func IntelSyntax(inst Inst, pc uint64, symname SymLookup) string {
    	if symname == nil {
    		symname = func(uint64) (string, uint64) { return "", 0 }
    	}
    
    	var iargs []Arg
    	for _, a := range inst.Args {
    		if a == nil {
    			break
    		}
    		iargs = append(iargs, a)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 22:23:32 UTC 2017
    - 11.7K bytes
    - Viewed (0)
  2. src/plugin/plugin_dlopen.go

    	doInit(initTasks)
    
    	// Fill out the value of each plugin symbol.
    	updatedSyms := map[string]any{}
    	for symName, sym := range syms {
    		isFunc := symName[0] == '.'
    		if isFunc {
    			delete(syms, symName)
    			symName = symName[1:]
    		}
    
    		fullName := pluginpath + "." + symName
    		cname := make([]byte, len(fullName)+1)
    		copy(cname, fullName)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 14 16:55:22 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  3. src/cmd/link/internal/arm64/asm.go

    		if targType == sym.SDYNIMPORT {
    			ldr.Errorf(s, "unexpected R_AARCH64_PREL32 relocation for dynamic symbol %s", ldr.SymName(targ))
    		}
    		if targType == 0 || targType == sym.SXREF {
    			ldr.Errorf(s, "unknown symbol %s in pcrel", ldr.SymName(targ))
    		}
    		su := ldr.MakeSymbolUpdater(s)
    		su.SetRelocType(rIdx, objabi.R_PCREL)
    		su.SetRelocAdd(rIdx, r.Add()+4)
    		return true
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 20:09:45 UTC 2024
    - 47K bytes
    - Viewed (0)
  4. src/cmd/link/internal/riscv64/asm.go

    		relocs := ldr.Relocs(rs)
    		if relocs.Count() != 1 {
    			ldr.Errorf(s, "trampoline %v has %d relocations", ldr.SymName(rs), relocs.Count())
    		}
    		tr := relocs.At(0)
    		if tr.Type() != objabi.R_RISCV_CALL {
    			ldr.Errorf(s, "trampoline %v has unexpected relocation %v", ldr.SymName(rs), tr.Type())
    		}
    		trs := tr.Sym()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 01 08:06:08 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/heap.go

    	// sift down
    	i := 0
    	for {
    		c := 2*i + 1 // left child
    		if c >= n {
    			break
    		}
    		if c1 := c + 1; c1 < n && ldr.SymName((*h)[c1]) < ldr.SymName((*h)[c]) {
    			c = c1 // right child
    		}
    		if ldr.SymName((*h)[i]) <= ldr.SymName((*h)[c]) {
    			break
    		}
    		(*h)[i], (*h)[c] = (*h)[c], (*h)[i]
    		i = c
    	}
    
    	return r
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 14 16:55:22 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/arch/x86/x86asm/plan9x.go

    // PC-relative addresses into absolute ones.
    // The symname function queries the symbol table for the program
    // being disassembled. Given a target address it returns the name and base
    // address of the symbol containing the target, if any; otherwise it returns "", 0.
    func GoSyntax(inst Inst, pc uint64, symname SymLookup) string {
    	if symname == nil {
    		symname = func(uint64) (string, uint64) { return "", 0 }
    	}
    	var args []string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/deadcode.go

    				rsn := d.ldr.SymName(rs)
    				if !strings.Contains(rsn, "map.init") {
    					panic(fmt.Sprintf("internal error: expected map.init sym for weak call reloc, got %s -> %s", d.ldr.SymName(idx), rsn))
    				}
    				d.ldr.SetAttrReachable(d.mapinitnoop, true)
    				if d.ctxt.Debugvlog > 1 {
    					d.ctxt.Logf("deadcode: %s rewrite %s ref to %s\n",
    						d.ldr.SymName(idx), rsn,
    						d.ldr.SymName(d.mapinitnoop))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 14:52:41 UTC 2024
    - 19K bytes
    - Viewed (0)
  8. src/plugin/plugin.go

    	return open(path)
    }
    
    // Lookup searches for a symbol named symName in plugin p.
    // A symbol is any exported variable or function.
    // It reports an error if the symbol is not found.
    // It is safe for concurrent use by multiple goroutines.
    func (p *Plugin) Lookup(symName string) (Symbol, error) {
    	return lookup(p, symName)
    }
    
    // A Symbol is a pointer to a variable or function.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 19:46:10 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  9. src/cmd/link/internal/amd64/asm.go

    		if targType == sym.SDYNIMPORT {
    			ldr.Errorf(s, "unexpected R_X86_64_PC32 relocation for dynamic symbol %s", ldr.SymName(targ))
    		}
    		if targType == 0 || targType == sym.SXREF {
    			ldr.Errorf(s, "unknown symbol %s in pcrel", ldr.SymName(targ))
    		}
    		su := ldr.MakeSymbolUpdater(s)
    		su.SetRelocType(rIdx, objabi.R_PCREL)
    		su.SetRelocAdd(rIdx, r.Add()+4)
    		return true
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 21K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssagen/abi.go

    		nam := fn.Nname
    		if ir.IsBlank(nam) {
    			continue
    		}
    		sym := nam.Sym()
    
    		symName := sym.Linkname
    		if symName == "" {
    			symName = sym.Pkg.Prefix + "." + sym.Name
    		}
    		symName = s.canonicalize(symName)
    
    		// Apply definitions.
    		defABI, hasDefABI := s.defs[symName]
    		if hasDefABI {
    			if len(fn.Body) != 0 {
    				base.ErrorfAt(fn.Pos(), 0, "%v defined in both Go and assembly", fn)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 13.8K bytes
    - Viewed (0)
Back to top