13#ifndef LLVM_OBJECT_ERROR_H
14#define LLVM_OBJECT_ERROR_H
17#include <system_error>
53 void anchor()
override;
94struct is_error_code_enum<
llvm::object::object_error> : std::true_type {};
void setErrorCode(std::error_code EC)
Base class for user error types.
Lightweight error class with error context and mandatory checking.
Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...
Base class for all errors indicating malformed binary files.
void log(raw_ostream &OS) const override
const std::string & getMessage() const
This class implements an extremely fast bulk output stream that can only output to a stream.
Error createError(const Twine &Err)
std::error_code make_error_code(object_error e)
@ string_table_non_null_end
@ bitcode_section_not_found
const std::error_category & object_category()
Error isNotObjectErrorInvalidFileType(llvm::Error Err)
isNotObjectErrorInvalidFileType() is used when looping through the children of an archive after calli...
This is an optimization pass for GlobalISel generic memory operations.
Implement std::hash so that hash_code can be used in STL containers.