Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/llvm/include/llvm/Object/
H A DELF.h111 return createError(
117 return createError("can't read past the end of the file");
163 return createError(Msg); in defaultWarningHandler()
285 return createError("invalid e_phentsize: " + in program_headers()
292 return createError("program headers are longer than binary of size " + in program_headers()
314 createError("invalid offset (0x" + Twine::utohexstr(Phdr.p_offset) + in notes_begin()
333 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()
424 return createError("unable to read an extended symbol table at index " + in getExtendedSymbolTableIndex()
[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.h328 return object::createError( in validateHeader()
334 return object::createError( in validateHeader()
H A DELFObjectFile.h1068 return createError("Section is not SHT_RELA"); in getRelocationAddend()
/openbsd-src/gnu/llvm/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.cpp165 return createError("integer expected"); in readAsInt()
172 return createError(Msg); in expect()
219 return createError("unknown directive: " + Tok.Value); in parseOne()
230 return createError("identifier expected, but got " + Tok.Value); in parseExport()
334 return createError("identifier expected, but got " + Tok.Value); in parseVersion()
338 return createError("integer expected, but got " + Tok.Value); in parseVersion()
342 return createError("integer expected, but got " + Tok.Value); in parseVersion()
H A DDecompressor.cpp35 return createError("corrupted compressed section header"); in consumeCompressedHeader()
49 return createError("unsupported compression type (" + Twine(ChType) + ")"); in consumeCompressedHeader()
53 return createError(Reason); in consumeCompressedHeader()
H A DELF.cpp395 return createError("invalid packed relocation header"); in android_relas()
413 return createError("relocation group unexpectedly large"); in android_relas()
581 return createError("invalid empty dynamic section"); in dynamicEntries()
584 return createError("dynamic sections must be DT_NULL terminated"); in dynamicEntries()
619 return createError("virtual address is not in any segment: 0x" + in toMappedAddr()
625 return createError("virtual address is not in any segment: 0x" + in toMappedAddr()
630 return createError("can't map virtual address 0x" + in toMappedAddr()
664 ULEBSizeErr = createError( in decodeBBAddrMap()
679 return createError("unsupported SHT_LLVM_BB_ADDR_MAP version: " + 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()
688 return createError("unable to get the linked-to section for " + in readBBAddrMapImpl()
696 return createError("unable to read " + describe(EF, Sec) + ": " + in readBBAddrMapImpl()
736 return createError("unable to read an entry with index " + Twine(I) + in readDynsymVersionsImpl()
742 return createError("unable to read flags for symbol with index " + in readDynsymVersionsImpl()
750 return createError("unable to get a version for entry " + Twine(I) + in readDynsymVersionsImpl()
H A DXCOFFObjectFile.cpp99 return createError("entry with offset 0x" + Twine::utohexstr(Offset) + in getLoaderSecSymNameInStrTbl()
234 return createError("entry with offset 0x" + Twine::utohexstr(Offset) + in getStringTableEntry()
412 return createError( in getSectionContents()
471 return createError(toString(std::move(E)) + ": " + SectionName + in getSectionFileOffsetToRawData()
766 return createError(toString(std::move(E)) + ": " + Name.data() + in getRawData()
934 return createError("symbol index " + Twine(Index) + in getSymbolNameByIndex()
1016 return createError( in relocations()
1073 return createError(toString(StringTableOrErr.takeError()) + in parseStringTable()
1117 return createError( in getImportFileTable()
1126 return createError( in getImportFileTable()
[all …]
H A DMachOObjectFile.cpp3389 *E = createError("segment " + Twine(SegmentIndex) + in moveNext()
5192 return createError("parsing big-endian chained fixups is not implemented"); in getDyldChainedFixupTargets()
/openbsd-src/gnu/llvm/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.cpp26 static inline Error createError(const Twine &Msg) { in createError() function
35 reportWarning(createError(Msg), ObjName); in ObjDumper()
132 createError(formatv("could not find section '{0}'", S.first).str()), in getSectionRefsByNameOrIndex()
138 createError(formatv("could not find section {0}", S.first).str()), in getSectionRefsByNameOrIndex()
H A DELFDumper.cpp339 return createError("offset (0x" + Twine::utohexstr(Offset) + in createDRI()
426 return createError("invalid section linked to " + describe(Obj, Sec) + in getLinkAsSymtab()
430 return createError( in getLinkAsSymtab()
439 return createError( in getLinkAsSymtab()
445 return createError("unable to read symbols from the " + describe(Obj, Sec) + in getLinkAsSymtab()
462 return createError("the " + describe(Sec) + " is misaligned"); in getVersionTable()
467 return createError("cannot read content of " + describe(Sec) + ": " + in getVersionTable()
825 return createError("unable to read an entry with index " + Twine(R.Symbol) + in getRelocationTarget()
947 return createError( in getSymbolSectionIndex()
2080 createError("SHT_DYNSYM section header and DT_SYMTAB disagree about " in parseDynamicTable()
[all …]
H A Dllvm-readobj.cpp419 reportError(createError(ContentErrString), FileStr); in dumpObject()
/openbsd-src/gnu/llvm/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 …]
/openbsd-src/gnu/llvm/lldb/source/Plugins/Process/Linux/
H A DIntelPTSingleBufferTrace.cpp84 auto createError = [&](const char *expected_value_message) { in ReadIntelPTConfigFile() local
95 return createError("an unsigned hexadecimal int"); in ReadIntelPTConfigFile()
97 return createError("0 or 1"); in ReadIntelPTConfigFile()
100 return createError("an unsigned decimal int"); in ReadIntelPTConfigFile()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/DWARF/
H A DDWARFContext.cpp802 createError("Failed to parse CU header in DWP file"), errs()); in fixupIndex()
812 createError("Collision occured between for truncated offset 0x" + in fixupIndex()
833 logAllUnhandledErrors(createError("Could not find CU offset 0x" + in fixupIndex()
841 logAllUnhandledErrors(createError("Length of CU in CU index doesn't " in fixupIndex()
1519 static Error createError(const Twine &Reason, llvm::Error E) { in createError() function
1552 return createError("failed to compute symbol address: ", in getSymbolInfo()
1558 return createError("failed to get symbol section: ", in getSymbolInfo()
1783 HandleError(createError("failed to get relocated section: ", in DWARFObjInMemory()
1803 HandleError(createError("failed to decompress '" + Name + "', ", in DWARFObjInMemory()
1841 createError("Unexpected relocations for dwo section " + Name)); in DWARFObjInMemory()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DAPFloat.cpp261 static inline Error createError(const Twine &Err) { in createError() function
299 return createError("Exponent has no digits"); in readExponent()
304 return createError("Invalid character in exponent"); in readExponent()
311 return createError("Invalid character in exponent"); in readExponent()
336 return createError("Exponent has no digits"); in totalExponent()
342 return createError("Exponent has no digits"); in totalExponent()
352 return createError("Invalid character in exponent"); in totalExponent()
391 return createError("Significand has no digits"); in skipLeadingZeroesAndAnyDot()
436 return createError("String contains multiple dots"); in interpretDecimal()
447 return createError("Invalid character in significand"); in interpretDecimal()
[all …]
/openbsd-src/gnu/llvm/llvm/tools/llvm-dwarfutil/
H A Dllvm-dwarfutil.cpp202 createError("output verification failed")); in verifyOutput()
519 createError("unsupported input file"))); in main()
/openbsd-src/gnu/llvm/llvm/lib/DWP/
H A DDWP.cpp277 static Error createError(StringRef Name, Error E) { in createError() function
297 return createError(Name, Dec.takeError()); in handleCompressedSection()
301 return createError(Name, std::move(E)); in handleCompressedSection()
/openbsd-src/gnu/llvm/llvm/tools/llvm-objdump/
H A DELFDump.cpp52 return createError("dynamic string table not found"); in getDynamicStrTab()
/openbsd-src/gnu/llvm/llvm/tools/llvm-nm/
H A Dllvm-nm.cpp1759 return createError("File format has no dynamic symbol table"); in getDynamicSyms()

12