aboutsummaryrefslogtreecommitdiff
path: root/lib/Object/Error.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Object/Error.cpp')
-rw-r--r--lib/Object/Error.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Object/Error.cpp b/lib/Object/Error.cpp
index 40f97d48a1..25946257ab 100644
--- a/lib/Object/Error.cpp
+++ b/lib/Object/Error.cpp
@@ -37,6 +37,8 @@ std::string _object_error_category::message(int ev) const {
return "The file was not recognized as a valid object file";
case object_error::parse_failed:
return "Invalid data was encountered while parsing the file";
+ case object_error::unexpected_eof:
+ return "The end of the file was unexpectedly encountered";
default:
llvm_unreachable("An enumerator of object_error does not have a message "
"defined.");