summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-xray/xray-account.cc
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools/llvm-xray/xray-account.cc')
-rw-r--r--llvm/tools/llvm-xray/xray-account.cc2
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:
OpenPOWER on IntegriCloud