diff options
| author | NAKAMURA Takumi <geek4civic@gmail.com> | 2017-01-13 00:17:15 +0000 |
|---|---|---|
| committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2017-01-13 00:17:15 +0000 |
| commit | c433de7c8b025b31159692913545cb8bcfa16731 (patch) | |
| tree | ea9c10e2d7c7dbc667f7b876be39ea78f1105016 /llvm | |
| parent | 6117caab582b4cb793959e6935e9fcb6f4cf1612 (diff) | |
| download | bcm5719-llvm-c433de7c8b025b31159692913545cb8bcfa16731.tar.gz bcm5719-llvm-c433de7c8b025b31159692913545cb8bcfa16731.zip | |
xray-account: Avoid std::errc::bad_message to appease mingw.
llvm-svn: 291863
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/tools/llvm-xray/xray-account.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-xray/xray-account.cc b/llvm/tools/llvm-xray/xray-account.cc index 84a7da2470a..671a5a073ee 100644 --- a/llvm/tools/llvm-xray/xray-account.cc +++ b/llvm/tools/llvm-xray/xray-account.cc @@ -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: |

