]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile: mention that -m can be increased or given multiple times
authorMichael Schaller <misch@google.com>
Fri, 12 Mar 2021 12:12:48 +0000 (12:12 +0000)
committerRobert Griesemer <gri@golang.org>
Sat, 13 Mar 2021 00:32:00 +0000 (00:32 +0000)
-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: 140f08529024dd17c5ca1cbad52dd1d17c6126c0
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>
src/cmd/compile/doc.go

index 46d47220866a4536e5c9b5c099e4e277b4e1cf84..b68ef274f379e0fa932b54307afafb0b8db1cfdf 100644 (file)
@@ -83,7 +83,8 @@ Flags:
                Without this flag, the -o output is a combination of both
                linker and compiler input.
        -m
-               Print optimization decisions.
+               Print optimization decisions. Higher values or repetition
+               produce more detail.
        -memprofile file
                Write memory profile for the compilation to file.
        -memprofilerate rate