cmd/compile: provide flags to request just inlining or just escape analysis info #30585
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
-m
and-m -m
respectively ask the compiler to print and explain its inlining and escape analysis decisions. This is very useful. But almost always I am interested in inlining or in escape analysis, but not both, so I end up grepping through the output.We should keep the existing flags, since they are used in documentation and blog posts the world over. But I'd like to add new flags to print just inlining or just escape analysis. (
-ml
and-me
?)Opinions? Bikesheds?
The text was updated successfully, but these errors were encountered: