]> Cypherpunks repositories - gostls13.git/commit
cmd/asm: make asm -S flag consistent with compile -S flag
authorThan McIntosh <thanm@google.com>
Thu, 17 Sep 2020 19:31:07 +0000 (15:31 -0400)
committerThan McIntosh <thanm@google.com>
Thu, 17 Sep 2020 23:22:25 +0000 (23:22 +0000)
commit75fab04b83a832eb84bec9e1f23d395a342c865c
tree8497b16e4c9e430fc55c160a615e879c2f6117e7
parent7a095c32366593f637a95bc927c63454125e3015
cmd/asm: make asm -S flag consistent with compile -S flag

Change things so that the -S command line option for the assembler
works the same as -S in the compiler, e.g. you can use -S=2 to
get additional detail.

Change-Id: I7bdfba39a98e67c7ae4b93019e171b188bb99a2d
Reviewed-on: https://go-review.googlesource.com/c/go/+/255717
Trust: Than McIntosh <thanm@google.com>
Run-TryBot: Than McIntosh <thanm@google.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Reviewed-by: David Chase <drchase@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
src/cmd/asm/internal/flags/flags.go
src/cmd/asm/main.go