/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/ |
D | Archive.cpp | 66 Expected<StringRef> NameOrErr = getName(Size); in ArchiveMemberHeader() local 67 if (!NameOrErr) { in ArchiveMemberHeader() 68 consumeError(NameOrErr.takeError()); in ArchiveMemberHeader() 72 *Err = malformedError(Msg + "for " + NameOrErr.get()); in ArchiveMemberHeader() 86 Expected<StringRef> NameOrErr = getName(Size); in ArchiveMemberHeader() local 87 if (!NameOrErr) { in ArchiveMemberHeader() 88 consumeError(NameOrErr.takeError()); in ArchiveMemberHeader() 92 *Err = malformedError(Msg + "for " + NameOrErr.get()); in ArchiveMemberHeader() 142 Expected<StringRef> NameOrErr = getRawName(); in getName() local 143 if (!NameOrErr) in getName() [all …]
|
D | ObjectFile.cpp | 77 Expected<StringRef> NameOrErr = getSectionName(Sec); in isSectionBitcode() local 78 if (NameOrErr) in isSectionBitcode() 79 return *NameOrErr == ".llvmbc"; in isSectionBitcode() 80 consumeError(NameOrErr.takeError()); in isSectionBitcode()
|
D | Object.cpp | 254 auto NameOrErr = (*unwrap(SI))->getName(); in LLVMGetSectionName() local 255 if (!NameOrErr) in LLVMGetSectionName() 256 report_fatal_error(NameOrErr.takeError()); in LLVMGetSectionName() 257 return NameOrErr->data(); in LLVMGetSectionName()
|
D | ELFObjectFile.cpp | 410 Expected<StringRef> NameOrErr = Section.getName(); in getPltAddresses() local 411 if (!NameOrErr) { in getPltAddresses() 412 consumeError(NameOrErr.takeError()); in getPltAddresses() 415 StringRef Name = *NameOrErr; in getPltAddresses()
|
/external/llvm-project/llvm/lib/Object/ |
D | Archive.cpp | 66 Expected<StringRef> NameOrErr = getName(Size); in ArchiveMemberHeader() local 67 if (!NameOrErr) { in ArchiveMemberHeader() 68 consumeError(NameOrErr.takeError()); in ArchiveMemberHeader() 72 *Err = malformedError(Msg + "for " + NameOrErr.get()); in ArchiveMemberHeader() 86 Expected<StringRef> NameOrErr = getName(Size); in ArchiveMemberHeader() local 87 if (!NameOrErr) { in ArchiveMemberHeader() 88 consumeError(NameOrErr.takeError()); in ArchiveMemberHeader() 92 *Err = malformedError(Msg + "for " + NameOrErr.get()); in ArchiveMemberHeader() 142 Expected<StringRef> NameOrErr = getRawName(); in getName() local 143 if (!NameOrErr) in getName() [all …]
|
D | ObjectFile.cpp | 80 Expected<StringRef> NameOrErr = getSectionName(Sec); in isSectionBitcode() local 81 if (NameOrErr) in isSectionBitcode() 82 return *NameOrErr == ".llvmbc"; in isSectionBitcode() 83 consumeError(NameOrErr.takeError()); in isSectionBitcode()
|
/external/llvm/tools/obj2yaml/ |
D | elf2yaml.cpp | 197 ErrorOr<StringRef> NameOrErr = Obj.getSectionName(Shdr); in dumpSymbol() local 198 if (std::error_code EC = NameOrErr.getError()) in dumpSymbol() 200 S.Section = NameOrErr.get(); in dumpSymbol() 223 Expected<StringRef> NameOrErr = Sym->getName(StrTab); in dumpRelocation() local 224 if (!NameOrErr) in dumpRelocation() 225 return errorToErrorCode(NameOrErr.takeError()); in dumpRelocation() 226 R.Symbol = NameOrErr.get(); in dumpRelocation() 239 ErrorOr<StringRef> NameOrErr = Obj.getSectionName(Shdr); in dumpCommonSection() local 240 if (std::error_code EC = NameOrErr.getError()) in dumpCommonSection() 242 S.Name = NameOrErr.get(); in dumpCommonSection() [all …]
|
/external/llvm-project/llvm/tools/llvm-readobj/ |
D | DwarfCFIEHPrinter.h | 87 Expected<StringRef> NameOrErr = Obj.getSectionName(Shdr); in printUnwindInformation() local 88 if (!NameOrErr) in printUnwindInformation() 89 reportError(NameOrErr.takeError(), ObjF.getFileName()); in printUnwindInformation() 90 if (*NameOrErr == ".eh_frame") in printUnwindInformation() 106 Expected<StringRef> NameOrErr = Obj.getSectionName(*EHFrameHdr); in printEHFrameHdr() local 107 if (!NameOrErr) in printEHFrameHdr() 108 reportError(NameOrErr.takeError(), ObjF.getFileName()); in printEHFrameHdr() 109 W.printString("Corresponding Section", *NameOrErr); in printEHFrameHdr()
|
/external/llvm-project/llvm/tools/llvm-objcopy/COFF/ |
D | Reader.cpp | 75 if (Expected<StringRef> NameOrErr = COFFObj.getSectionName(Sec)) in readSections() local 76 S.Name = *NameOrErr; in readSections() 78 return NameOrErr.takeError(); in readSections() 103 auto NameOrErr = COFFObj.getSymbolName(SymRef); in readSymbols() local 104 if (!NameOrErr) in readSymbols() 105 return NameOrErr.takeError(); in readSymbols() 106 Sym.Name = *NameOrErr; in readSymbols()
|
/external/llvm-project/llvm/unittests/ObjectYAML/ |
D | ELFYAMLTest.cpp | 82 Expected<StringRef> NameOrErr = Sec.getName(); in TEST() local 83 ASSERT_THAT_EXPECTED(NameOrErr, Succeeded()); in TEST() 84 StringRef SectionName = *NameOrErr; in TEST()
|
/external/llvm-project/llvm/tools/llvm-cov/ |
D | TestingSupport.cpp | 54 if (Expected<StringRef> NameOrErr = Section.getName()) { in convertForTestingMain() local 55 Name = *NameOrErr; in convertForTestingMain() 57 consumeError(NameOrErr.takeError()); in convertForTestingMain()
|
/external/llvm-project/llvm/tools/obj2yaml/ |
D | elf2yaml.cpp | 132 auto NameOrErr = Obj.getSectionName(*Sec); in getUniquedSectionName() local 133 if (!NameOrErr) in getUniquedSectionName() 134 return NameOrErr; in getUniquedSectionName() 135 StringRef Name = *NameOrErr; in getUniquedSectionName() 612 auto NameOrErr = Obj.getSectionName(Sec); in dumpSections() local 613 if (!NameOrErr) in dumpSections() 614 return NameOrErr.takeError(); in dumpSections() 616 if (ELFYAML::StackSizesSection::nameMatches(*NameOrErr)) { in dumpSections() 687 auto NameOrErr = getUniquedSectionName(Shdr); in dumpSymbol() local 688 if (!NameOrErr) in dumpSymbol() [all …]
|
/external/llvm/lib/Object/ |
D | Archive.cpp | 146 ErrorOr<StringRef> NameOrErr = getName(); in getFullName() local 147 if (std::error_code EC = NameOrErr.getError()) in getFullName() 149 StringRef Name = *NameOrErr; in getFullName() 250 ErrorOr<StringRef> NameOrErr = getName(); in getMemoryBufferRef() local 251 if (std::error_code EC = NameOrErr.getError()) in getMemoryBufferRef() 253 StringRef Name = NameOrErr.get(); in getMemoryBufferRef() 365 ErrorOr<StringRef> NameOrErr = C->getName(); in Archive() local 366 if (auto ec = NameOrErr.getError()) { in Archive() 370 Name = NameOrErr.get(); in Archive()
|
/external/llvm/lib/ExecutionEngine/OProfileJIT/ |
D | OProfileJITEventListener.cpp | 94 ErrorOr<StringRef> NameOrErr = Sym.getName(); in NotifyObjectEmitted() local 95 if (NameOrErr.getError()) in NotifyObjectEmitted() 97 StringRef Name = *NameOrErr; in NotifyObjectEmitted()
|
/external/llvm-project/llvm/tools/llvm-dwarfdump/ |
D | SectionSizes.cpp | 89 if (Expected<StringRef> NameOrErr = Section.getName()) in calculateSectionSizes() local 90 SectionName = *NameOrErr; in calculateSectionSizes() 93 createFileError(Filename, NameOrErr.takeError())); in calculateSectionSizes()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyld.cpp | 220 if (auto NameOrErr = Sym.getName()) in loadObjectImpl() local 221 Symbols.insert(*NameOrErr); in loadObjectImpl() 223 return NameOrErr.takeError(); in loadObjectImpl() 252 if (auto NameOrErr = I->getName()) in loadObjectImpl() local 253 Name = *NameOrErr; in loadObjectImpl() 255 return NameOrErr.takeError(); in loadObjectImpl() 543 Expected<StringRef> NameOrErr = Section.getName(); in computeTotalAllocSize() local 544 if (!NameOrErr) in computeTotalAllocSize() 545 return NameOrErr.takeError(); in computeTotalAllocSize() 546 StringRef Name = *NameOrErr; in computeTotalAllocSize() [all …]
|
/external/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyld.cpp | 224 if (auto NameOrErr = Sym.getName()) in loadObjectImpl() local 225 Symbols.insert(*NameOrErr); in loadObjectImpl() 227 return NameOrErr.takeError(); in loadObjectImpl() 259 if (auto NameOrErr = I->getName()) in loadObjectImpl() local 260 Name = *NameOrErr; in loadObjectImpl() 262 return NameOrErr.takeError(); in loadObjectImpl() 553 Expected<StringRef> NameOrErr = Section.getName(); in computeTotalAllocSize() local 554 if (!NameOrErr) in computeTotalAllocSize() 555 return NameOrErr.takeError(); in computeTotalAllocSize() 556 StringRef Name = *NameOrErr; in computeTotalAllocSize() [all …]
|
/external/llvm-project/llvm/lib/ExecutionEngine/OProfileJIT/ |
D | OProfileJITEventListener.cpp | 97 Expected<StringRef> NameOrErr = Sym.getName(); in notifyObjectLoaded() local 98 if (!NameOrErr) in notifyObjectLoaded() 100 StringRef Name = *NameOrErr; in notifyObjectLoaded()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/OProfileJIT/ |
D | OProfileJITEventListener.cpp | 97 Expected<StringRef> NameOrErr = Sym.getName(); in notifyObjectLoaded() local 98 if (!NameOrErr) in notifyObjectLoaded() 100 StringRef Name = *NameOrErr; in notifyObjectLoaded()
|
/external/llvm-project/llvm/tools/llvm-nm/ |
D | llvm-nm.cpp | 254 Expected<StringRef> NameOrErr = C.getName(); in error() local 258 if (!NameOrErr) { in error() 259 consumeError(NameOrErr.takeError()); in error() 262 errs() << "(" << NameOrErr.get() << ")"; in error() 540 if (Expected<StringRef> NameOrErr = MachO->getSectionName(Ref)) in darwinPrintSymbol() local 541 SectionName = *NameOrErr; in darwinPrintSymbol() 949 auto NameOrErr = SecI->getName(); in getSymbolNMTypeChar() local 950 if (!NameOrErr) { in getSymbolNMTypeChar() 951 consumeError(NameOrErr.takeError()); in getSymbolNMTypeChar() 954 if ((*NameOrErr).startswith(".debug")) in getSymbolNMTypeChar() [all …]
|
/external/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
D | RuntimeDyldCOFFX86_64.h | 297 Expected<StringRef> NameOrErr = Section.getName(); in finalizeLoad() local 298 if (!NameOrErr) in finalizeLoad() 299 return NameOrErr.takeError(); in finalizeLoad() 304 if ((*NameOrErr) == ".pdata") in finalizeLoad()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
D | RuntimeDyldCOFFX86_64.h | 287 Expected<StringRef> NameOrErr = Section.getName(); in finalizeLoad() local 288 if (!NameOrErr) in finalizeLoad() 289 return NameOrErr.takeError(); in finalizeLoad() 294 if ((*NameOrErr) == ".pdata") in finalizeLoad()
|
/external/llvm-project/llvm/tools/llvm-objdump/ |
D | COFFDump.cpp | 215 Expected<StringRef> NameOrErr = Sym.getName(); in resolveSymbolName() local 216 if (!NameOrErr) in resolveSymbolName() 217 return NameOrErr.takeError(); in resolveSymbolName() 218 Name = *NameOrErr; in resolveSymbolName() 666 Expected<StringRef> NameOrErr = coff->getSymbolName(*Symbol); in printCOFFSymbolTable() local 667 if (!NameOrErr) in printCOFFSymbolTable() 668 reportError(NameOrErr.takeError(), coff->getFileName()); in printCOFFSymbolTable() 669 StringRef Name = *NameOrErr; in printCOFFSymbolTable()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/XRay/ |
D | InstrumentationMap.cpp | 72 Expected<StringRef> NameOrErr = Section.getName(); in loadObj() local 73 if (NameOrErr) in loadObj() 74 return *NameOrErr == "xray_instr_map"; in loadObj() 75 consumeError(NameOrErr.takeError()); in loadObj()
|
/external/llvm-project/llvm/lib/XRay/ |
D | InstrumentationMap.cpp | 75 Expected<StringRef> NameOrErr = Section.getName(); in loadObj() local 76 if (NameOrErr) { in loadObj() 78 return *NameOrErr == "xray_instr_map"; in loadObj() 80 consumeError(NameOrErr.takeError()); in loadObj()
|