[llvm-commits] [compiler-rt] r164052 - /compiler-rt/trunk/lib/profile/GCDAProfiling.c

Bill Wendling isanbard at gmail.com
Mon Sep 17 13:43:11 PDT 2012


Author: void
Date: Mon Sep 17 15:43:11 2012
New Revision: 164052

URL: http://llvm.org/viewvc/llvm-project?rev=164052&view=rev
Log:
Remove debugging code.

Modified:
    compiler-rt/trunk/lib/profile/GCDAProfiling.c

Modified: compiler-rt/trunk/lib/profile/GCDAProfiling.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/profile/GCDAProfiling.c?rev=164052&r1=164051&r2=164052&view=diff
==============================================================================
--- compiler-rt/trunk/lib/profile/GCDAProfiling.c (original)
+++ compiler-rt/trunk/lib/profile/GCDAProfiling.c Mon Sep 17 15:43:11 2012
@@ -232,8 +232,6 @@
   pos = ftell(output_file);
   val = read_int32();
 
-  fprintf(stderr, "Read: 0x%08x\n", val);
-
   if (val != (uint32_t)-1) {
     /* There are counters present in the file. Merge them. */
     uint32_t j;
@@ -251,10 +249,8 @@
 
     old_ctrs = malloc(sizeof(uint64_t) * num_counters);
 
-    for (j = 0; j < num_counters; ++j) {
+    for (j = 0; j < num_counters; ++j)
       old_ctrs[j] = read_int64();
-      fprintf(stderr, "old counter[%d]: %lld\n", j, old_ctrs[j]);
-    }
   }
 
   /* Reset for writing. */





More information about the llvm-commits mailing list