Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Object/
H A DELF.h84 static inline Error createError(const Twine &Err) { in createError() function
114 return createError(
120 return createError("can't read past the end of the file");
166 return createError(Msg); in defaultWarningHandler()
286 return createError("invalid e_phentsize: " + in program_headers()
293 return createError("program headers are longer than binary of size " + in program_headers()
315 createError("invalid offset (0x" + Twine::utohexstr(Phdr.p_offset) + in notes_begin()
334 createError("invalid offset (0x" + Twine::utohexstr(Shdr.sh_offset) + in notes_begin()
408 return createError("invalid section index: " + Twine(Index)); in getSection()
418 return createError( in getExtendedSymbolTableIndex()
[all …]
H A DMinidump.h144 static Error createError(StringRef Str) { in createError() function
196 return createError("No such stream"); in getStream()
H A DStackMapParser.h328 return object::createError( in validateHeader()
334 return object::createError( in validateHeader()
H A DELFObjectFile.h1044 return createError("Section is not SHT_RELA"); in getRelocationAddend()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Object/
H A DMinidump.cpp35 return createError("String size not even"); in getString()
51 return createError("String decoding failed"); in getString()
60 return createError("No such stream"); in getMemoryInfoList()
78 return createError("No such stream"); in getListStream()
119 return createError("Invalid signature"); in create()
121 return createError("Invalid version"); in create()
146 return createError("Cannot handle one of the minidump streams"); in create()
150 return createError("Duplicate stream type"); in create()
H A DDecompressor.cpp23 return createError("zlib is not available"); in create()
38 return createError("corrupted compressed section header"); in consumeCompressedGnuHeader()
44 return createError("corrupted uncompressed section size"); in consumeCompressedGnuHeader()
56 return createError("corrupted compressed section header"); in consumeCompressedZLibHeader()
63 return createError("unsupported compression type"); in consumeCompressedZLibHeader()
H A DCOFFModuleDefinition.cpp83 static Error createError(const Twine &Err) { in createError() function
172 return createError("integer expected"); in readAsInt()
179 return createError(Msg); in expect()
226 return createError("unknown directive: " + Tok.Value); in parseOne()
237 return createError("identifier expected, but got " + Tok.Value); in parseExport()
341 return createError("identifier expected, but got " + Tok.Value); in parseVersion()
345 return createError("integer expected, but got " + Tok.Value); in parseVersion()
349 return createError("integer expected, but got " + Tok.Value); in parseVersion()
H A DELF.cpp386 return createError("invalid packed relocation header"); in android_relas()
404 return createError("relocation group unexpectedly large"); in android_relas()
554 return createError("invalid empty dynamic section"); in dynamicEntries()
558 return createError("dynamic sections must be DT_NULL terminated"); in dynamicEntries()
593 return createError("virtual address is not in any segment: 0x" + in toMappedAddr()
599 return createError("virtual address is not in any segment: 0x" + in toMappedAddr()
604 return createError("can't map virtual address 0x" + in toMappedAddr()
639 ULEBSizeErr = createError( in decodeBBAddrMap()
H A DELFObjectFile.cpp80 return createError("Insufficient alignment"); in createELFObjectFile()
88 return createError("Invalid ELF data"); in createELFObjectFile()
95 return createError("Invalid ELF data"); in createELFObjectFile()
97 return createError("Invalid ELF class"); in createELFObjectFile()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-readobj/
H A DDwarfCFIEHPrinter.h75 reportError(object::createError( in printUnwindInformation()
127 object::createError("only version 1 of .eh_frame_hdr is supported"), in printEHFrameHdr()
133 reportError(object::createError("unexpected encoding eh_frame_ptr_enc"), in printEHFrameHdr()
139 reportError(object::createError("unexpected encoding fde_count_enc"), in printEHFrameHdr()
145 reportError(object::createError("unexpected encoding table_enc"), in printEHFrameHdr()
165 reportError(object::createError("initial_location is out of order"), in printEHFrameHdr()
H A DObjDumper.cpp25 static inline Error createError(const Twine &Msg) { in createError() function
34 reportWarning(createError(Msg), ObjName); in ObjDumper()
86 createError(formatv("could not find section '{0}'", S.first).str()), in getSectionRefsByNameOrIndex()
92 createError(formatv("could not find section {0}", S.first).str()), in getSectionRefsByNameOrIndex()
H A DELFDumper.cpp321 return createError("offset (0x" + Twine::utohexstr(Offset) + in createDRI()
407 return createError("invalid section linked to " + describe(Obj, Sec) + in getLinkAsSymtab()
411 return createError( in getLinkAsSymtab()
420 return createError( in getLinkAsSymtab()
426 return createError("unable to read symbols from the " + describe(Obj, Sec) + in getLinkAsSymtab()
443 return createError("the " + describe(Sec) + " is misaligned"); in getVersionTable()
448 return createError("cannot read content of " + describe(Sec) + ": " + in getVersionTable()
789 return createError("unable to read an entry with index " + Twine(R.Symbol) + in getRelocationTarget()
912 return createError( in getSymbolSectionIndex()
1988 createError("SHT_DYNSYM section header and DT_SYMTAB disagree about " in parseDynamicTable()
[all …]
H A Dllvm-readobj.cpp502 reportError(createError(ContentErrString), FileStr); in dumpObject()
H A DCOFFDumper.cpp1974 reportError(createError(Err), Obj->getFileName()); in printAddrsig()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-rc/
H A DResourceFileWriter.cpp46 static Error createError(const Twine &Message, in createError() function
56 return createError(FieldName + " (" + Twine(Number) + ") does not fit in " + in checkNumberFits()
73 return createError(FieldName + " (" + Twine(SignedNum) + in checkSignedNumberFits()
79 return createError(FieldName + " (" + Twine(SignedNum) + in checkSignedNumberFits()
162 return createError("Non-ASCII 8-bit codepoint (" + Twine(C) + in processString()
186 return createError("Non-8-bit codepoint (" + Twine(Char) + in processString()
199 return createError("Non-8-bit escaped char (" + Twine(Char) + in processString()
203 return createError("Unable to interpret single byte (" + Twine(Char) + in processString()
210 return createError("Non-ASCII 8-bit codepoint (" + Twine(Char) + in processString()
226 return createError("Expected \"\""); in processString()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DCompression.cpp27 static Error createError(StringRef Err) { in createError() function
60 return Res ? createError(convertZlibCodeToString(Res)) : Error::success(); in compress()
71 return Res ? createError(convertZlibCodeToString(Res)) : Error::success(); in uncompress()
H A DAPFloat.cpp232 static inline Error createError(const Twine &Err) { in createError() function
270 return createError("Exponent has no digits"); in readExponent()
275 return createError("Invalid character in exponent"); in readExponent()
282 return createError("Invalid character in exponent"); in readExponent()
307 return createError("Exponent has no digits"); in totalExponent()
313 return createError("Exponent has no digits"); in totalExponent()
323 return createError("Invalid character in exponent"); in totalExponent()
362 return createError("Significand has no digits"); in skipLeadingZeroesAndAnyDot()
407 return createError("String contains multiple dots"); in interpretDecimal()
418 return createError("Invalid character in significand"); in interpretDecimal()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/InterfaceStub/
H A DELFObjHandler.cpp348 return createError( in terminatedSubstr()
369 return createError(Stream.str().c_str()); in appendToError()
382 return createError("No .dynamic section found"); in populateDynamic()
417 return createError( in populateDynamic()
421 return createError( in populateDynamic()
425 return createError( in populateDynamic()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/DWARF/
H A DDWARFContext.cpp1420 static Error createError(const Twine &Reason, llvm::Error E) { in createError() function
1453 return createError("failed to compute symbol address: ", in getSymbolInfo()
1459 return createError("failed to get symbol section: ", in getSymbolInfo()
1682 HandleError(createError("failed to get relocated section: ", in DWARFObjInMemory()
1701 HandleError(createError("failed to decompress '" + Name + "', ", in DWARFObjInMemory()
1827 HandleError(createError( in DWARFObjInMemory()
1838 createError("failed to compute relocation: " + Type + ", ", in DWARFObjInMemory()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-dwp/
H A Dllvm-dwp.cpp512 static Error createError(StringRef Name, Error E) { in createError() function
528 return createError(Name, Dec.takeError()); in handleCompressedSection()
532 return createError(Name, std::move(E)); in handleCompressedSection()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objdump/
H A DELFDump.cpp52 return createError("dynamic string table not found"); in getDynamicStrTab()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-nm/
H A Dllvm-nm.cpp1735 return createError("unable to read an entry with index " + Twine(I) + in readSymbolVersionsELF()
1741 return createError("unable to read flags for symbol with index " + in readSymbolVersionsELF()
1749 return createError("unable to get a version for entry " + Twine(I) + in readSymbolVersionsELF()