]> granicus.if.org Git - llvm/commit
[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)
commit747f42fa4c7ffa051370a7465f376009294f5db0
treed2f8d88af45ce644de6e3145ece611052bf789e1
parent005e630f24e6708ae5a095d2a7373c0b44782cc8
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@353194 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvm-profdata/llvm-profdata.cpp