mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/compile: mention that -m can be increased or given multiple times
-m can be increased or it can be given up to 4 times to increase the verbosity of the printed optimization decisions: https://github.com/golang/go/search?q=LowerM
Change-Id: I0cc304385be052664fad455ff075846a3a63f298
GitHub-Last-Rev: 140f085290
GitHub-Pull-Request: golang/go#44857
Reviewed-on: https://go-review.googlesource.com/c/go/+/299709
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
This commit is contained in:
parent
3eebc26700
commit
7b47f9a5f2
1 changed files with 2 additions and 1 deletions
|
|
@ -83,7 +83,8 @@ Flags:
|
||||||
Without this flag, the -o output is a combination of both
|
Without this flag, the -o output is a combination of both
|
||||||
linker and compiler input.
|
linker and compiler input.
|
||||||
-m
|
-m
|
||||||
Print optimization decisions.
|
Print optimization decisions. Higher values or repetition
|
||||||
|
produce more detail.
|
||||||
-memprofile file
|
-memprofile file
|
||||||
Write memory profile for the compilation to file.
|
Write memory profile for the compilation to file.
|
||||||
-memprofilerate rate
|
-memprofilerate rate
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue