added "-O noinline" option to turn off ZAM inlining, to help with diagnosing optimization problems

This commit is contained in:
Vern Paxson 2023-11-05 16:29:30 -08:00 committed by Arne Welzel
parent 1dc74eaa9c
commit fadda05782
3 changed files with 12 additions and 0 deletions

View file

@ -50,6 +50,11 @@ struct AnalyOpt {
// If true, do global inlining.
bool inliner = false;
// If true, suppress global inlining. A separate option because
// it needs to override situations where "inliner" is implicitly
// enabled due to other options.
bool no_inliner = false;
// If true, report which functions are directly and indirectly
// recursive, and exit. Only germane if running the inliner.
bool report_recursive = false;