[PATCH] D57583: [PGO] Fix the type of the formated variable
Petar Jovanovic via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 5 10:09:26 PST 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL353194: [PGO] Fix the type of the formated variable (authored by petarj, committed by ).
Herald added a project: LLVM.
Changed prior to commit:
https://reviews.llvm.org/D57583?vs=184737&id=185342#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D57583/new/
https://reviews.llvm.org/D57583
Files:
llvm/trunk/tools/llvm-profdata/llvm-profdata.cpp
Index: llvm/trunk/tools/llvm-profdata/llvm-profdata.cpp
===================================================================
--- llvm/trunk/tools/llvm-profdata/llvm-profdata.cpp
+++ llvm/trunk/tools/llvm-profdata/llvm-profdata.cpp
@@ -642,7 +642,7 @@
for (uint32_t V = 0; V < NV; V++) {
OS << "\t[ " << format("%2u", I) << ", ";
if (Symtab == nullptr)
- OS << format("%4u", VD[V].Value);
+ OS << format("%4" PRIu64, VD[V].Value);
else
OS << Symtab->getFuncName(VD[V].Value);
OS << ", " << format("%10" PRId64, VD[V].Count) << " ] ("
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57583.185342.patch
Type: text/x-patch
Size: 588 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190205/3a170a11/attachment.bin>
More information about the llvm-commits
mailing list