[gcc(refs/users/marxin/heads/gcov-topn-dynamic)] Change gcov-dump output for easier parsing.

Martin Liska marxin@gcc.gnu.org
Fri Jan 31 14:04:00 GMT 2020


https://gcc.gnu.org/g:52cfa65427d6b65c8b092f9181f5a0fa7a0a3e39

commit 52cfa65427d6b65c8b092f9181f5a0fa7a0a3e39
Author: Martin Liska <mliska@suse.cz>
Date:   Fri Jan 31 15:01:01 2020 +0100

    Change gcov-dump output for easier parsing.

Diff:
---
 gcc/gcov-dump.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gcc/gcov-dump.c b/gcc/gcov-dump.c
index 0a64e8b..4e8af65 100644
--- a/gcc/gcov-dump.c
+++ b/gcc/gcov-dump.c
@@ -443,9 +443,9 @@ tag_counters (const char *filename ATTRIBUTE_UNUSED,
 
 	  if (ix == 0)
 	    {
-	      printf ("\n");
-	      print_prefix (filename, depth, gcov_position ());
-	      printf (VALUE_PADDING_PREFIX VALUE_PREFIX, ix);
+	      printf (":");
+//	      print_prefix (filename, depth, gcov_position ());
+//	      printf (VALUE_PADDING_PREFIX VALUE_PREFIX, ix);
 	    }
 
 	  count = gcov_read_counter ();



More information about the Gcc-cvs mailing list