19 using namespace object;
25 std::
string message(
int ev)
const override;
33 std::string _object_error_category::message(
int EV)
const {
37 return "No object file for requested architecture";
39 return "The file was not recognized as a valid object file";
41 return "Invalid data was encountered while parsing the file";
43 return "The end of the file was unexpectedly encountered";
45 return "String table must end with a null terminator";
47 return "Invalid section index";
49 return "Bitcode section not found in object file";
51 return "Mach-O load command with size < 8 bytes";
53 return "Mach-O segment load command contains too many sections";
55 return "Mach-O segment load command size is too small";
const std::error_category & object_category()
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.
static ManagedStatic< _object_error_category > error_category
ManagedStatic - This transparently changes the behavior of global statics to be lazily constructed on...