mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
when reporting available/unavailble C++ script bodies, flag those that are skipped
This commit is contained in:
parent
62f891dcba
commit
79c5790bbf
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue