OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87896d9
)
Use %ull here.
author
Nick Lewycky
<nicholas@mxc.ca>
Wed, 13 Apr 2011 01:05:45 +0000
(
01:05
+0000)
committer
Nick Lewycky
<nicholas@mxc.ca>
Wed, 13 Apr 2011 01:05:45 +0000
(
01:05
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129423
91177308
-0d34-0410-b5e6-
96231b3b80d8
runtime/libprofile/LineProfiling.c
patch
|
blob
|
history
diff --git
a/runtime/libprofile/LineProfiling.c
b/runtime/libprofile/LineProfiling.c
index
39cdc72
..
786dc6e
100644
(file)
--- a/
runtime/libprofile/LineProfiling.c
+++ b/
runtime/libprofile/LineProfiling.c
@@
-31,7
+31,8
@@
void llvm_prof_linectr_start_file(const char *orig_filename) {
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() {