Versions in this module Expand all Collapse all go1 go1.18.10 Jan 10, 2023 Changes in this version + const CompilerBootstrap + const EnableTrace + var AutogeneratedPos src.XPos + var Ctxt *obj.Link + var DebugSSA func(phase, flag string, val int, valString string) string + var NoInstrumentPkgs = []string + var NoRacePkgs = []string + var Pos src.XPos + func Assert(b bool) + func Assertf(b bool, format string, args ...interface{}) + func AssertfAt(b bool, pos src.XPos, format string, args ...interface{}) + func AtExit(f func()) + func Compiling(pkgs []string) bool + func ErrorExit() + func Errorf(format string, args ...interface{}) + func ErrorfAt(pos src.XPos, format string, args ...interface{}) + func ErrorfVers(lang string, format string, args ...interface{}) + func Errors() int + func Exit(code int) + func ExitIfErrors() + func Fatalf(format string, args ...interface{}) + func FatalfAt(pos src.XPos, format string, args ...interface{}) + func FlushErrors() + func FmtPos(pos src.XPos) string + func Linkname(name string, abi obj.ABI) *obj.LSym + func MapFile(f *os.File, offset, length int64) (string, error) + func ParseFlags() + func PkgLinksym(prefix, name string, abi obj.ABI) *obj.LSym + func SyntaxErrors() int + func UpdateErrorDot(line string, name, expr string) + func Warn(format string, args ...interface{}) + func WarnfAt(pos src.XPos, format string, args ...interface{}) + type CmdFlags struct + ASan bool + AsmHdr string + B CountFlag + Bench string + BlockProfile string + BuildID string + C CountFlag + CPUProfile string + Cfg struct{ ... } + ClobberDead bool + ClobberDeadReg bool + CompilingRuntime bool + Complete bool + D string + Dwarf bool + DwarfBASEntries *bool + DwarfLocationLists *bool + Dynlink *bool + E CountFlag + EmbedCfg func(string) + G CountFlag + GenDwarfInl int + GoVersion string + I func(string) + ImportCfg func(string) + ImportMap func(string) + InstallSuffix string + JSON string + K CountFlag + L CountFlag + Lang string + LinkObj string + LinkShared *bool + Live CountFlag + LowerC int + LowerD flag.Value + LowerE CountFlag + LowerH CountFlag + LowerJ CountFlag + LowerL CountFlag + LowerM CountFlag + LowerO string + LowerP *string + LowerR CountFlag + LowerT bool + LowerV *bool + LowerW CountFlag + MSan bool + MemProfile string + MemProfileRate int + MutexProfile string + N CountFlag + NoLocalImports bool + Pack bool + Percent int + Race bool + S CountFlag + Shared *bool + SmallFrames bool + Spectre string + Std bool + SymABIs string + TraceProfile string + TrimPath string + W CountFlag + WB bool + var Flag CmdFlags + type CountFlag int + type DebugFlags struct + ABIWrap int + Any bool + Append int + Checkptr int + Closure int + DclStack int + Defer int + DisableNil int + DumpPtrs int + DwarfInl int + Export int + GCProg int + InlFuncsWithClosures int + Libfuzzer int + LocationLists int + MayMoreStack string + Nil int + NoOpenDefer int + PCTab string + Panic int + Slice int + SoftFloat int + SyncFrames int + TypeAssert int + TypecheckInl int + Unified int + UnifiedQuirks int + WB int + var Debug DebugFlags + type Timings struct + var Timer Timings + func (t *Timings) AddEvent(size int64, unit string) + func (t *Timings) Start(labels ...string) + func (t *Timings) Stop(labels ...string) + func (t *Timings) Write(w io.Writer, prefix string)