#include "llvm/Object/Error.h"
#include "llvm/ADT/Twine.h"
#include "llvm/Support/ErrorHandling.h"
usingnamespacellvm;
usingnamespaceobject;
namespace {
class _object_error_category : public std::error_category { … };
}
const char *_object_error_category::name() const noexcept { … }
std::string _object_error_category::message(int EV) const { … }
void BinaryError::anchor() { … }
char BinaryError::ID = …;
char GenericBinaryError::ID = …;
GenericBinaryError::GenericBinaryError(const Twine &Msg) : … { … }
GenericBinaryError::GenericBinaryError(const Twine &Msg,
object_error ECOverride)
: … { … }
void GenericBinaryError::log(raw_ostream &OS) const { … }
const std::error_category &object::object_category() { … }
llvm::Error llvm::object::isNotObjectErrorInvalidFileType(llvm::Error Err) { … }