clearer messages for warning about unused functions

This commit is contained in:
Vern Paxson 2022-05-27 14:35:52 -07:00
parent 5ca0bb79c8
commit a120bcd7d7

View file

@ -86,7 +86,7 @@ UsageAnalyzer::UsageAnalyzer(std::vector<FuncInfo>& funcs)
auto loc = id->GetLocationInfo();
id->Warn("function does not have any callers");
id->Warn("non-exported function does not have any callers");
// Unlike for events/hooks above, we don't add the function to
// the reachables. This is because an orphan function is a