llvm.org GIT mirror llvm / e9e7ffa
Print our uint64_t with the more portable (C99 and C++0x) %PRIu64 format specifier. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129384 91177308-0d34-0410-b5e6-96231b3b80d8 Nick Lewycky 8 years ago
1 changed file(s) with 3 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
1616 #include
1717 #include
1818
19 #include "llvm/Support/DataTypes.h"
20
1921 /* A file in this case is a translation unit. Each .o file built with line
2022 * profiling enabled will emit to a different file. Only one file may be
2123 * started at a time.
2830 void llvm_prof_linectr_emit_counter(const char *dir, const char *file,
2931 uint32_t line, uint32_t column,
3032 uint64_t *counter) {
31 printf("%s/%s:%u:%u %lu\n", dir, file, line, column, *counter);
33 printf("%s/%s:%u:%u %" PRIu64 "\n", dir, file, line, column, *counter);
3234 }
3335
3436 void llvm_prof_linectr_end_file() {