[PATCH 1/2, applied] dwarf-reader: Improve logging messages
Dodji Seketeli
dodji@seketeli.org
Wed Sep 9 13:24:44 GMT 2026
Hello,
While looking at something else, I noticed the logging messages from the
DWARF reader when reading debug info into the ABI corpus could use some
improvement.
The patch thus improves logging output when using the tools with the
--verbose option. Applying to the mainline.
* src/abg-dwarf-reader.cc (reader::read_debug_info_into_corpus):
Make logging clearer and more consistent.
Signed-off-by: Dodji Seketeli <dodji@seketeli.org>
---
src/abg-dwarf-reader.cc | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/abg-dwarf-reader.cc b/src/abg-dwarf-reader.cc
index 238463a3..f506ae6d 100644
--- a/src/abg-dwarf-reader.cc
+++ b/src/abg-dwarf-reader.cc
@@ -2441,7 +2441,7 @@ public:
tools_utils::timer t;
if (do_log())
{
- cerr << "building die -> parent maps ...";
+ cerr << "building die -> parent maps ...\n";
t.start();
}
@@ -2450,8 +2450,8 @@ public:
if (do_log())
{
t.stop();
- cerr << " DONE@" << corpus()->get_path()
- << ":"
+ cerr << "built DIE -> parent maps for " << corpus()->get_path()
+ << " in : "
<< t
<< "\n";
}
--
2.55.0
--
Dodji
More information about the Libabigail
mailing list