diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-12-10 05:39:40 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-12-10 05:39:40 +0000 |
commit | 2b1408003504551677ef2bd9a5c1a67ee6f18eb3 (patch) | |
tree | cc1c6609f209c00ef9dfc52e31991bf606207dfd /lib/IR/GCOV.cpp | |
parent | e1d55bb5d5e4817c8e431d121fabd1740a6533c7 (diff) | |
download | llvm-2b1408003504551677ef2bd9a5c1a67ee6f18eb3.tar.gz llvm-2b1408003504551677ef2bd9a5c1a67ee6f18eb3.tar.bz2 llvm-2b1408003504551677ef2bd9a5c1a67ee6f18eb3.tar.xz |
GCOV.cpp: Use PRIu64 instead of %lu.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196882 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/IR/GCOV.cpp')
-rw-r--r-- | lib/IR/GCOV.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/IR/GCOV.cpp b/lib/IR/GCOV.cpp index fb7370020a..5587cbfa08 100644 --- 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("%9lu:", Block->getCount()); + OS << format("%9" PRIu64 ":", (uint64_t)Block->getCount()); OS << format("%5u-block %u\n", i+1, BlockNo++); } } |