diff options
| author | David Chase <drchase@google.com> | 2016-03-17 14:12:12 -0400 |
|---|---|---|
| committer | David Chase <drchase@google.com> | 2016-03-18 01:04:47 +0000 |
| commit | 09a9ce60c7014ddff97690bf023ac5b2bfc142c7 (patch) | |
| tree | 832fd216893abcb4a73aaf65cbc0c91e9953a3bc /src/encoding/binary/binary_test.go | |
| parent | 2cc42cf2a8a9a3f0fdd2d6169ca2fa3b9cffe48e (diff) | |
| download | go-09a9ce60c7014ddff97690bf023ac5b2bfc142c7.tar.xz | |
cmd/compile: get gcflags to bootstrap; ssa debug opts for "all"
This is intended to help debug compiler problems that pop
up in the bootstrap phase of make.bash. GO_GCFLAGS does not
normally apply there. Options-for-all phases is intended
to allow crude tracing (and full timing) by turning on timing
for all phases, not just one.
Phase names can also be specified using a regular expression,
for example
BOOT_GO_GCFLAGS=-d='ssa/~^.*scc$/off' \
GO_GCFLAGS='-d=ssa/~^.*scc$/off' ./make.bash
I just added this because it was the fastest way to get
me to a place where I could easily debug the compiler.
Change-Id: I0781f3e7c19651ae7452fa25c2d54c9a245ef62d
Reviewed-on: https://go-review.googlesource.com/20775
Reviewed-by: Keith Randall <khr@golang.org>
Run-TryBot: David Chase <drchase@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/encoding/binary/binary_test.go')
0 files changed, 0 insertions, 0 deletions
