X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FObject%2FError.cpp;h=25946257ab5aeb2e4e9ea3af761a982474373a1f;hb=9c6cdf4c1c82842a97e02bef4cef2431ad2e61a3;hp=40f97d48a1dc0dfe340726c182f40d59d9d6ef82;hpb=bf58996c086fe4993ae778adb838d230ced06068;p=oota-llvm.git diff --git a/lib/Object/Error.cpp b/lib/Object/Error.cpp index 40f97d48a1d..25946257ab5 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.");