when reporting available/unavailble C++ script bodies, flag those that are skipped

This commit is contained in:
Vern Paxson 2024-12-06 16:18:43 -08:00
parent 62f891dcba
commit 79c5790bbf

View file

@ -366,6 +366,12 @@ static void report_CPP() {
for ( auto& f : funcs ) { for ( auto& f : funcs ) {
const auto& name = f.Func()->GetName(); const auto& name = f.Func()->GetName();
if ( f.ShouldSkip() ) {
printf("script function %s: SKIP\n", name.c_str());
continue;
}
auto hash = f.Profile()->HashVal(); auto hash = f.Profile()->HashVal();
bool have = compiled_scripts.count(hash) > 0; bool have = compiled_scripts.count(hash) > 0;