Home
last modified time | relevance | path

Searched refs:GenericBinaryError (Results 1 – 12 of 12) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Object/
H A DWasmObjectFile.cpp190 return make_error<GenericBinaryError>("invalid type for ref.null", in readInitExpr()
196 return make_error<GenericBinaryError>("invalid opcode in init_expr", in readInitExpr()
202 return make_error<GenericBinaryError>("invalid init_expr", in readInitExpr()
336 return make_error<GenericBinaryError>( in parseSection()
353 return make_error<GenericBinaryError>("dylink section ended prematurely", in parseDylinkSection()
363 return make_error<GenericBinaryError>("names must come after code section", in parseNameSection()
382 return make_error<GenericBinaryError>( in parseNameSection()
385 return make_error<GenericBinaryError>("invalid name entry", in parseNameSection()
393 return make_error<GenericBinaryError>("global named more than once", in parseNameSection()
396 return make_error<GenericBinaryError>("invalid name entry", in parseNameSection()
[all …]
H A DError.cpp62 char GenericBinaryError::ID = 0;
64 GenericBinaryError::GenericBinaryError(const Twine &Msg) : Msg(Msg.str()) {} in GenericBinaryError() function in GenericBinaryError
66 GenericBinaryError::GenericBinaryError(const Twine &Msg, in GenericBinaryError() function in GenericBinaryError
72 void GenericBinaryError::log(raw_ostream &OS) const { in log()
H A DMachOUniversal.cpp28 return make_error<GenericBinaryError>(std::move(StringMsg), in malformedError()
137 Err = make_error<GenericBinaryError>("File too small to be a Mach-O " in MachOUniversalBinary()
236 return make_error<GenericBinaryError>("Unknown architecture " in getObjectForArch()
243 return make_error<GenericBinaryError>("fat file does not " in getObjectForArch()
H A DArchive.cpp49 return make_error<GenericBinaryError>(std::move(StringMsg), in malformedError()
549 Err = make_error<GenericBinaryError>("file too small to be an archive", in Archive()
H A DWindowsResource.cpp62 return make_error<GenericBinaryError>( in createWindowsResource()
121 return make_error<GenericBinaryError>(Owner->getFileName() + in loadNext()
H A DArchiveWriter.cpp501 return make_error<object::GenericBinaryError>( in computeMemberData()
H A DXCOFFObjectFile.cpp175 return make_error<GenericBinaryError>("Bad offset for string table entry", in getStringTableEntry()
H A DMachOObjectFile.cpp61 return make_error<GenericBinaryError>("truncated or malformed object (" + in malformedError()
4667 return make_error<GenericBinaryError>("Unrecognized MachO magic number", in createMachOObjectFile()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Object/
H A DError.h67 class GenericBinaryError : public ErrorInfo<GenericBinaryError, BinaryError> {
70 GenericBinaryError(const Twine &Msg);
71 GenericBinaryError(const Twine &Msg, object_error ECOverride);
H A DMinidump.h145 return make_error<GenericBinaryError>(Str, object_error::parse_failed); in createError()
149 return make_error<GenericBinaryError>("Unexpected EOF", in createEOFError()
H A DWindowsResource.h92 class EmptyResError : public GenericBinaryError {
95 : GenericBinaryError(Msg, ECOverride) {} in EmptyResError()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objdump/
H A DXCOFFDump.cpp27 return make_error<GenericBinaryError>( in getXCOFFRelocationValueString()