Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrParserError = errors.New("parser error occurred") ErrMultiplePackages = errors.New("directory contained multiple packages") ErrUnexpectedOutputPath = errors.New("unexpected output path provided") ErrLinknameAlreadyUsed = errors.New("encountered duplicate linkname") ErrCodeGeneratorError = errors.New("failed to generate object code") ErrCompilerFailed = errors.New("compiler exited with an error") )
Functions ¶
func StageGoRoot ¶
Types ¶
type Env ¶
func Environment ¶
type Graph ¶
type Graph struct {
// contains filtered or unexported fields
}
func (*Graph) AddGlobalDependency ¶
type Options ¶
type Options struct {
Packages map[string]string
Output string
BuildDir string
DumpOnVerifyError bool
DumpIR bool
Environment Env
//CompilerVerbosity compiler.Verbosity
GenerateDebugInfo bool
BuildTags []string
Cpu string
Float string
CTypeNames bool
NumJobs int
Optimization string
StackSize int
KeepWorkDir bool
DebugLowering bool
}
Click to show internal directories.
Click to hide internal directories.