Home
last modified time | relevance | path

Searched refs:NameOrErr (Results 1 – 21 of 21) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DArchive.cpp66 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 …]
DObjectFile.cpp77 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()
DELFObjectFile.cpp410 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()
DObject.cpp254 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()
DMachOObjectFile.cpp1999 auto NameOrErr = Section.getName(); in getSection() local
2000 if (!NameOrErr) in getSection()
2001 return NameOrErr.takeError(); in getSection()
2002 if (*NameOrErr == SectionName) in getSection()
2046 if (Expected<StringRef> NameOrErr = getSectionName(Sec)) in isSectionBitcode() local
2047 return (SegmentName == "__LLVM" && *NameOrErr == "__bitcode"); in isSectionBitcode()
4006 Expected<StringRef> NameOrErr = Section.getName(); in BindRebaseSegInfo() local
4007 if (!NameOrErr) in BindRebaseSegInfo()
4008 consumeError(NameOrErr.takeError()); in BindRebaseSegInfo()
4010 Info.SectionName = *NameOrErr; in BindRebaseSegInfo()
DCOFFObjectFile.cpp975 auto NameOrErr = Section.getName(); in getSection() local
976 if (!NameOrErr) in getSection()
977 return errorToErrorCode(NameOrErr.takeError()); in getSection()
979 if (*NameOrErr == SectionName) { in getSection()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyld.cpp220 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 …]
DRuntimeDyldELF.cpp163 Expected<StringRef> NameOrErr = Sec.getName(); in createRTDyldELFObject() local
164 if (!NameOrErr) { in createRTDyldELFObject()
165 consumeError(NameOrErr.takeError()); in createRTDyldELFObject()
169 if (*NameOrErr != "") { in createRTDyldELFObject()
575 Expected<StringRef> NameOrErr = Section.getName(); in findPPC64TOCSection() local
576 if (!NameOrErr) in findPPC64TOCSection()
577 return NameOrErr.takeError(); in findPPC64TOCSection()
578 StringRef SectionName = *NameOrErr; in findPPC64TOCSection()
618 Expected<StringRef> NameOrErr = RelSecI->getName(); in findOPDEntrySection() local
619 if (!NameOrErr) in findOPDEntrySection()
[all …]
DRuntimeDyldMachO.cpp236 if (Expected<StringRef> NameOrErr = Section.getName()) in finalizeLoad() local
237 Name = *NameOrErr; in finalizeLoad()
239 consumeError(NameOrErr.takeError()); in finalizeLoad()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/OProfileJIT/
DOProfileJITEventListener.cpp97 Expected<StringRef> NameOrErr = Sym.getName(); in notifyObjectLoaded() local
98 if (!NameOrErr) in notifyObjectLoaded()
100 StringRef Name = *NameOrErr; in notifyObjectLoaded()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
DRuntimeDyldCOFFX86_64.h287 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()
DRuntimeDyldMachOI386.h131 if (Expected<StringRef> NameOrErr = Section.getName()) in finalizeSection() local
132 Name = *NameOrErr; in finalizeSection()
134 consumeError(NameOrErr.takeError()); in finalizeSection()
DRuntimeDyldMachOARM.h292 if (Expected<StringRef> NameOrErr = Section.getName()) in finalizeSection() local
293 Name = *NameOrErr; in finalizeSection()
295 consumeError(NameOrErr.takeError()); in finalizeSection()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/XRay/
DInstrumentationMap.cpp72 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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/Symbolize/
DSymbolizableObjectFile.cpp57 Expected<StringRef> NameOrErr = Section->getName(); in create() local
58 if (!NameOrErr) in create()
59 return errorToErrorCode(NameOrErr.takeError()); in create()
61 if (*NameOrErr == ".opd") { in create()
DSymbolize.cpp249 if (Expected<StringRef> NameOrErr = Section.getName()) in getGNUDebuglinkContents() local
250 Name = *NameOrErr; in getGNUDebuglinkContents()
252 consumeError(NameOrErr.takeError()); in getGNUDebuglinkContents()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ToolDrivers/llvm-lib/
DLibDriver.cpp137 Expected<StringRef> NameOrErr = C.getName(); in doList() local
138 fatalOpenError(NameOrErr.takeError(), B->getBufferIdentifier()); in doList()
139 StringRef Name = NameOrErr.get(); in doList()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/JITLink/
DMachOLinkGraphBuilder.cpp240 if (auto NameOrErr = SymRef.getName()) in createNormalizedSymbols() local
241 Name = *NameOrErr; in createNormalizedSymbols()
243 return NameOrErr.takeError(); in createNormalizedSymbols()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/Coverage/
DCoverageMappingReader.cpp670 Expected<StringRef> NameOrErr = Section.getName(); in lookupSection() local
671 if (!NameOrErr) in lookupSection()
672 return NameOrErr.takeError(); in lookupSection()
673 if (stripSuffix(*NameOrErr) == Name) in lookupSection()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/
DDWARFContext.cpp1585 if (auto NameOrErr = Section.getName()) in DWARFObjInMemory() local
1586 Name = *NameOrErr; in DWARFObjInMemory()
1588 consumeError(NameOrErr.takeError()); in DWARFObjInMemory()
1663 if (auto NameOrErr = RelocatedSection->getName()) in DWARFObjInMemory() local
1664 RelSecName = *NameOrErr; in DWARFObjInMemory()
1666 consumeError(NameOrErr.takeError()); in DWARFObjInMemory()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
DELFObjectFile.h634 if (Expected<StringRef> NameOrErr = getSymbolName(Sym)) { in getSymbolFlags() local
635 StringRef Name = *NameOrErr; in getSymbolFlags()
641 consumeError(NameOrErr.takeError()); in getSymbolFlags()