diff options
author | Alexey Samsonov <samsonov@google.com> | 2013-06-18 15:03:28 +0000 |
---|---|---|
committer | Alexey Samsonov <samsonov@google.com> | 2013-06-18 15:03:28 +0000 |
commit | e6388e622e32f7c840d015b0710dcdde56af639e (patch) | |
tree | 59397d191d7fd2cbe3d7d0746fac7cb373842dc9 /llvm/lib/Object/Error.cpp | |
parent | 63d84f8149156eae20cf21e06c0212c14cf6ed44 (diff) | |
download | llvm-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.cpp | 2 |
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: |