summaryrefslogtreecommitdiffstats
path: root/lldb/source/Utility/Timer.cpp
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2019-05-29 21:25:15 +0000
committerRichard Trieu <rtrieu@google.com>2019-05-29 21:25:15 +0000
commitc8f2efe065c2c6b5bc3f071b6892006f2dc556b1 (patch)
treebb2c36c8f4fc29fe12030baf0e02bc1118c28b44 /lldb/source/Utility/Timer.cpp
parentf3c89b1a6be08ad90b30306554e6724467debf16 (diff)
downloadbcm5719-llvm-c8f2efe065c2c6b5bc3f071b6892006f2dc556b1.tar.gz
bcm5719-llvm-c8f2efe065c2c6b5bc3f071b6892006f2dc556b1.zip
Use correct format specifier to silence -Wformat warning.
llvm-svn: 362035
Diffstat (limited to 'lldb/source/Utility/Timer.cpp')
-rw-r--r--lldb/source/Utility/Timer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Utility/Timer.cpp b/lldb/source/Utility/Timer.cpp
index 7492045bc32..6b46d8ba736 100644
--- 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);
OpenPOWER on IntegriCloud