- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for CreateExtSym (0.36 sec)
-
src/cmd/link/internal/ld/data_test.go
iself := len(test.rel) != 0 buildcfg.GOARCH = test.arch.Name ctxt := setUpContext(test.arch, iself, test.ht, test.bm, test.lm) foo := ctxt.loader.CreateSymForUpdate("foo", 0) ctxt.loader.CreateExtSym("bar", 0) AddGotSym(&ctxt.Target, ctxt.loader, &ctxt.ArchSyms, foo.Sym(), 0) if iself { rel := ctxt.loader.Lookup(test.rel, 0) if rel == 0 { t.Fatalf("[%d] could not find symbol: %q", i, test.rel)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 05 19:20:01 UTC 2023 - 2.3K bytes - Viewed (0) -
src/cmd/link/internal/ld/pcln.go
// specified FuncInfo. func genInlTreeSym(ctxt *Link, cu *sym.CompilationUnit, fi loader.FuncInfo, arch *sys.Arch, nameOffsets map[loader.Sym]uint32) loader.Sym { ldr := ctxt.loader its := ldr.CreateExtSym("", 0) inlTreeSym := ldr.MakeSymbolUpdater(its) // Note: the generated symbol is given a type of sym.SGOFUNC, as a // signal to the symtab() phase that it needs to be grouped in with
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 29.6K bytes - Viewed (0) -
src/cmd/link/internal/ld/dwarf.go
} // Create a new loader symbol for the typedef. We no longer // do lookups of typedef symbols by name, so this is going // to be an anonymous symbol (we want this for perf reasons). tds := d.ldr.CreateExtSym("", 0) tdsu := d.ldr.MakeSymbolUpdater(tds) tdsu.SetType(sym.SDWARFTYPE) def.Sym = dwSym(tds) d.ldr.SetAttrNotInSymbolTable(tds, true) d.ldr.SetAttrReachable(tds, true)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 16:25:18 UTC 2024 - 72.4K bytes - Viewed (0) -
src/cmd/link/internal/loader/loader.go
l.payloads[l.extIndex(dst)] = l.payloads[l.extIndex(src)] l.SetSymPkg(dst, l.SymPkg(src)) // TODO: other attributes? } // CreateExtSym creates a new external symbol with the specified name // without adding it to any lookup tables, returning a Sym index for it. func (l *Loader) CreateExtSym(name string, ver int) Sym { return l.newExtSym(name, ver) } // CreateStaticSym creates a new static symbol with the specified name
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 20:26:10 UTC 2024 - 81.5K bytes - Viewed (0) -
src/cmd/link/internal/ld/xcoff.go
// - a .text symbol which must start with a ".". // - a .data symbol which is a function descriptor. name := ldr.SymExtname(s) ldr.SetSymExtname(s, "."+name) desc := ldr.MakeSymbolUpdater(ldr.CreateExtSym(name, 0)) desc.SetReachable(true) desc.SetType(sym.SNOPTRDATA) desc.AddAddr(ctxt.Arch, s) desc.AddAddr(ctxt.Arch, toc.Sym()) desc.AddUint64(ctxt.Arch, 0) } } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 01 19:58:23 UTC 2023 - 51.8K bytes - Viewed (0)