summaryrefslogtreecommitdiff
path: root/lib/profile/GCDAProfiling.c
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-09-17 20:43:11 +0000
committerBill Wendling <isanbard@gmail.com>2012-09-17 20:43:11 +0000
commit9c994aae092ddbc786ceb27668f38571de926e5b (patch)
tree66f87c60f088c29c6ce41286c412a4f401a1911c /lib/profile/GCDAProfiling.c
parent7ad8ae259389e8652a5476681ac01185105c3d68 (diff)
Remove debugging code.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164052 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/profile/GCDAProfiling.c')
-rw-r--r--lib/profile/GCDAProfiling.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/profile/GCDAProfiling.c b/lib/profile/GCDAProfiling.c
index a25caa2d7..7c52a1740 100644
--- a/lib/profile/GCDAProfiling.c
+++ b/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. */