package objfile
import "cmd/link/internal/objfile"
Package objfile reads Go object files for the Go linker, cmd/link.
This package is similar to cmd/internal/objfile which also reads Go object files.
Index ¶
- Constants
- func Load(arch *sys.Arch, syms *sym.Symbols, f *bio.Reader, lib *sym.Library, unit *sym.CompilationUnit, length int64, pn string, flags int) int
Constants ¶
const ( NoFlag int = iota // Sanity-check duplicate symbol contents, issuing warning // when duplicates have different lengths or contents. StrictDupsWarnFlag // Similar to StrictDupsWarnFlag, but issue fatal error. StrictDupsErrFlag )
Functions ¶
func Load ¶
func Load(arch *sys.Arch, syms *sym.Symbols, f *bio.Reader, lib *sym.Library, unit *sym.CompilationUnit, length int64, pn string, flags int) int
Load loads an object file f into library lib. The symbols loaded are added to syms.
Source Files ¶
- Version
- v1.14.1
- Published
- Mar 19, 2020
- Platform
- linux/amd64
- Imports
- 15 packages
- Last checked
- 1 minute ago –
Tools for package owners.