Insert a sanity check on the combining of x86 truncing-store nodes. This comes to...
[oota-llvm.git] / lib / Object / Error.cpp
index 40f97d48a1dc0dfe340726c182f40d59d9d6ef82..25946257ab5aeb2e4e9ea3af761a982474373a1f 100644 (file)
@@ -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.");