- Sort Score
- Result 10 results
- Languages All
Results 11 - 14 of 14 for SetAttrReachable (0.26 sec)
-
src/cmd/link/internal/arm/asm.go
var tramp loader.Sym for i := 0; ; i++ { oName := ldr.SymName(rs) name := oName + fmt.Sprintf("%+d-tramp%d", offset, i) tramp = ldr.LookupOrCreateSym(name, int(ldr.SymVersion(rs))) ldr.SetAttrReachable(tramp, true) if ldr.SymType(tramp) == sym.SDYNIMPORT { // don't reuse trampoline defined in other module continue } if oName == "runtime.deferreturn" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 23 05:58:20 UTC 2023 - 22.9K bytes - Viewed (0) -
src/cmd/link/internal/ld/symtab.go
addgostring(ctxt, ldr, modulehashes, fmt.Sprintf("go:link.linkhash.%d", i), string(shlib.Hash)) // modulehashes[i].runtimehash abihash := ldr.LookupOrCreateSym("go:link.abihash."+modulename, 0) ldr.SetAttrReachable(abihash, true) modulehashes.AddAddr(ctxt.Arch, abihash) } slice(modulehashes.Sym(), uint64(len(ctxt.Shlibs))) } else { moduledata.AddUint(ctxt.Arch, 0) // modulename
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 13 16:29:40 UTC 2023 - 29.2K bytes - Viewed (0) -
src/cmd/link/internal/loader/loader.go
// written to the output. func (l *Loader) AttrReachable(i Sym) bool { return l.attrReachable.Has(i) } // SetAttrReachable sets the reachability property for a symbol (see // AttrReachable). func (l *Loader) SetAttrReachable(i Sym, v bool) { if v { l.attrReachable.Set(i) } else { l.attrReachable.Unset(i) } }
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/ppc64/asm.go
firstUse = !ldr.AttrReachable(ts) if firstUse { // This function only becomes reachable now. It has been dropped from // the text section (it was unreachable until now), it needs included. ldr.SetAttrReachable(ts, true) } return ts, firstUse } func gentext(ctxt *ld.Link, ldr *loader.Loader) { if ctxt.DynlinkingGo() { genaddmoduledata(ctxt, ldr) } if ctxt.LinkMode == ld.LinkInternal {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 19 20:54:08 UTC 2024 - 63.7K bytes - Viewed (0)