From c5f2dabd756b1896bc1b25efe9c7858b0e0b10fe Mon Sep 17 00:00:00 2001 From: "ronghua.zhou" Date: Mon, 28 Oct 2024 03:28:30 +0000 Subject: [PATCH] feat: add support for standalone dwarf package file --- abi-dumper.pl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/abi-dumper.pl b/abi-dumper.pl index 545308f..818067f 100755 --- a/abi-dumper.pl +++ b/abi-dumper.pl @@ -1067,6 +1067,11 @@ ($) if($Found and $Found ne $Path) { printMsg("INFO", "Reading debug-info file $DName linked from gnu_debuglink"); + printMsg("INFO", "$Found.dwp"); + if (-f $Found.".dwp"){ + printMsg("INFO", "Reading debug-info from file $Found.dwp"); + readDWARFInfo($Found.".dwp"); + } return readDWARFInfo($Found); } else