dwarfredundant: +DW_AT_signature
authorJan Kratochvil <jan.kratochvil@redhat.com>
Sat, 22 Aug 2020 09:45:59 +0000 (11:45 +0200)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Sat, 22 Aug 2020 09:45:59 +0000 (11:45 +0200)
dwarfredundant

index c0be997..c7c50c0 100755 (executable)
@@ -49,7 +49,7 @@ for my $argv (@ARGV) {
       $redundant_text.=$_ if !$quiet;
     }
     my $spacesl=length $spaces or die;
       $redundant_text.=$_ if !$quiet;
     }
     my $spacesl=length $spaces or die;
-    if ($rest=~/DW_FORM_addr.*0x0000000000000000/) {
+    if ($rest=~/\bDW_FORM_addr\b.*0x0000000000000000|\bDW_AT_signature\b/) {
       next if $redundant;
       $redundant=$spacesl;
       $redundant_text=$die_text if !$quiet;
       next if $redundant;
       $redundant=$spacesl;
       $redundant_text=$die_text if !$quiet;