]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: get gcflags to bootstrap; ssa debug opts for "all"
authorDavid Chase <drchase@google.com>
Thu, 17 Mar 2016 18:12:12 +0000 (14:12 -0400)
committerDavid Chase <drchase@google.com>
Fri, 18 Mar 2016 01:04:47 +0000 (01:04 +0000)
commit09a9ce60c7014ddff97690bf023ac5b2bfc142c7
tree832fd216893abcb4a73aaf65cbc0c91e9953a3bc
parent2cc42cf2a8a9a3f0fdd2d6169ca2fa3b9cffe48e
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>
src/cmd/compile/internal/ssa/compile.go
src/cmd/dist/build.go
src/make.bash