[04/16] dwarf-reader: Fix some logging

Message ID 87zg1yf6h5.fsf@redhat.com
State New
Headers
Series Fixing various issues found while working on PR30309 |

Commit Message

Dodji Seketeli Sept. 7, 2023, 1:39 p.m. UTC
  Hello,

	* src/abg-dwarf-reader.cc
	(reader::{read_debug_info_into_corpus,
	canonicalize_types_scheduled}): Add missing new lines and spaces.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
Applied to master.
---
 src/abg-dwarf-reader.cc | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)
  

Patch

diff --git a/src/abg-dwarf-reader.cc b/src/abg-dwarf-reader.cc
index 180c1ade..6e472d3a 100644
--- a/src/abg-dwarf-reader.cc
+++ b/src/abg-dwarf-reader.cc
@@ -2184,7 +2184,7 @@  public:
       tools_utils::timer t;
       if (do_log())
 	{
-	  cerr << "building the libabigail internal representation ...";
+	  cerr << "building the libabigail internal representation ...\n";
 	  t.start();
 	}
       // And now walk all the DIEs again to build the libabigail IR.
@@ -2216,8 +2216,9 @@  public:
       if (do_log())
 	{
 	  t.stop();
-	  cerr << " DONE@" << corpus()->get_path()
-	       << ":"
+	  cerr << "building the libabigail internal representation "
+	       << "DONE for corpus << corpus()->get_path()"
+	       << " in :"
 	       << t
 	       << "\n";
 
@@ -2308,9 +2309,9 @@  public:
       if (do_log())
 	{
 	  t.stop();
-	  cerr << "late type canonicalizing DONE@"
+	  cerr << "late type canonicalizing DONE for "
 	       << corpus()->get_path()
-	       << ":"
+	       << " in :"
 	       << t
 	       << "\n";
 	}
@@ -4595,10 +4596,10 @@  public:
     tools_utils::timer cn_timer;
     if (do_log())
       {
-	cerr << "going to canonicalize types";
+	cerr << "DWARF Reader is going to canonicalize types";
 	corpus_sptr c = corpus();
 	if (c)
-	  cerr << " of corpus " << corpus()->get_path();
+	  cerr << " of corpus " << corpus()->get_path() << "\n";
 	cn_timer.start();
       }