mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-09 21:50:50 +00:00
xray-account: Avoid std::errc::bad_message to appease mingw.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291863 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6c3ca405e1
commit
bda0ff2479
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user