flag/environment variable for dumping use-defs

This commit is contained in:
Vern Paxson 2021-02-05 22:26:24 -08:00
parent 8a3622a726
commit 12c9b5ede5
3 changed files with 8 additions and 1 deletions

View file

@ -27,6 +27,9 @@ struct AnalyOpt {
// them. Always done if only_func is set.
bool dump_xform = false;
// If true, dump out the use-defs for each analyzed function.
bool dump_uds = false;
// If non-nil, then only analyze the given function/event/hook.
std::optional<std::string> only_func;