aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/Error.cpp
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2013-06-18 15:03:28 +0000
committerAlexey Samsonov <samsonov@google.com>2013-06-18 15:03:28 +0000
commite6388e622e32f7c840d015b0710dcdde56af639e (patch)
tree59397d191d7fd2cbe3d7d0746fac7cb373842dc9 /llvm/lib/Object/Error.cpp
parent63d84f8149156eae20cf21e06c0212c14cf6ed44 (diff)
downloadllvm-e6388e622e32f7c840d015b0710dcdde56af639e.zip
llvm-e6388e622e32f7c840d015b0710dcdde56af639e.tar.gz
llvm-e6388e622e32f7c840d015b0710dcdde56af639e.tar.bz2
Basic support for parsing Mach-O universal binaries in LLVMObject library
llvm-svn: 184191
Diffstat (limited to 'llvm/lib/Object/Error.cpp')
-rw-r--r--llvm/lib/Object/Error.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Object/Error.cpp b/llvm/lib/Object/Error.cpp
index 7005a72..47ce38c 100644
--- a/llvm/lib/Object/Error.cpp
+++ b/llvm/lib/Object/Error.cpp
@@ -34,6 +34,8 @@ std::string _object_error_category::message(int ev) const {
object_error::Impl E = static_cast<object_error::Impl>(ev);
switch (E) {
case object_error::success: return "Success";
+ case object_error::arch_not_found:
+ return "No object file for requested architecture";
case object_error::invalid_file_type:
return "The file was not recognized as a valid object file";
case object_error::parse_failed: