1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

[Remarks] Update error message format string

All the clang-cmake-armv{7,8} bots are failing this test. This is an
attempt to fix this.

llvm-svn: 367243
This commit is contained in:
Francis Visoiu Mistrih 2019-07-29 17:40:34 +00:00
parent 4fdbd871d6
commit 289cd6a35a

View File

@ -76,10 +76,10 @@ static Expected<uint64_t> parseVersion(StringRef &Buf) {
support::endian::read<uint64_t, support::little, support::unaligned>(
Buf.data());
if (Version != remarks::Version)
return createStringError(
std::errc::illegal_byte_sequence,
"Mismatching remark version. Got %u, expected %u.", Version,
remarks::Version);
return createStringError(std::errc::illegal_byte_sequence,
"Mismatching remark version. Got %" PRId64
", expected %" PRId64 ".",
Version, remarks::Version);
Buf = Buf.drop_front(sizeof(uint64_t));
return Version;
}