diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2011-04-12 19:35:45 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2011-04-12 19:35:45 +0000 |
commit | c6d8853dff22b57b81f3f0e901915965538d77d1 (patch) | |
tree | bbd51b24025d6c5b1cf6122e3690b8df5bf79b92 /runtime | |
parent | fd5c51342a429ecab86a645282d0b36b216c0256 (diff) |
The counters are unsigned.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129380 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/libprofile/LineProfiling.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/libprofile/LineProfiling.c b/runtime/libprofile/LineProfiling.c index 6e6fa196be..4116ab9504 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); } |