This is an archive of the discontinued LLVM Phabricator instance.

[elfabi] Fix the type of the variable formated for error output
ClosedPublic

Authored by mstojanovic on Feb 4 2019, 2:22 AM.

Details

Summary

Change the format type of Dyn.SONameOffset to PRIx64 since it is a uint64_t.
The problem was detected on mips builds, where it was printing junk values and causing test failure.

Diff Detail

Repository
rL LLVM

Event Timeline

mstojanovic created this revision.Feb 4 2019, 2:22 AM
This revision is now accepted and ready to land.Feb 4 2019, 2:47 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptFeb 5 2019, 2:23 PM