- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for cgo_export_dynamic (0.28 sec)
-
src/cmd/link/internal/loader/loader.go
// specially marked via the "cgo_export_dynamic" compiler directive // written by cgo (in response to //export directives in the source). func (l *Loader) AttrCgoExportDynamic(i Sym) bool { _, ok := l.attrCgoExportDynamic[i] return ok } // SetAttrCgoExportDynamic sets the "cgo_export_dynamic" for a symbol // (see AttrCgoExportDynamic).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 20:26:10 UTC 2024 - 81.5K bytes - Viewed (0) -
src/cmd/link/internal/ld/xcoff.go
a4 := &XcoffAuxCSect64{ Xauxtype: _AUX_CSECT, Xsmclas: XMC_DS, Xsmtyp: XTY_ER | XTY_IMP, } if ldr.SymName(x) == "__n_pthreads" { // Currently, all imported symbols made by cgo_import_dynamic are // syscall functions, except __n_pthreads which is a variable. // TODO(aix): Find a way to detect variables imported by cgo. a4.Xsmclas = XMC_RW } syms = append(syms, a4)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 01 19:58:23 UTC 2023 - 51.8K bytes - Viewed (0) -
src/cmd/link/internal/ld/lib.go
// Turns out we won't be needing them. for symIdx := range hostObjSyms { if l.SymType(symIdx) == sym.SHOSTOBJ { // If a symbol was marked both // cgo_import_static and cgo_import_dynamic, // then we want to make it cgo_import_dynamic // now. su := l.MakeSymbolUpdater(symIdx) if l.SymExtname(symIdx) != "" && l.SymDynimplib(symIdx) != "" && !(l.AttrCgoExportStatic(symIdx) || l.AttrCgoExportDynamic(symIdx)) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 18:45:27 UTC 2024 - 88.6K bytes - Viewed (0)