Page MenuHomePhabricator

[PGO] Fix the type of the formated variable
ClosedPublic

Authored by mstojanovic on Feb 1 2019, 6:45 AM.

Details

Summary

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.

Diff Detail

Repository
rL LLVM

Event Timeline

mstojanovic created this revision.Feb 1 2019, 6:45 AM
mstojanovic edited the summary of this revision. (Show Details)Feb 1 2019, 7:07 AM
davidxl accepted this revision.Feb 1 2019, 11:03 AM
davidxl added a subscriber: davidxl.

lgtm

This revision is now accepted and ready to land.Feb 1 2019, 11:03 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptFeb 5 2019, 10:09 AM