Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for MakeTypelink (0.15 sec)

  1. src/cmd/link/internal/ld/typelink.go

    func (s byTypeStr) Swap(i, j int)      { s[i], s[j] = s[j], s[i] }
    
    // typelink generates the typelink table which is used by reflect.typelinks().
    // Types that should be added to the typelinks table are marked with the
    // MakeTypelink attribute by the compiler.
    func (ctxt *Link) typelink() {
    	ldr := ctxt.loader
    	typelinks := byTypeStr{}
    	var itabs []loader.Sym
    	for s := loader.Sym(1); s < loader.Sym(ldr.NSym()); s++ {
    		if !ldr.AttrReachable(s) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 03 21:13:25 UTC 2020
    - 1.9K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/link.go

    type Attribute uint32
    
    const (
    	AttrDuplicateOK Attribute = 1 << iota
    	AttrCFunc
    	AttrNoSplit
    	AttrLeaf
    	AttrWrapper
    	AttrNeedCtxt
    	AttrNoFrame
    	AttrOnList
    	AttrStatic
    
    	// MakeTypelink means that the type should have an entry in the typelink table.
    	AttrMakeTypelink
    
    	// ReflectMethod means the function may call reflect.Type.Method or
    	// reflect.Type.MethodByName. Matching is imprecise (as reflect.Type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/objfile.go

    	if s.Static() {
    		abi = goobj.SymABIstatic
    	}
    	flag := uint8(0)
    	if s.DuplicateOK() {
    		flag |= goobj.SymFlagDupok
    	}
    	if s.Local() {
    		flag |= goobj.SymFlagLocal
    	}
    	if s.MakeTypelink() {
    		flag |= goobj.SymFlagTypelink
    	}
    	if s.Leaf() {
    		flag |= goobj.SymFlagLeaf
    	}
    	if s.NoSplit() {
    		flag |= goobj.SymFlagNoSplit
    	}
    	if s.ReflectMethod() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24K bytes
    - Viewed (0)
Back to top