cmd/compile: add block profiling support

Updates #15756

Change-Id: Ic635812b324af926333122c02908cebfb24d7bce
Reviewed-on: https://go-review.googlesource.com/39208
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
Josh Bleecher Snyder 2017-04-02 18:37:04 -07:00
parent 877574725b
commit 96af817497
3 changed files with 15 additions and 0 deletions

View file

@ -44,6 +44,8 @@ Flags:
Print compiler version and exit.
-asmhdr file
Write assembly header to file.
-blockprofile file
Write block profile for the compilation to file.
-complete
Assume package has no non-Go components.
-cpuprofile file