- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for cgoexp (0.07 sec)
-
src/cmd/link/internal/ld/elf.go
st := ldr.SymType(s) cgoeStatic := ldr.AttrCgoExportStatic(s) cgoeDynamic := ldr.AttrCgoExportDynamic(s) cgoexp := (cgoeStatic || cgoeDynamic) d.AddUint32(target.Arch, uint32(dstru.Addstring(name))) if elf64 { /* type */ var t uint8 if cgoexp && st == sym.STEXT { t = elf.ST_INFO(elf.STB_GLOBAL, elf.STT_FUNC) } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 13:29:54 UTC 2024 - 63.6K bytes - Viewed (0) -
src/cmd/cgo/out.go
fmt.Fprintf(fgo2, "//go:linkname _cgoexp%s_%s _cgoexp%s_%s\n", cPrefix, exp.ExpName, cPrefix, exp.ExpName) // In external linking mode, the Go linker sees the Go // wrapper, but not the C wrapper. For this case, // export the Go wrapper so the host linker can // resolve the reference from the C wrapper to the Go // wrapper. fmt.Fprintf(fgo2, "//go:cgo_export_static _cgoexp%s_%s\n", cPrefix, exp.ExpName)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 29 16:41:10 UTC 2024 - 59.6K bytes - Viewed (0) -
src/cmd/internal/testdir/testdir_test.go
} tim *= timeoutScale } case "-goexperiment": // set GOEXPERIMENT environment args = args[1:] if goexp != "" { goexp += "," } goexp += args[0] runenv = append(runenv, "GOEXPERIMENT="+goexp) case "-godebug": // set GODEBUG environment args = args[1:] if godebug != "" { godebug += "," } godebug += args[0]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 20:08:06 UTC 2024 - 57.5K bytes - Viewed (0)