- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for UsedInIface (0.13 sec)
-
src/cmd/link/internal/ld/deadcode.go
isgotype := d.ldr.IsGoType(symIdx) relocs := d.ldr.Relocs(symIdx) var usedInIface bool if isgotype { if d.dynlink { // When dynamic linking, a type may be passed across DSO // boundary and get converted to interface at the other side. d.ldr.SetAttrUsedInIface(symIdx, true) } usedInIface = d.ldr.AttrUsedInIface(symIdx) } methods = methods[:0]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 14:52:41 UTC 2024 - 19K bytes - Viewed (0) -
src/cmd/internal/obj/objfile.go
flag |= goobj.SymFlagReflectMethod } if strings.HasPrefix(s.Name, "type:") && s.Name[5] != '.' && s.Type == objabi.SRODATA { flag |= goobj.SymFlagGoType } flag2 := uint8(0) if s.UsedInIface() { flag2 |= goobj.SymFlagUsedInIface } if strings.HasPrefix(s.Name, "go:itab.") && s.Type == objabi.SRODATA { flag2 |= goobj.SymFlagItab }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 24K bytes - Viewed (0) -
src/cmd/internal/obj/link.go
AttrWasInlined // Indexed indicates this symbol has been assigned with an index (when using the // new object file format). AttrIndexed // Only applied on type descriptor symbols, UsedInIface indicates this type is // converted to an interface. // // Used by the linker to determine what methods can be pruned. AttrUsedInIface // ContentAddressable indicates this is a content-addressable symbol.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 33.1K bytes - Viewed (0) -
src/cmd/internal/goobj/objfile.go
func (s *Sym) ReflectMethod() bool { return s.Flag()&SymFlagReflectMethod != 0 } func (s *Sym) IsGoType() bool { return s.Flag()&SymFlagGoType != 0 } func (s *Sym) UsedInIface() bool { return s.Flag2()&SymFlagUsedInIface != 0 } func (s *Sym) IsItab() bool { return s.Flag2()&SymFlagItab != 0 } func (s *Sym) IsDict() bool { return s.Flag2()&SymFlagDict != 0 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 23.8K bytes - Viewed (0) -
src/cmd/link/internal/loader/loader.go
st.linknameVarRefs = append(st.linknameVarRefs, linknameVarRef{r.unit.Lib.Pkg, name, gi}) } if osym.Local() { l.SetAttrLocal(gi, true) } if osym.UsedInIface() { l.SetAttrUsedInIface(gi, true) } if strings.HasPrefix(name, "runtime.") || (loadingRuntimePkg && strings.HasPrefix(name, "type:")) { if bi := goobj.BuiltinIdx(name, int(osym.ABI())); bi != -1 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 20:26:10 UTC 2024 - 81.5K bytes - Viewed (0)