objfile

package standard library
go1.14.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2020 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Overview

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

View Source
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
)

Variables

This section is empty.

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL