projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3c89b1
)
Use correct format specifier to silence -Wformat warning.
author
Richard Trieu
<rtrieu@google.com>
Wed, 29 May 2019 21:25:15 +0000
(21:25 +0000)
committer
Richard Trieu
<rtrieu@google.com>
Wed, 29 May 2019 21:25:15 +0000
(21:25 +0000)
llvm-svn: 362035
lldb/source/Utility/Timer.cpp
patch
|
blob
|
history
diff --git
a/lldb/source/Utility/Timer.cpp
b/lldb/source/Utility/Timer.cpp
index
7492045
..
6b46d8b
100644
(file)
--- a/
lldb/source/Utility/Timer.cpp
+++ b/
lldb/source/Utility/Timer.cpp
@@
-144,7
+144,8
@@
void Timer::DumpCategoryTimes(Stream *s) {
llvm::sort(sorted.begin(), sorted.end(), CategoryMapIteratorSortCriterion);
for (const auto &stats : sorted)
- s->Printf("%.9f sec (total: %.3fs; child: %.3fs; count: %llu) for %s\n",
+ s->Printf("%.9f sec (total: %.3fs; child: %.3fs; count: %" PRIu64
+ ") for %s\n",
stats.nanos / 1000000000., stats.nanos_total / 1000000000.,
(stats.nanos_total - stats.nanos) / 1000000000., stats.count,
stats.name);