projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1d55bb
)
GCOV.cpp: Use PRIu64 instead of %lu.
author
NAKAMURA Takumi
<geek4civic@gmail.com>
Tue, 10 Dec 2013 05:39:40 +0000
(
05:39
+0000)
committer
NAKAMURA Takumi
<geek4civic@gmail.com>
Tue, 10 Dec 2013 05:39:40 +0000
(
05:39
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196882
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/IR/GCOV.cpp
patch
|
blob
|
history
diff --git
a/lib/IR/GCOV.cpp
b/lib/IR/GCOV.cpp
index fb7370020a59869c119ef113ba85e878096c2e57..5587cbfa08deda92370b7509bbc405304659554c 100644
(file)
--- a/
lib/IR/GCOV.cpp
+++ b/
lib/IR/GCOV.cpp
@@
-426,7
+426,7
@@
void FileInfo::print(StringRef GCNOFile, StringRef GCDAFile,
if (Block->getCount() == 0)
OS << " $$$$$:";
else
- OS << format("%9
lu:",
Block->getCount());
+ OS << format("%9
" PRIu64 ":", (uint64_t)
Block->getCount());
OS << format("%5u-block %u\n", i+1, BlockNo++);
}
}