# Functions
AdjustStartingHeap modifies GOGC so that GC should not occur until the heap grows to the requested size.
Assert reports "assertion failed" with Fatalf, unless b is true.
Assertf reports a fatal error with Fatalf, unless b is true.
AssertfAt reports a fatal error with FatalfAt, unless b is true.
No description provided by the author
DebugHashMatchPkgFunc reports whether debug variable Gossahash
1.
No description provided by the author
ErrorExit handles an error-status exit.
Errorf reports a formatted error at the current line.
ErrorfAt reports a formatted error message at pos.
Errors returns the number of errors reported.
No description provided by the author
ExitIfErrors calls ErrorExit if any errors have been reported.
Fatalf reports a fatal error - an internal problem - at the current line and exits.
FatalfAt reports a fatal error - an internal problem - at pos and exits.
FlushErrors sorts errors seen so far by line number, prints them to stdout, and empties the errors array.
FmtPos formats pos as a file:line string.
HasDebugHash returns true if Flags.Gossahash is non-empty, which results in hashDebug being not-nil.
Linkname returns the linker symbol for the given name as it might appear within a //go:linkname directive.
MapFile returns length bytes from the file starting at the specified offset as a string.
NewHashDebug returns a new hash-debug tester for the environment variable ev.
ParseFlags parses the command-line flags into Flag.
PkgLinksym returns the linker symbol for name within the given package prefix.
SyntaxErrors returns the number of syntax errors reported.
UpdateErrorDot is a clumsy hack that rewrites the last error, if it was "LINE: undefined: NAME", to be "LINE: undefined: NAME in EXPR".
Warn reports a formatted warning at the current line.
WarnfAt reports a formatted warning at pos.
# Constants
CompilerBootstrap reports whether the current compiler binary was built with -tags=compiler_bootstrap.
To enable tracing support (-t flag), set EnableTrace to true.
# Variables
No description provided by the author
No description provided by the author
Debug holds the parsed debugging configuration values.
DebugSSA is called to set a -d ssa/..
Flag holds the parsed command-line flags.
for debugging fused-multiply-add floating point changes.
for debugging shared/private loop variable changes.
for debugging PGO optimization decisions.
Pos is the current source position being processed, printed by Errorf, ErrorfLang, Fatalf, and Warnf.
ReservedImports are import paths used internally for generated symbols by the compiler.
No description provided by the author
# Structs
CmdFlags defines the command-line flags (see var Flag).
DebugFlags defines the debugging configuration values (see var Debug).
No description provided by the author
Timings collects the execution times of labeled phases which are added through a sequence of Start/Stop calls.
# Type aliases
A CountFlag is a counting integer flag.