13#ifndef LLVM_OBJECT_ERROR_H
14#define LLVM_OBJECT_ERROR_H
18#include <system_error>
54 void anchor()
override;
68 :
public ErrorInfo<GenericBinaryError, BinaryError> {
96struct is_error_code_enum<
llvm::object::object_error> : std::true_type {};
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.
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
LLVM_ABI const std::error_category & object_category()
LLVM_ABI 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.
std::error_code make_error_code(BitcodeError E)
Implement std::hash so that hash_code can be used in STL containers.