- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for SetAttrCgoExportStatic (0.37 sec)
-
src/cmd/link/internal/ld/go.go
// For internal linking, we're // responsible for resolving // relocations from host objects. // Record the right Go symbol // version to use. l.AddCgoExport(s) } l.SetAttrCgoExportStatic(s, true) } else { if ctxt.LinkMode == LinkInternal && !l.AttrCgoExportDynamic(s) { // Dynamic cgo exports appear // in the exported symbol table. ctxt.dynexp = append(ctxt.dynexp, s)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 22 16:48:30 UTC 2023 - 11.2K bytes - Viewed (0) -
src/cmd/link/internal/loader/loader.go
// written by cgo. func (l *Loader) AttrCgoExportStatic(i Sym) bool { _, ok := l.attrCgoExportStatic[i] return ok } // SetAttrCgoExportStatic sets the "cgo_export_static" for a symbol // (see AttrCgoExportStatic). func (l *Loader) SetAttrCgoExportStatic(i Sym, v bool) { if v { l.attrCgoExportStatic[i] = struct{}{} } else { delete(l.attrCgoExportStatic, i) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 20:26:10 UTC 2024 - 81.5K bytes - Viewed (0)