- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for LinksymABI (0.34 sec)
-
src/cmd/compile/internal/types/sym.go
if sym.Func() { abi = obj.ABIInternal } return sym.LinksymABI(abi) } // Deprecated: This method should not be used directly. Instead, use a // higher-level abstraction that directly returns the linker symbol // for a named object. For example, (*ir.Name).LinksymABI(abi) instead // of (*ir.Name).Sym().LinksymABI(abi). func (sym *Sym) LinksymABI(abi obj.ABI) *obj.LSym { if sym == nil { base.Fatalf("nil symbol") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 26 21:56:56 UTC 2023 - 4.2K bytes - Viewed (0) -
src/cmd/compile/internal/ir/func.go
func (f *Func) Sym() *types.Sym { return f.Nname.Sym() } func (f *Func) Linksym() *obj.LSym { return f.Nname.Linksym() } func (f *Func) LinksymABI(abi obj.ABI) *obj.LSym { return f.Nname.LinksymABI(abi) } // An Inline holds fields used for function bodies that can be inlined. type Inline struct { Cost int32 // heuristic cost of inlining this function
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:05:44 UTC 2024 - 21.1K bytes - Viewed (0) -
src/cmd/compile/internal/staticdata/data.go
} var slicedataGen int func slicedata(pos src.XPos, s string) *obj.LSym { slicedataGen++ symname := fmt.Sprintf(".gobytes.%d", slicedataGen) lsym := types.LocalPkg.Lookup(symname).LinksymABI(obj.ABI0) off := dstringdata(lsym, 0, s, pos, "slice") objw.Global(lsym, int32(off), obj.NOPTR|obj.LOCAL) return lsym } func dstringdata(s *obj.LSym, off int, t string, pos src.XPos, what string) int {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 01 15:08:50 UTC 2023 - 10.3K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/abi.go
// frame layout. Pin it to ABI0. fn.ABI = obj.ABI0 // Propagate linkname attribute, which was set on the ABIInternal // symbol. if sym.Linksym().IsLinkname() { sym.LinksymABI(fn.ABI).Set(obj.AttrLinkname, true) } } // If cgo-exported, add the definition ABI to the cgo // pragmas. cgoExport := cgoExports[symName] for _, pprag := range cgoExport {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 13.8K bytes - Viewed (0) -
src/cmd/compile/internal/walk/switch.go
if len(interfaceCases) > 0 { // Build an internal/abi.InterfaceSwitch descriptor to pass to the runtime. lsym := types.LocalPkg.Lookup(fmt.Sprintf(".interfaceSwitch.%d", interfaceSwitchGen)).LinksymABI(obj.ABI0) interfaceSwitchGen++ c := rttype.NewCursor(lsym, 0, rttype.InterfaceSwitch) c.Field("Cache").WritePtr(typecheck.LookupRuntimeVar("emptyInterfaceSwitchCache"))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:34:01 UTC 2024 - 30.1K bytes - Viewed (0) -
src/cmd/compile/internal/walk/expr.go
// When converting from an interface to a non-empty interface. Needs a runtime call. // Allocate an internal/abi.TypeAssert descriptor for that call. lsym := types.LocalPkg.Lookup(fmt.Sprintf(".typeAssert.%d", typeAssertGen)).LinksymABI(obj.ABI0) typeAssertGen++ c := rttype.NewCursor(lsym, 0, rttype.TypeAssert) c.Field("Cache").WritePtr(typecheck.LookupRuntimeVar("emptyTypeAssertCache")) c.Field("Inter").WritePtr(reflectdata.TypeLinksym(target))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:34:01 UTC 2024 - 27.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/ssa.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 284.9K bytes - Viewed (0)