Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for LookupABIInit (0.18 sec)

  1. src/cmd/compile/internal/base/link.go

    	return linksym("_", name, abi)
    }
    
    // linksym is an internal helper function for implementing the above
    // exported APIs.
    func linksym(pkg, name string, abi obj.ABI) *obj.LSym {
    	return Ctxt.LookupABIInit(name, abi, func(r *obj.LSym) { r.Pkg = pkg })
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 09 11:28:56 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/sym.go

    // If it does not exist, it creates it.
    func (ctxt *Link) LookupABI(name string, abi ABI) *LSym {
    	return ctxt.LookupABIInit(name, abi, nil)
    }
    
    // LookupABIInit looks up a symbol with the given ABI.
    // If it does not exist, it creates it and
    // passes it to init for one-time initialization.
    func (ctxt *Link) LookupABIInit(name string, abi ABI, init func(s *LSym)) *LSym {
    	var hash map[string]*LSym
    	switch abi {
    	case ABI0:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 14:41:10 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top