[llvm-commits] [llvm] r129423 - /llvm/trunk/runtime/libprofile/LineProfiling.c

Nick Lewycky nicholas at mxc.ca
Tue Apr 12 18:05:45 PDT 2011


Author: nicholas
Date: Tue Apr 12 20:05:45 2011
New Revision: 129423

URL: http://llvm.org/viewvc/llvm-project?rev=129423&view=rev
Log:
Use %ull here.

Modified:
    llvm/trunk/runtime/libprofile/LineProfiling.c

Modified: llvm/trunk/runtime/libprofile/LineProfiling.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/runtime/libprofile/LineProfiling.c?rev=129423&r1=129422&r2=129423&view=diff
==============================================================================
--- llvm/trunk/runtime/libprofile/LineProfiling.c (original)
+++ llvm/trunk/runtime/libprofile/LineProfiling.c Tue Apr 12 20:05:45 2011
@@ -31,7 +31,8 @@
 void llvm_prof_linectr_emit_counter(const char *dir, const char *file,
                                     uint32_t line, uint32_t column,
                                     uint64_t *counter) {
-  printf("%s/%s:%u:%u %" PRIu64 "\n", dir, file, line, column, *counter);
+  printf("%s/%s:%u:%u %ull\n", dir, file, line, column,
+         (unsigned long long)(*counter));
 }
 
 void llvm_prof_linectr_end_file() {





More information about the llvm-commits mailing list