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 | 9c22f87b1374b06dc6c07f6e8047890e390bbe2d (patch) | |
tree | 4b4111e1ecfdffcfc137e357afdb764d72ea3696 /lib/Object/Error.cpp | |
parent | 79ac9c8402d4113d42ff2d713c7acdfa800d2397 (diff) | |
download | llvm-9c22f87b1374b06dc6c07f6e8047890e390bbe2d.tar.gz llvm-9c22f87b1374b06dc6c07f6e8047890e390bbe2d.tar.bz2 llvm-9c22f87b1374b06dc6c07f6e8047890e390bbe2d.tar.xz |
Basic support for parsing Mach-O universal binaries in LLVMObject library
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184191 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Object/Error.cpp')
-rw-r--r-- | lib/Object/Error.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Object/Error.cpp b/lib/Object/Error.cpp index 7005a72d68..47ce38c888 100644 --- a/lib/Object/Error.cpp +++ b/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: |