Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for BuiltinName (0.54 sec)

  1. src/cmd/internal/goobj/builtin.go

    // don't need to be referenced by name.
    
    // NBuiltin returns the number of listed builtin
    // symbols.
    func NBuiltin() int {
    	return len(builtins)
    }
    
    // BuiltinName returns the name and ABI of the i-th
    // builtin symbol.
    func BuiltinName(i int) (string, int) {
    	return builtins[i].name, builtins[i].abi
    }
    
    // BuiltinIdx returns the index of the builtin with the
    // given name and abi, or -1 if it is not a builtin.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 22 13:50:24 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  2. src/cmd/internal/objfile/goobj.go

    			i = s.SymIdx + uint32(r.NSym()+r.NHashed64def())
    		case goobj.PkgIdxNone:
    			i = s.SymIdx + uint32(r.NSym()+r.NHashed64def()+r.NHasheddef())
    		case goobj.PkgIdxBuiltin:
    			name, abi := goobj.BuiltinName(int(s.SymIdx))
    			return goobjName(name, abi)
    		case goobj.PkgIdxSelf:
    			i = s.SymIdx
    		default:
    			return refNames[s]
    		}
    		sym := r.Sym(i)
    		return goobjName(sym.Name(r), abiToVer(sym.ABI()))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 15:39:57 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  3. src/cmd/link/internal/loader/loader.go

    // on in the linker due to R_CALL relocations with 0-valued target
    // symbols.
    func (l *Loader) reportMissingBuiltin(bsym int, reflib string) {
    	bname, _ := goobj.BuiltinName(bsym)
    	log.Fatalf("reference to undefined builtin %q from package %q",
    		bname, reflib)
    }
    
    // Look up a symbol by name, return global index, or 0 if not found.
    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