| /llvm-project/offload/plugins-nextgen/common/src/Utils/ |
| H A D | ELF.cpp | 63 return createError("Only executable ELF files are supported"); in checkMachineImpl() 67 return createError("Invalid AMD OS/ABI, must be AMDGPU_HSA"); in checkMachineImpl() 71 return createError("Invalid AMD ABI version, must be version 4 or above"); in checkMachineImpl() 75 return createError("Unsupported AMDGPU architecture"); in checkMachineImpl() 78 return createError("Invalid CUDA addressing mode"); in checkMachineImpl() 81 return createError("Unsupported NVPTX architecture"); in checkMachine() 103 return createError("Only 64-bit ELF files are supported"); in getSymbolFromGnuHashTable() 136 return createError("symbol [index " + Twine(I) + in getSymbolFromGnuHashTable() 159 return createError( in getSymbolFromSysVHashTable() 163 return createError("symbo in getSymbolFromSysVHashTable() [all...] |
| /llvm-project/llvm/include/llvm/Object/ |
| H A D | ELF.h | 114 return createError( 120 return createError("can't read past the end of the file"); 166 return createError(Msg); in defaultWarningHandler() 378 return createError("invalid e_phentsize: " + in program_headers() 385 return createError("program headers are longer than binary of size " + in program_headers() 407 createError("invalid offset (0x" + Twine::utohexstr(Phdr.p_offset) + in notes_begin() 416 createError("alignment (" + Twine(Phdr.p_align) + ") is not 4 or 8"); in notes_begin() 435 createError("invalid offset (0x" + Twine::utohexstr(Shdr.sh_offset) + in notes_begin() 442 Err = createError("alignment (" + Twine(Shdr.sh_addralign) + in notes_begin() 536 return createError("invali in getSection() [all...] |
| H A D | Minidump.h | 92 return createError("Not an exception stream"); in getExceptionStream() 104 return createError("No exception streams"); in getMemoryList() 286 static Error createError(StringRef Str) { 356 return createError("No such stream"); 379 return createError("No such stream"); 145 static Error createError(StringRef Str) { createError() function
|
| H A D | Error.h | 84 inline Error createError(const Twine &Err) { in createError() function
|
| H A D | StackMapParser.h | 327 return object::createError( in validateHeader() 333 return object::createError( in validateHeader()
|
| /llvm-project/llvm/lib/Object/ |
| H A D | Minidump.cpp | 34 return createError("String size not even"); in getString() 50 return createError("String decoding failed"); in getString() 66 return createError("No such stream"); in getMemoryInfoList() 99 return createError("Invalid signature"); 101 return createError("Invalid version"); 134 return createError("Cannot handle one of the minidump streams"); in create() 138 return createError("Duplicate stream type"); in create() 159 Err = createError("No such stream"); 175 Err = createError("Memory64List header RVA out of range");
|
| H A D | COFFModuleDefinition.cpp | 168 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 D | Decompressor.cpp | 36 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 D | ELF.cpp | 461 return createError("invalid packed relocation header"); in android_relas() 479 return createError("relocation group unexpectedly large"); in android_relas() 620 return createError( in dynamicEntries() 651 return createError("invalid empty dynamic section"); in dynamicEntries() 654 return createError("dynamic sections must be DT_NULL terminated"); in dynamicEntries() 689 return createError("virtual address is not in any segment: 0x" + in toMappedAddr() 695 return createError("virtual address is not in any segment: 0x" + in toMappedAddr() 700 return createError("can't map virtual address 0x" + in toMappedAddr() 725 ULEBSizeErr = createError("ULEB128 value at offset 0x" + in readULEB128As() 752 return createError("unabl in decodeBBAddrMapImpl() [all...] |
| H A D | ELFObjectFile.cpp | 80 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() 910 return createError("unable to get the linked-to section for " + in readBBAddrMapImpl() 928 return createError("unable to get relocation section for " + in readBBAddrMapImpl() 935 return createError("unable to read " + describe(EF, *Sec) + ": " + 980 return createError("unable to read an entry with index " + Twine(I) + in readDynsymVersionsImpl() 986 return createError("unable to read flags for symbol with index " + in readDynsymVersionsImpl() 994 return createError("unabl in readDynsymVersions() [all...] |
| H A D | XCOFFObjectFile.cpp | 106 return createError("entry with offset 0x" + Twine::utohexstr(Offset) + in getLoaderSecSymNameInStrTbl() 241 return createError("entry with offset 0x" + Twine::utohexstr(Offset) + in getStringTableEntry() 423 return createError( in getSectionContents() 482 return createError(toString(std::move(E)) + ": " + SectionName + in getSectionFileOffsetToRawData() 783 return createError(toString(std::move(E)) + ": " + Name.data() + in getRawData() 951 return createError("symbol index " + Twine(Index) + in getSymbolNameByIndex() 1033 return createError( in relocations() 1090 return createError(toString(StringTableOrErr.takeError()) + in parseStringTable() 1134 return createError( in getImportFileTable() 1143 return createError( in getImportFileTable() [all...] |
| /llvm-project/llvm/tools/llvm-readobj/ |
| H A D | DwarfCFIEHPrinter.h | 75 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 D | ObjDumper.cpp | 28 static inline Error createError(const Twine &Msg) { in createError() function 37 reportWarning(createError(Msg), ObjName); in ObjDumper() 136 createError(formatv("could not find section '{0}'", S.first).str()), in getSectionRefsByNameOrIndex() 142 createError(formatv("could not find section {0}", S.first).str()), in getSectionRefsByNameOrIndex()
|
| H A D | ELFDumper.cpp | 359 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() 2170 createError("SHT_DYNSY in parseDynamicTable() [all...] |
| H A D | llvm-readobj.cpp | 423 reportError(createError(ContentErrString), FileStr); in dumpObject()
|
| /llvm-project/llvm/tools/llvm-rc/ |
| H A D | ResourceFileWriter.cpp | 46 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 …]
|
| /llvm-project/lldb/source/Plugins/Process/Linux/ |
| H A D | IntelPTSingleBufferTrace.cpp | 84 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()
|
| /llvm-project/llvm/unittests/ObjCopy/ |
| H A D | ObjCopyTest.cpp | 112 return createError("could not create ObjectFile from yaml description"); in createObjectFileFromYamlDescription() 115 return createError("wrong file format"); in createObjectFileFromYamlDescription() 141 return createError("wrong file format"); in callObjCopy() 144 return createError("binary is not object file"); in callObjCopy()
|
| /llvm-project/llvm/tools/obj2yaml/ |
| H A D | xcoff2yaml.cpp | 160 return createError("failed to parse symbol \"" + Sym.SymbolName + in dumpStatAuxSym() 267 return createError("failed to parse symbol \"" + Sym.SymbolName + in dumpAuxSyms() 284 return createError( in dumpBlockAuxSym() 315 return createError("failed to parse symbol \"" + Sym.SymbolName + in dumpDwarfAuxSym()
|
| /llvm-project/llvm/lib/InterfaceStub/ |
| H A D | ELFObjHandler.cpp | 352 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()
|
| /llvm-project/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFContext.cpp | 93 createError("Failed to parse CU header in DWP file: " + in fixupIndexV4() 104 createError("Collision occured between for truncated offset 0x" + in fixupIndexV4() 125 logAllUnhandledErrors(createError("Could not find CU offset 0x" + in fixupIndexV4() 133 logAllUnhandledErrors(createError("Length of CU in CU index doesn't " in fixupIndexV4() 155 createError("Failed to parse CU header in DWP file: " + in fixupIndexV5() 174 createError("Could not find unit with signature 0x" + in fixupIndexV5() 1898 static Error createError(const Twine &Reason, llvm::Error E) { in createError() 1931 return createError("failed to compute symbol address: ", in getSymbolInfo() 1937 return createError("failed to get symbol section: ", in getSymbolInfo() 2162 HandleError(createError("faile in DWARFObjInMemory() 1897 static Error createError(const Twine &Reason, llvm::Error E) { createError() function [all...] |
| /llvm-project/llvm/lib/Support/ |
| H A D | APFloat.cpp | 397 static inline Error createError(const Twine &Err) { 434 return createError("Exponent has no digits"); in readExponent() 439 return createError("Invalid character in exponent"); in readExponent() 446 return createError("Invalid character in exponent"); 471 return createError("Exponent has no digits"); in totalExponent() 477 return createError("Exponent has no digits"); in totalExponent() 487 return createError("Invalid character in exponent"); in totalExponent() 526 return createError("Significand has no digits"); 571 return createError("String contains multiple dots"); in interpretDecimal() 582 return createError("Invali in interpretDecimal() 382 static inline Error createError(const Twine &Err) { createError() function [all...] |
| /llvm-project/llvm/tools/llvm-dwarfutil/ |
| H A D | llvm-dwarfutil.cpp | 209 createError("output verification failed")); in verifyOutput() 526 createError("unsupported input file"))); in main()
|
| /llvm-project/llvm/lib/DWP/ |
| H A D | DWP.cpp | 327 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()
|
| /llvm-project/llvm/tools/llvm-objdump/ |
| H A D | ELFDump.cpp | 85 return createError("dynamic string table not found"); in getDynamicStrTab()
|