return true;
}
+ if (!filter_matches_symbol(options.plt_filter, function_name, lib) &&
+ !filter_matches_symbol(options.static_filter, function_name, lib) &&
+ !filter_matches_symbol(options.export_filter, function_name, lib)) {
+ complain(die, "Prototype not requested by any filter");
+ return true;
+ }
complain(die, "subroutine_type: 0x%02x; function '%s'",
dwarf_tag(die), function_name);
return true;
}
- if (!filter_matches_symbol(options.plt_filter, function_name, lib) &&
- !filter_matches_symbol(options.static_filter, function_name, lib) &&
- !filter_matches_symbol(options.export_filter, function_name, lib)) {
- complain(die, "Prototype not requested by any filter");
- return true;
- }
-
proto = malloc(sizeof(struct prototype));
if (proto == NULL) {
complain(die, "couldn't alloc prototype");