diff options
| author | Rob Pike <r@golang.org> | 2015-01-28 15:41:12 -0800 |
|---|---|---|
| committer | Rob Pike <r@golang.org> | 2015-01-29 19:08:26 +0000 |
| commit | 36e5f4d53f0843d11bef8a5e37671e72c36a2805 (patch) | |
| tree | 9132bceb6be01880829b1592c89e8b1e06bab23e /src/cmd/asm/internal/flags | |
| parent | 29428e322d6f4eaccb7636e93f31f20cffcf7377 (diff) | |
| download | go-36e5f4d53f0843d11bef8a5e37671e72c36a2805.tar.xz | |
[dev.cc] cmd/asm: set the flags to production settings (turn off debug)
Set -S to false and add -debug to control the other debugging print.
Change-Id: I864866c3d264a33e6dd0ce12a86a050a5fe0f875
Reviewed-on: https://go-review.googlesource.com/3453
Reviewed-by: Andrew Gerrand <adg@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/cmd/asm/internal/flags')
| -rw-r--r-- | src/cmd/asm/internal/flags/flags.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cmd/asm/internal/flags/flags.go b/src/cmd/asm/internal/flags/flags.go index 61cd860cd1..9640f994d7 100644 --- a/src/cmd/asm/internal/flags/flags.go +++ b/src/cmd/asm/internal/flags/flags.go @@ -14,8 +14,9 @@ import ( ) var ( - OutputFile = flag.String("o", "", "output file; default foo.6 for /a/b/c/foo.s on arm64 (unused TODO)") - PrintOut = flag.Bool("S", true, "print assembly and machine code") // TODO: set to false + Debug = flag.Bool("debug", false, "dump instructions as they are parsed") + OutputFile = flag.String("o", "", "output file; default foo.6 for /a/b/c/foo.s on amd64") + PrintOut = flag.Bool("S", false, "print assembly and machine code") TrimPath = flag.String("trimpath", "", "remove prefix from recorded source file paths (unused TODO)") ) |
