From: Nick Lewycky Date: Tue, 12 Apr 2011 19:35:45 +0000 (+0000) Subject: The counters are unsigned. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=c6d8853dff22b57b81f3f0e901915965538d77d1;p=oota-llvm.git The counters are unsigned. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129380 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/runtime/libprofile/LineProfiling.c b/runtime/libprofile/LineProfiling.c index 6e6fa196be1..4116ab9504a 100644 --- a/runtime/libprofile/LineProfiling.c +++ b/runtime/libprofile/LineProfiling.c @@ -28,7 +28,7 @@ void llvm_prof_linectr_start_file(const char *orig_filename) { /* Emit data about a counter to the data file. */ void llvm_prof_linectr_emit_counter(const char *dir, const char *file, uint32_t line, uint32_t column, - int64_t *counter) { + uint64_t *counter) { printf("%s/%s:%u:%u %lu\n", dir, file, line, column, *counter); }