Go: cmd/link/internal/objfile Index | Files

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.


Package Files



const (
    NoFlag int = iota

    // Sanity-check duplicate symbol contents, issuing warning
    // when duplicates have different lengths or contents.

    // Similar to StrictDupsWarnFlag, but issue fatal error.

func Load Uses

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.

Package objfile imports 15 packages (graph) and is imported by 1 packages. Updated 2020-05-19. Refresh now. Tools for package owners.