"-O dump-final-ZAM" option similar to "dump-ZAM" only prints final version of functions

This commit is contained in:
Vern Paxson 2024-09-11 16:33:47 +02:00 committed by Christian Kreibich
parent 07d211419a
commit e0e6c462ce
5 changed files with 64 additions and 41 deletions

View file

@ -96,9 +96,12 @@ struct AnalyOpt {
// If true, dump out the use-defs for each analyzed function.
bool dump_uds = false;
// If true, dump out generated ZAM code.
// If true, dump out generated ZAM code, including intermediaries.
bool dump_ZAM = false;
// If true, dump out final generated ZAM code (only).
bool dump_final_ZAM = false;
// If non-zero, looks for variables that are used-but-possibly-not-set,
// or set-but-not-used. We store this as an int rather than a bool
// because we might at some point extend the analysis to deeper forms