Home
last modified time | relevance | path

Searched refs:createError (Results 1 – 9 of 9) sorted by relevance

/freebsd-12.1/contrib/llvm/include/llvm/Object/
H A DELF.h48 static inline Error createError(StringRef Err) { in createError() function
168 return createError("invalid e_phentsize"); in program_headers()
357 return createError("invalid sh_entsize"); in getSectionContentsAsArray()
369 return createError("unaligned data"); in getSectionContentsAsArray()
451 return createError("Invalid buffer"); in create()
462 return createError( in sections()
508 return createError("invalid sh_entsize"); in getEntry()
537 return createError("invalid section name"); in getSection()
550 return createError("empty string table"); in getStringTable()
580 return createError("invalid sh_type"); in getSHNDXTable()
[all …]
H A DELFObjectFile.h886 return createError("Section is not SHT_RELA"); in getRelocationAddend()
929 return createError("More than one dynamic symbol table!"); in create()
935 return createError("More than one static symbol table!"); in create()
/freebsd-12.1/contrib/llvm/lib/Object/
H A DDecompressor.cpp24 return createError("zlib is not available"); in create()
39 return createError("corrupted compressed section header"); in consumeCompressedGnuHeader()
45 return createError("corrupted uncompressed section size"); in consumeCompressedGnuHeader()
57 return createError("corrupted compressed section header"); in consumeCompressedZLibHeader()
64 return createError("unsupported compression type"); in consumeCompressedZLibHeader()
H A DELF.cpp358 return createError("invalid packed relocation header"); in android_relas()
376 return createError(ErrStr); in android_relas()
383 return createError("relocation group unexpectedly large"); in android_relas()
417 return createError(ErrStr); in android_relas()
421 return createError(ErrStr); in android_relas()
526 return createError("invalid empty dynamic section"); in dynamicEntries()
529 return createError("malformed dynamic section"); in dynamicEntries()
532 return createError("dynamic sections must be DT_NULL terminated"); in dynamicEntries()
556 return createError("Virtual address is not in any segment"); in toMappedAddr()
561 return createError("Virtual address is not in any segment"); in toMappedAddr()
H A DCOFFModuleDefinition.cpp84 static Error createError(const Twine &Err) { in createError() function
173 return createError("integer expected"); in readAsInt()
180 return createError(Msg); in expect()
227 return createError("unknown directive: " + Tok.Value); in parseOne()
238 return createError("identifier expected, but got " + Tok.Value); in parseExport()
342 return createError("identifier expected, but got " + Tok.Value); in parseVersion()
346 return createError("integer expected, but got " + Tok.Value); in parseVersion()
350 return createError("integer expected, but got " + Tok.Value); in parseVersion()
H A DELFObjectFile.cpp59 return createError("Insufficient alignment"); in createELFObjectFile()
67 return createError("Invalid ELF data"); in createELFObjectFile()
74 return createError("Invalid ELF data"); in createELFObjectFile()
76 return createError("Invalid ELF class"); in createELFObjectFile()
/freebsd-12.1/contrib/llvm/lib/Support/
H A DCompression.cpp28 static Error createError(StringRef Err) { in createError() function
61 return Res ? createError(convertZlibCodeToString(Res)) : Error::success(); in compress()
72 return Res ? createError(convertZlibCodeToString(Res)) : Error::success(); in uncompress()
/freebsd-12.1/contrib/llvm/tools/llvm-objdump/
H A DELFDump.cpp51 return createError("dynamic string table not found"); in getDynamicStrTab()
/freebsd-12.1/contrib/llvm/lib/DebugInfo/DWARF/
H A DDWARFContext.cpp1148 static Error createError(const Twine &Reason, llvm::Error E) { in createError() function
1181 return createError("failed to compute symbol address: ", in getSymbolInfo()
1187 return createError("failed to get symbol section: ", in getSymbolInfo()
1409 ErrorPolicy EP = HandleError(createError( in DWARFObjInMemory()
1518 createError("failed to compute relocation: " + Type + ", ", in DWARFObjInMemory()