Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DELF.h111 return createError(
163 return createError(Msg); in defaultWarningHandler()
497 return createError( in getExtendedSymbolTableIndex()
726 return createError( in getSectionStringTable()
891 return createError( in sections()
914 return createError( in sections()
947 return createError( in getEntry()
1027 return createError( in getVersionDefinitions()
1100 return createError( in getVersionDependencies()
1217 return createError( in getSHNDXTable()
[all …]
H A DELFObjectFile.h1093 return createError("Section is not SHT_RELA"); in getRelocationAddend()
H A DError.h84 inline Error createError(const Twine &Err) { in createError() function
H A DMinidump.h145 static Error createError(StringRef Str) { in createError() function
197 return createError("No such stream"); in getStream()
H A DStackMapParser.h327 return object::createError( in validateHeader()
333 return object::createError( in validateHeader()
/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/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()
1895 static Error createError(const Twine &Reason, llvm::Error E) { in createError() function
1928 return createError("failed to compute symbol address: ", in getSymbolInfo()
1934 return createError("failed to get symbol section: ", in getSymbolInfo()
2159 HandleError(createError("failed to get relocated section: ", in DWARFObjInMemory()
[all …]
/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/Object/
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()
337 return createError("identifier expected, but got " + Tok.Value); in parseVersion()
341 return createError("integer expected, but got " + Tok.Value); in parseVersion()
345 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.cpp403 return createError("invalid packed relocation header"); in android_relas()
421 return createError("relocation group unexpectedly large"); in android_relas()
589 return createError("invalid empty dynamic section"); in dynamicEntries()
592 return createError("dynamic sections must be DT_NULL terminated"); in dynamicEntries()
627 return createError("virtual address is not in any segment: 0x" + in toMappedAddr()
633 return createError("virtual address is not in any segment: 0x" + in toMappedAddr()
638 return createError("can't map virtual address 0x" + in toMappedAddr()
663 ULEBSizeErr = createError("ULEB128 value at offset 0x" + in readULEB128As()
690 return createError("unable to read relocations for section " + in decodeBBAddrMapImpl()
728 return createError( in decodeBBAddrMapImpl()
[all …]
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()
805 return createError("unable to get the linked-to section for " + in readBBAddrMapImpl()
820 return createError("unable to get relocation section for " + in readBBAddrMapImpl()
827 return createError("unable to read " + describe(EF, *Sec) + ": " + in readBBAddrMapImpl()
872 return createError("unable to read an entry with index " + Twine(I) + in readDynsymVersionsImpl()
878 return createError("unable to read flags for symbol with index " + in readDynsymVersionsImpl()
886 return createError("unable to get a version for entry " + Twine(I) + in readDynsymVersionsImpl()
H A DMachOObjectFile.cpp3396 *E = createError("segment " + Twine(SegmentIndex) + in moveNext()
5204 return createError("parsing big-endian chained fixups is not implemented"); in getDyldChainedFixupTargets()
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 DXCOFFObjectFile.cpp416 return createError( in getSectionContents()
475 return createError(toString(std::move(E)) + ": " + SectionName + in getSectionFileOffsetToRawData()
942 return createError("symbol index " + Twine(Index) + in getSymbolNameByIndex()
1024 return createError( in relocations()
1081 return createError(toString(StringTableOrErr.takeError()) + in parseStringTable()
1125 return createError( in getImportFileTable()
1134 return createError( in getImportFileTable()
1179 return createError(toString(SecHeadersOrErr.takeError()) + in create()
1204 return createError( in create()
1291 return createError( in isFunction()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAPFloat.cpp357 static inline Error createError(const Twine &Err) { in createError() function
393 return createError("Exponent has no digits"); in readExponent()
430 return createError("Exponent has no digits"); in totalExponent()
436 return createError("Exponent has no digits"); in totalExponent()
485 return createError("Significand has no digits"); in skipLeadingZeroesAndAnyDot()
543 return createError("Significand has no digits"); in interpretDecimal()
545 return createError("Significand has no digits"); in interpretDecimal()
2878 return createError("Significand has no digits"); in convertFromHexadecimalString()
3193 return createError("Invalid string length"); in convertFromString()
3207 return createError("String has no digits"); in convertFromString()
[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/tools/llvm-nm/
H A Dllvm-nm.cpp1780 return createError("File format has no dynamic symbol table"); in getDynamicSyms()
/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-readobj/
H A DCOFFDumper.cpp2132 reportError(createError(Err), Obj->getFileName()); in printAddrsig()
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 DELFDumper.cpp449 return createError( in getLinkAsSymtab()
458 return createError( in getLinkAsSymtab()
1011 return createError( in getSymbolSectionIndex()
2622 return createError("the hash table at offset 0x" + in checkHashTable()
2658 return createError("unable to dump the SHT_GNU_HASH " in checkGNUHashTable()
2691 return createError("no dynamic symbol table found"); in getGnuHashTableChains()
2711 return createError( in getGnuHashTableChains()
3064 return createError("cannot find PLTGOT dynamic tag"); in findGOT()
3401 return createError( in readMipsOptions()
5087 return createError(Err); in toULEB128Array()
[all …]
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 Dllvm-readobj.cpp417 reportError(createError(ContentErrString), FileStr); in dumpObject()