- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 144 for symName (0.16 sec)
-
src/cmd/link/internal/loadpe/ldpe.go
if psz, ok2 := comdatDefinitions[l.SymName(s)]; ok2 { if sz == psz { // OK to discard, we've seen an instance // already. continue } } } if l.OuterSym(s) != 0 { if l.AttrDuplicateOK(s) { continue } outerName := l.SymName(l.OuterSym(s)) sectName := l.SymName(state.sectsyms[sect])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 18 20:26:46 UTC 2023 - 26.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/plan9.go
// PC-relative addresses into absolute ones. // The symname function queries the symbol table for the program // being disassembled. 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 func(uint64) (string, uint64)) string { if symname == nil { symname = func(uint64) (string, uint64) { return "", 0 } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 22 17:16:14 UTC 2022 - 10.9K bytes - Viewed (0) -
src/cmd/compile/internal/staticdata/data.go
func StringSym(pos src.XPos, s string) (data *obj.LSym) { var symname string if len(s) > 100 { // Huge strings are hashed to avoid long names in object files. // Indulge in some paranoia by writing the length of s, too, // as protection against length extension attacks. // Same pattern is known to fileStringSym below. h := notsha256.New() io.WriteString(h, s) symname = fmt.Sprintf(stringSymPattern, len(s), shortHashString(h.Sum(nil)))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 01 15:08:50 UTC 2023 - 10.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/arch/arm/armasm/plan9x.go
func GoSyntax(inst Inst, pc uint64, symname func(uint64) (string, uint64), text io.ReaderAt) string { if symname == nil { symname = func(uint64) (string, uint64) { return "", 0 } } var args []string for _, a := range inst.Args { if a == nil { break } args = append(args, plan9Arg(&inst, pc, symname, a)) } op := inst.Op.String() switch inst.Op &^ 15 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 11.9K bytes - Viewed (0) -
src/cmd/link/internal/x86/asm.go
if targType == sym.SDYNIMPORT { ldr.Errorf(s, "unexpected R_386_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 - 13.6K bytes - Viewed (0) -
src/cmd/link/internal/ld/data.go
// addgostring adds str, as a Go string value, to s. symname is the name of the // symbol used to define the string data and must be unique per linked object. func addgostring(ctxt *Link, ldr *loader.Loader, s *loader.SymbolBuilder, symname, str string) { sdata := ldr.CreateSymForUpdate(symname, 0) if sdata.Type() != sym.Sxxx { ctxt.Errorf(s.Sym(), "duplicate symname in addgostring: %s", symname) } sdata.SetLocal(true)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 12 15:10:50 UTC 2024 - 100.5K bytes - Viewed (0) -
src/cmd/link/internal/ld/stackcheck.go
sc.graph = make(map[loader.Sym][]stackCheckEdge) } return sc } func (sc *stackCheck) symName(sym loader.Sym) string { switch sym { case stackCheckIndirect: return "indirect" case 0: return "leaf" } return fmt.Sprintf("%s<%d>", sc.ldr.SymName(sym), sc.ldr.SymVersion(sym)) } // check returns the stack height of sym. It populates sc.height and
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 24 16:49:08 UTC 2023 - 11.9K bytes - Viewed (0) -
src/cmd/link/internal/ld/errors.go
type symNameFn func(s loader.Sym) string // ErrorReporter is used to make error reporting thread safe. type ErrorReporter struct { loader.ErrorReporter unresSyms map[unresolvedSymKey]bool unresMutex sync.Mutex SymName symNameFn } // errorUnresolved prints unresolved symbol error for rs that is referenced from s. func (reporter *ErrorReporter) errorUnresolved(ldr *loader.Loader, s, rs loader.Sym) { reporter.unresMutex.Lock()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 02 14:38:08 UTC 2022 - 1.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/plan9x.go
func GoSyntax(inst Inst, pc uint64, symname func(uint64) (string, uint64), text io.ReaderAt) string { if symname == nil { symname = func(uint64) (string, uint64) { return "", 0 } } var args []string for _, a := range inst.Args { if a == nil { break } args = append(args, plan9Arg(&inst, pc, symname, a)) } op := inst.Op.String() switch inst.Op {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 16 22:24:28 UTC 2022 - 17K bytes - Viewed (0) -
src/cmd/link/internal/ld/pcln.go
// to resolve relocations). Unnecessarily including all of // these symbols quickly blows out the size of the pcln table // and overflows hash buckets. symName := ctxt.loader.SymName(s) if symName == "" || strings.HasPrefix(symName, ".L") { return false } } // We want to generate func table entries only for the "lowest // level" symbols, not containers of subsymbols.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 29.6K bytes - Viewed (0)