Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CreateExtSym (0.11 sec)

  1. 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)
  2. 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)
Back to top