Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DELF.h113 return createError(
119 return createError("can't read past the end of the file");
165 return createError(Msg); in defaultWarningHandler()
377 return createError("invalid e_phentsize: " + in program_headers()
384 return createError("program headers are longer than binary of size " + in program_headers()
406 createError("invalid offset (0x" + Twine::utohexstr(Phdr.p_offset) + in notes_begin()
415 createError("alignment (" + Twine(Phdr.p_align) + ") is not 4 or 8"); in notes_begin()
434 createError("invalid offset (0x" + Twine::utohexstr(Shdr.sh_offset) + in notes_begin()
441 Err = createError("alignment (" + Twine(Shdr.sh_addralign) + in notes_begin()
535 return createError("invalid section index: " + Twine(Index)); in getSection()
[all …]
H A DMinidump.h145 static Error createError(StringRef Str) { in createError() function
197 return createError("No such stream"); in getStream()
H A DError.h84 inline Error createError(const Twine &Err) { in createError() function
H A DStackMapParser.h327 return object::createError( in validateHeader()
333 return object::createError( in validateHeader()
H A DELFObjectFile.h1162 return createError("Relocation section does not have addends"); in getRelocationAddend()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DMinidump.cpp35 return createError("String size not even"); in getString()
51 return createError("String decoding failed"); in getString()
61 return createError("No such stream"); in getMemoryInfoList()
79 return createError("No such stream"); in getListStream()
120 return createError("Invalid signature"); in create()
122 return createError("Invalid version"); in create()
147 return createError("Cannot handle one of the minidump streams"); in create()
151 return createError("Duplicate stream type"); in create()
H A DCOFFModuleDefinition.cpp168 return createError("integer expected"); in readAsInt()
175 return createError(Msg); in expect()
222 return createError("unknown directive: " + Tok.Value); in parseOne()
233 return createError("identifier expected, but got " + Tok.Value); in parseExport()
291 return createError( in parseExport()
344 return createError("identifier expected, but got " + Tok.Value); in parseVersion()
348 return createError("integer expected, but got " + Tok.Value); in parseVersion()
352 return createError("integer expected, but got " + Tok.Value); in parseVersion()
H A DDecompressor.cpp36 return createError("corrupted compressed section header"); in consumeCompressedHeader()
50 return createError("unsupported compression type (" + Twine(ChType) + ")"); in consumeCompressedHeader()
54 return createError(Reason); in consumeCompressedHeader()
H A DELF.cpp459 return createError("invalid packed relocation header"); in android_relas()
477 return createError("relocation group unexpectedly large"); in android_relas()
618 return createError( in dynamicEntries()
649 return createError("invalid empty dynamic section"); in dynamicEntries()
652 return createError("dynamic sections must be DT_NULL terminated"); in dynamicEntries()
687 return createError("virtual address is not in any segment: 0x" + in toMappedAddr()
693 return createError("virtual address is not in any segment: 0x" + in toMappedAddr()
698 return createError("can't map virtual address 0x" + in toMappedAddr()
723 ULEBSizeErr = createError("ULEB128 value at offset 0x" + in readULEB128As()
750 return createError("unable to read relocations for section " + in decodeBBAddrMapImpl()
[all …]
H A DELFObjectFile.cpp81 return createError("Insufficient alignment"); in createELFObjectFile()
89 return createError("Invalid ELF data"); in createELFObjectFile()
96 return createError("Invalid ELF data"); in createELFObjectFile()
98 return createError("Invalid ELF class"); in createELFObjectFile()
897 return createError("unable to get the linked-to section for " + in readBBAddrMapImpl()
915 return createError("unable to get relocation section for " + in readBBAddrMapImpl()
922 return createError("unable to read " + describe(EF, *Sec) + ": " + in readBBAddrMapImpl()
967 return createError("unable to read an entry with index " + Twine(I) + in readDynsymVersionsImpl()
973 return createError("unable to read flags for symbol with index " + in readDynsymVersionsImpl()
981 return createError("unable to get a version for entry " + Twine(I) + in readDynsymVersionsImpl()
H A DXCOFFObjectFile.cpp105 return createError("entry with offset 0x" + Twine::utohexstr(Offset) + in getLoaderSecSymNameInStrTbl()
240 return createError("entry with offset 0x" + Twine::utohexstr(Offset) + in getStringTableEntry()
422 return createError( in getSectionContents()
481 return createError(toString(std::move(E)) + ": " + SectionName + in getSectionFileOffsetToRawData()
782 return createError(toString(std::move(E)) + ": " + Name.data() + in getRawData()
950 return createError("symbol index " + Twine(Index) + in getSymbolNameByIndex()
1032 return createError( in relocations()
1089 return createError(toString(StringTableOrErr.takeError()) + in parseStringTable()
1133 return createError( in getImportFileTable()
1142 return createError( in getImportFileTable()
[all …]
H A DMachOObjectFile.cpp3396 *E = createError("segment " + Twine(SegmentIndex) + in moveNext()
5208 return createError("parsing big-endian chained fixups is not implemented"); in getDyldChainedFixupTargets()
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DDwarfCFIEHPrinter.h75 reportError(object::createError( in printUnwindInformation()
126 object::createError("only version 1 of .eh_frame_hdr is supported"), in printEHFrameHdr()
132 reportError(object::createError("unexpected encoding eh_frame_ptr_enc"), in printEHFrameHdr()
138 reportError(object::createError("unexpected encoding fde_count_enc"), in printEHFrameHdr()
144 reportError(object::createError("unexpected encoding table_enc"), in printEHFrameHdr()
164 reportError(object::createError("initial_location is out of order"), in printEHFrameHdr()
H A DObjDumper.cpp28 static inline Error createError(const Twine &Msg) { in createError() function
37 reportWarning(createError(Msg), ObjName); in ObjDumper()
134 createError(formatv("could not find section '{0}'", S.first).str()), in getSectionRefsByNameOrIndex()
140 createError(formatv("could not find section {0}", S.first).str()), in getSectionRefsByNameOrIndex()
H A DELFDumper.cpp359 return createError("offset (0x" + Twine::utohexstr(Offset) + in createDRI()
448 return createError("invalid section linked to " + describe(Obj, Sec) + in getLinkAsSymtab()
452 return createError( in getLinkAsSymtab()
461 return createError( in getLinkAsSymtab()
467 return createError("unable to read symbols from the " + describe(Obj, Sec) + in getLinkAsSymtab()
484 return createError("the " + describe(Sec) + " is misaligned"); in getVersionTable()
489 return createError("cannot read content of " + describe(Sec) + ": " + in getVersionTable()
904 return createError("unable to read an entry with index " + Twine(R.Symbol) + in getRelocationTarget()
1026 return createError( in getSymbolSectionIndex()
2157 createError("SHT_DYNSYM section header and DT_SYMTAB disagree about " in parseDynamicTable()
[all …]
H A Dllvm-readobj.cpp421 reportError(createError(ContentErrString), FileStr); in dumpObject()
H A DCOFFDumper.cpp2135 reportError(createError(Err), Obj->getFileName()); in printAddrsig()
/freebsd/contrib/llvm-project/llvm/lib/InterfaceStub/
H A DELFObjHandler.cpp352 return createError(Stream.str()); in appendToError()
432 return createError( in terminatedSubstr()
450 return createError("No .dynamic section found"); in populateDynamic()
485 return createError( in populateDynamic()
489 return createError( in populateDynamic()
493 return createError( in populateDynamic()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFContext.cpp95 createError("Failed to parse CU header in DWP file: " + in fixupIndexV4()
106 createError("Collision occured between for truncated offset 0x" + in fixupIndexV4()
127 logAllUnhandledErrors(createError("Could not find CU offset 0x" + in fixupIndexV4()
135 logAllUnhandledErrors(createError("Length of CU in CU index doesn't " in fixupIndexV4()
157 createError("Failed to parse CU header in DWP file: " + in fixupIndexV5()
176 createError("Could not find unit with signature 0x" + in fixupIndexV5()
1897 static Error createError(const Twine &Reason, llvm::Error E) { in createError() function
1930 return createError("failed to compute symbol address: ", in getSymbolInfo()
1936 return createError("failed to get symbol section: ", in getSymbolInfo()
2161 HandleError(createError("failed to get relocated section: ", in DWARFObjInMemory()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAPFloat.cpp388 static inline Error createError(const Twine &Err) { in createError() function
424 return createError("Exponent has no digits"); in readExponent()
429 return createError("Invalid character in exponent"); in readExponent()
436 return createError("Invalid character in exponent"); in readExponent()
461 return createError("Exponent has no digits"); in totalExponent()
467 return createError("Exponent has no digits"); in totalExponent()
477 return createError("Invalid character in exponent"); in totalExponent()
516 return createError("Significand has no digits"); in skipLeadingZeroesAndAnyDot()
561 return createError("String contains multiple dots"); in interpretDecimal()
572 return createError("Invalid character in significand"); in interpretDecimal()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-dwarfutil/
H A Dllvm-dwarfutil.cpp207 createError("output verification failed")); in verifyOutput()
524 createError("unsupported input file"))); in main()
/freebsd/contrib/llvm-project/llvm/lib/DWP/
H A DDWP.cpp327 static Error createError(StringRef Name, Error E) { in createError() function
347 return createError(Name, Dec.takeError()); in handleCompressedSection()
351 return createError(Name, std::move(E)); in handleCompressedSection()
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DELFDump.cpp86 return createError("dynamic string table not found"); in getDynamicStrTab()
/freebsd/contrib/llvm-project/llvm/tools/llvm-nm/
H A Dllvm-nm.cpp1780 return createError("File format has no dynamic symbol table"); in getDynamicSyms()