From b556d5f13cd2e4d52772aee0a50af4c8377a281a Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Mon, 17 Sep 2012 20:43:11 +0000 Subject: [PATCH] Remove debugging code. llvm-svn: 164052 --- compiler-rt/lib/profile/GCDAProfiling.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/compiler-rt/lib/profile/GCDAProfiling.c b/compiler-rt/lib/profile/GCDAProfiling.c index a25caa2d73f1..7c52a1740999 100644 --- a/compiler-rt/lib/profile/GCDAProfiling.c +++ b/compiler-rt/lib/profile/GCDAProfiling.c @@ -232,8 +232,6 @@ void llvm_gcda_emit_arcs(uint32_t num_counters, uint64_t *counters) { 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 @@ void llvm_gcda_emit_arcs(uint32_t num_counters, uint64_t *counters) { 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. */