1
0
mirror of https://github.com/golang/go synced 2024-11-14 15:10:54 -07:00
go/src/cmd/internal
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
..
bio
browser cmd/internal/browser: fix typo 2017-02-24 20:49:10 +00:00
dwarf cmd/internal/dwarf: update to DWARF4, emit frame_base 2017-05-26 21:29:21 +00:00
gcprog
goobj cmd/internal/objabi: fix the bug of shrinking SymType down to a uint8 2017-05-16 12:26:10 +00:00
obj cmd/internal/obj/arm: check illegal base registers in ARM instructions 2017-06-30 19:09:44 +00:00
objabi cmd/compile: omit X:framepointer in compile version 2017-07-17 16:36:49 +00:00
objfile cmd/internal: remove SymKind values that are only checked for, never set 2017-04-28 20:01:54 +00:00
src Revert "cmd/compile: output DWARF lexical blocks for local variables" 2017-04-07 19:52:26 +00:00
sys cmd: remove IntSize and Widthint 2017-04-22 17:43:43 +00:00