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

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


Author: nicholas
Date: Tue Apr 12 14:35:45 2011
New Revision: 129380

URL: http://llvm.org/viewvc/llvm-project?rev=129380&view=rev
Log:
The counters are unsigned.

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=129380&r1=129379&r2=129380&view=diff
==============================================================================
--- llvm/trunk/runtime/libprofile/LineProfiling.c (original)
+++ llvm/trunk/runtime/libprofile/LineProfiling.c Tue Apr 12 14:35:45 2011
@@ -28,7 +28,7 @@
 /* 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);
 }
 





More information about the llvm-commits mailing list