From c5551f2df6b9d5a26244ec597a38d702e7ef245b Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Sat, 22 Aug 2020 11:45:59 +0200 Subject: [PATCH 1/1] dwarfredundant: +DW_AT_signature --- dwarfredundant | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dwarfredundant b/dwarfredundant index c0be997..c7c50c0 100755 --- a/dwarfredundant +++ b/dwarfredundant @@ -49,7 +49,7 @@ for my $argv (@ARGV) { $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; -- 1.8.3.1