1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

xray-account: Avoid std::errc::bad_message to appease mingw.

llvm-svn: 291863
This commit is contained in:
NAKAMURA Takumi 2017-01-13 00:17:15 +00:00
parent 7258bda633
commit 3b6c62d888

View File

@ -463,7 +463,7 @@ static CommandRegistration Unused(&Account, []() -> Error {
return make_error<StringError>(
Twine("Failed accounting function calls in file '") + AccountInput +
"'.",
std::make_error_code(std::errc::bad_message));
std::make_error_code(std::errc::executable_format_error));
}
switch (AccountOutputFormat) {
case AccountOutputFormats::TEXT: