Skip to content

Commit 8be5db0

Browse files
committed
filter out __catch symbols too
1 parent 7c27010 commit 8be5db0

File tree

1 file changed

+2
-1
lines changed
  • objdiff-core/src/arch/ppc

1 file changed

+2
-1
lines changed

objdiff-core/src/arch/ppc/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,8 @@ impl Arch for ArchPpc {
368368
match symbol.name() {
369369
Ok(name) => {
370370
if name.starts_with("except_data_")
371-
|| (name.starts_with("__unwind") && !diff_config.ppc_show_unwinds)
371+
|| ((name.starts_with("__unwind") || name.starts_with("__catch"))
372+
&& !diff_config.ppc_show_unwinds)
372373
{
373374
SymbolFlag::Hidden.into()
374375
} else {

0 commit comments

Comments
 (0)