report: Exclude "hidden" functions

Fixes #111
This commit is contained in:
Luke Street 2024-09-26 23:52:30 -06:00
parent 258e141017
commit 67719dd93e
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@ fn report_object(
} }
for (symbol, symbol_diff) in section.symbols.iter().zip(&section_diff.symbols) { for (symbol, symbol_diff) in section.symbols.iter().zip(&section_diff.symbols) {
if symbol.size == 0 { if symbol.size == 0 || symbol.flags.0.contains(ObjSymbolFlags::Hidden) {
continue; continue;
} }
if let Some(existing_functions) = &mut existing_functions { if let Some(existing_functions) = &mut existing_functions {