- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for regabiwrappers (0.3 sec)
-
src/internal/goexperiment/exp_regabiwrappers_off.go
// Code generated by mkconsts.go. DO NOT EDIT. //go:build !goexperiment.regabiwrappers package goexperiment const RegabiWrappers = false
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:27 UTC 2023 - 168 bytes - Viewed (0) -
src/internal/goexperiment/exp_regabiwrappers_on.go
// Code generated by mkconsts.go. DO NOT EDIT. //go:build goexperiment.regabiwrappers package goexperiment const RegabiWrappers = true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:27 UTC 2023 - 166 bytes - Viewed (0) -
src/internal/buildcfg/exp.go
set(val) } } if regabiAlwaysOn { flags.RegabiWrappers = true flags.RegabiArgs = true } // regabi is only supported on amd64, arm64, loong64, riscv64, ppc64 and ppc64le. if !regabiSupported { flags.RegabiWrappers = false flags.RegabiArgs = false } // Check regabi dependencies. if flags.RegabiArgs && !flags.RegabiWrappers {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 17:38:52 UTC 2024 - 5.5K bytes - Viewed (0) -
src/cmd/link/internal/sym/symbol.go
) func ABIToVersion(abi obj.ABI) int { switch abi { case obj.ABI0: return SymVerABI0 case obj.ABIInternal: if !buildcfg.Experiment.RegabiWrappers { // If wrappers are not enabled, ABI0 and ABIInternal are actually same // so we normalize everything to ABI0. return SymVerABI0 } return SymVerABIInternal } return -1 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 22 13:50:24 UTC 2021 - 933 bytes - Viewed (0) -
src/internal/goexperiment/flags.go
// The "regabi" GOEXPERIMENT is an alias for all "working" // subexperiments. // RegabiWrappers enables ABI wrappers for calling between // ABI0 and ABIInternal functions. Without this, the ABIs are // assumed to be identical so cross-ABI calls are direct. RegabiWrappers bool // RegabiArgs enables register arguments/results in all // compiled Go functions. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 16:19:47 UTC 2024 - 4.2K bytes - Viewed (0) -
src/cmd/internal/goobj/builtin.go
// given name and abi, or -1 if it is not a builtin. func BuiltinIdx(name string, abi int) int { i, ok := builtinMap[name] if !ok { return -1 } if buildcfg.Experiment.RegabiWrappers && builtins[i].abi != abi { return -1 } return i } //go:generate go run mkbuiltin.go var builtinMap map[string]int func init() { builtinMap = make(map[string]int, len(builtins))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 22 13:50:24 UTC 2021 - 1.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/abi.go
s.refs[sym] |= obj.ABISetOf(abi) } default: log.Fatalf(`%s:%d: invalid symabi type "%s"`, file, lineNum, parts[0]) } } } // GenABIWrappers applies ABI information to Funcs and generates ABI // wrapper functions where necessary. func (s *SymABIs) GenABIWrappers() { // For cgo exported symbols, we tell the linker to export the // definition ABI to C. That also means that we don't want to
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/link/internal/ld/main.go
if ctxt.IsDarwin() && ctxt.BuildMode == BuildModeCShared { *FlagW = true // default to -w in c-shared mode on darwin, see #61229 } } if !buildcfg.Experiment.RegabiWrappers { abiInternalVer = 0 } startProfile() if ctxt.BuildMode == BuildModeUnset { ctxt.BuildMode.Set("exe") } if ctxt.BuildMode != BuildModeShared && flag.NArg() != 1 { usage() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 16:59:50 UTC 2024 - 16.6K bytes - Viewed (0) -
src/cmd/link/internal/ld/symtab.go
// // TODO: avoid the ldr.Lookup calls below by instead using an aux // sym or marker relocation to associate the wrapper with the // wrapped function. if !buildcfg.Experiment.RegabiWrappers { return name } if ldr.SymType(x) == sym.STEXT && ldr.SymVersion(x) != sym.SymVerABIInternal && ldr.SymVersion(x) < sym.SymVerStatic {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 13 16:29:40 UTC 2023 - 29.2K bytes - Viewed (0) -
src/cmd/link/internal/ld/lib.go
ver := 0 symname := elfsym.Name // (unmangled) symbol name if elf.ST_TYPE(elfsym.Info) == elf.STT_FUNC && strings.HasPrefix(elfsym.Name, "type:") { ver = abiInternalVer } else if buildcfg.Experiment.RegabiWrappers && elf.ST_TYPE(elfsym.Info) == elf.STT_FUNC { // Demangle the ABI name. Keep in sync with symtab.go:mangleABIName. if strings.HasSuffix(elfsym.Name, ".abiinternal") { ver = sym.SymVerABIInternal
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 18:45:27 UTC 2024 - 88.6K bytes - Viewed (0)