[PGO] Fix the type of the formated variable
authorPetar Jovanovic <petar.jovanovic@mips.com>
Tue, 5 Feb 2019 18:09:28 +0000 (18:09 +0000)
committerPetar Jovanovic <petar.jovanovic@mips.com>
Tue, 5 Feb 2019 18:09:28 +0000 (18:09 +0000)
commit40a7f63c37e3479d554bba63bc5cb713615d6daf
treeac076facda3b01ff49cf95ea929d36a228a4cb47
parentd5444ccf17cb016779c6ace75e41826173497361
[PGO] Fix the type of the formated variable

Change the format type of Value to PRIu64 since it is a uint64_t.
The problem was detected on mips boards building 32-bit binaries,
where it was printing junk values and causing test failure.

Patch by Milos Stojanovic.

Differential Revision: https://reviews.llvm.org/D57583

llvm-svn: 353194
llvm/tools/llvm-profdata/llvm-profdata.cpp