package gccgoimporter
Import Path
go/internal/gccgoimporter (on go.dev)
Dependency Relation
imports 17 packages, and imported by one package
Involved Source Files
ar.go
gccgoinstallation.go
Package gccgoimporter implements Import for gccgo-generated object files.
parser.go
Package-Level Type Names (total 4)
Information about a specific installation of gccgo.
Version of gcc (e.g. 4.8.0).
Built-in library paths used by this installation.
Target triple (e.g. x86_64-unknown-linux-gnu).
Return an importer that searches incpaths followed by the gcc installation's
built-in search paths and the current directory.
Ask the driver at the given path for information for this GccgoInstallation.
The given arguments are passed directly to the call of the driver.
Return the list of export search paths for this GccgoInstallation.
An Importer resolves import paths to Packages. The imports map records
packages already known, indexed by package path.
An importer must determine the canonical package path and check imports
to see if it is already present in the map. If so, the Importer can return
the map entry. Otherwise, the importer must load the package data for the
given path into a new *Package, record it in imports map, and return the
package.
func GetImporter(searchpaths []string, initmap map[*types.Package]InitData) Importer
func (*GccgoInstallation).GetImporter(incpaths []string, initmap map[*types.Package]InitData) Importer
The gccgo-specific init data for a package.
The list of packages which this package depends on to be initialized,
including itself if needed. This is the subset of the transitive closure of
the package's dependencies that need initialization.
Initialization priority of this package relative to other packages.
This is based on the maximum depth of the package's dependency graph;
it is guaranteed to be greater than that of its dependencies.
func GetImporter(searchpaths []string, initmap map[*types.Package]InitData) Importer
func (*GccgoInstallation).GetImporter(incpaths []string, initmap map[*types.Package]InitData) Importer
A PackageInit describes an imported package that needs initialization.
// name of init function
// short package name
// priority of init function, see InitData.Priority
The pages are generated with Golds v0.6.9-preview. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |