1
0
mirror of https://github.com/golang/go synced 2024-11-14 08:50:22 -07:00
go/src/cmd
Russ Cox f0cf740733 cmd/compile: omit X:framepointer in compile version
Framepointer is the default now. Only print an X: list
if the settings are _not_ the default.

Before:

$ go tool compile -V
compile version devel +a5f30d9508 Sun Jul 16 14:43:48 2017 -0400 X:framepointer
$ go1.8 tool compile -V
compile version go1.8 X:framepointer
$

After:

$ go tool compile -V
compile version devel +a5f30d9508 Sun Jul 16 14:43:48 2017 -0400
$ go1.9 tool compile -V # imagined
compile version go1.9
$

Perpetuates #18317.

Change-Id: I981ba5c62be32e650a166fc9740703122595639b
Reviewed-on: https://go-review.googlesource.com/49252
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-07-17 16:36:49 +00:00
..
addr2line cmd/go: build test binaries with -s in addition to -w 2017-03-29 17:18:16 +00:00
api api: promote next to go1.9 2017-06-14 21:07:10 +00:00
asm cmd/internal/obj/arm: check illegal base registers in ARM instructions 2017-06-30 19:09:44 +00:00
cgo cmd/cgo: unwrap typedef-chains before type checking 2017-06-27 23:02:34 +00:00
compile cmd/compile: omit X:framepointer in compile version 2017-07-17 16:36:49 +00:00
cover cmd/cover: take default value of total only once. 2017-06-02 17:59:12 +00:00
dist cmd/dist: don't run moved_goroot test on android, iOS, Plan 9 2017-07-15 14:13:24 +00:00
doc cmd/doc: print Go syntax when printing struct.field docs 2017-07-06 21:57:52 +00:00
fix cmd/fix,cmd/gofmt: flush to disk before diffing 2017-03-30 18:19:57 +00:00
go cmd/go: update BuildContext.GOROOT and build.Tooldir with computed GOROOT 2017-07-14 20:07:08 +00:00
gofmt cmd/fix,cmd/gofmt: flush to disk before diffing 2017-03-30 18:19:57 +00:00
internal cmd/compile: omit X:framepointer in compile version 2017-07-17 16:36:49 +00:00
link cmd/link: skip R_ADDR relocs in .rela.plt for internal PIE 2017-07-09 19:23:41 +00:00
nm all: fix some printf format strings 2017-02-14 02:09:30 +00:00
objdump cmd/internal/objabi: fix the bug of shrinking SymType down to a uint8 2017-05-16 12:26:10 +00:00
pack
pprof cmd/pprof: restore printing descriptive errors from net/http/pprof endpoints 2017-06-15 02:14:24 +00:00
trace cmd/trace: document that trace viewer is only tested on chromium 2017-04-20 16:44:55 +00:00
vendor Revert "cmd/vendor/github.com/google/pprof: refresh from upstream" 2017-06-20 19:46:11 +00:00
vet cmd/vet/all: in case of vet panic, don't filter stacktrace 2017-06-29 23:22:38 +00:00