Documentation ¶
Overview ¶
Package flags implements top-level flags and the usage message for the assembler.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Debug = flag.Bool("debug", false, "dump instructions as they are parsed") OutputFile = flag.String("o", "", "output file; default foo.o for /a/b/c/foo.s as first argument") TrimPath = flag.String("trimpath", "", "remove prefix from recorded source file paths") Dynlink = flag.Bool("dynlink", false, "support references to Go symbols defined in other shared libraries") AllErrors = flag.Bool("e", false, "no limit on number of errors reported") SymABIs = flag.Bool("gensymabis", false, "write symbol ABI information to output file, don't assemble") Importpath = flag.String("p", "", "set expected package import to path") Spectre = flag.String("spectre", "", "enable spectre mitigations in `list` (all, ret)") CompilingRuntime = flag.Bool("compiling-runtime", false, "source to be compiled is part of the Go runtime") )
View Source
var ( D MultiFlag I MultiFlag PrintOut int )
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.