summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2011-04-12 19:35:45 +0000
committerNick Lewycky <nicholas@mxc.ca>2011-04-12 19:35:45 +0000
commit3c974a6bdef155ef17e77856b9e21dac6082bab3 (patch)
tree955d400f831b97e966ca0cb5e77b1f14a5a4f33a /llvm
parentc70b697a40cf9a1a02a6684ad23bc972ea65bdd0 (diff)
downloadbcm5719-llvm-3c974a6bdef155ef17e77856b9e21dac6082bab3.tar.gz
bcm5719-llvm-3c974a6bdef155ef17e77856b9e21dac6082bab3.zip
The counters are unsigned.
llvm-svn: 129380
Diffstat (limited to 'llvm')
-rw-r--r--llvm/runtime/libprofile/LineProfiling.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/runtime/libprofile/LineProfiling.c b/llvm/runtime/libprofile/LineProfiling.c
index 6e6fa196be1..4116ab9504a 100644
--- a/llvm/runtime/libprofile/LineProfiling.c
+++ b/llvm/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);
}
OpenPOWER on IntegriCloud