Home
last modified time | relevance | path

Searched refs:takeError (Results 1 – 25 of 314) sorted by relevance

12345678910>>...13

/external/swiftshader/third_party/llvm-7.0/llvm/tools/obj2yaml/
Delf2yaml.cpp104 return ShdrOrErr.takeError(); in getSymbolName()
128 return errorToErrorCode(SectionsOrErr.takeError()); in dump()
146 return errorToErrorCode(TableOrErr.takeError()); in dump()
211 return errorToErrorCode(StrTableOrErr.takeError()); in dumpSymbols()
216 return errorToErrorCode(SymtabOrErr.takeError()); in dumpSymbols()
258 return errorToErrorCode(SymbolNameOrErr.takeError()); in dumpSymbol()
263 return errorToErrorCode(ShdrOrErr.takeError()); in dumpSymbol()
270 return errorToErrorCode(NameOrErr.takeError()); in dumpSymbol()
287 return errorToErrorCode(SymOrErr.takeError()); in dumpRelocation()
291 return errorToErrorCode(StrTabSec.takeError()); in dumpRelocation()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DCachePruningTest.cpp78 toString(parseCachePruningPolicy("prune_interval=").takeError())); in TEST()
80 toString(parseCachePruningPolicy("prune_interval=foos").takeError())); in TEST()
82 toString(parseCachePruningPolicy("prune_interval=24x").takeError())); in TEST()
84 toString(parseCachePruningPolicy("cache_size=foo").takeError())); in TEST()
86 toString(parseCachePruningPolicy("cache_size=foo%").takeError())); in TEST()
88 toString(parseCachePruningPolicy("cache_size=101%").takeError())); in TEST()
91 toString(parseCachePruningPolicy("cache_size_bytes=foo").takeError())); in TEST()
94 toString(parseCachePruningPolicy("cache_size_bytes=foom").takeError())); in TEST()
96 toString(parseCachePruningPolicy("foo=bar").takeError())); in TEST()
DFileOutputBufferTest.cpp48 ASSERT_NO_ERROR(errorToErrorCode(BufferOrErr.takeError())); in TEST()
70 ASSERT_NO_ERROR(errorToErrorCode(Buffer2OrErr.takeError())); in TEST()
87 ASSERT_NO_ERROR(errorToErrorCode(BufferOrErr.takeError())); in TEST()
108 ASSERT_NO_ERROR(errorToErrorCode(BufferOrErr.takeError())); in TEST()
140 ASSERT_NO_ERROR(errorToErrorCode(BufferOrErr.takeError())); in TEST()
150 ASSERT_NO_ERROR(errorToErrorCode(BufferOrErr.takeError())); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/
DArchive.cpp69 consumeError(NameOrErr.takeError()); in ArchiveMemberHeader()
89 consumeError(NameOrErr.takeError()); in ArchiveMemberHeader()
145 return NameOrErr.takeError(); in getName()
354 *Err = isThinOrErr.takeError(); in Child()
361 *Err = MemberSize.takeError(); in Child()
373 *Err = NameOrErr.takeError(); in Child()
399 return Size.takeError(); in getSize()
412 return NameOrErr.takeError(); in isThinMember()
420 return isThin.takeError(); in getFullName()
424 return NameOrErr.takeError(); in getFullName()
[all …]
DIRObjectFile.cpp101 return ObjFile.takeError(); in findBitcodeInMemBuffer()
113 return BCOrErr.takeError(); in create()
118 return BMsOrErr.takeError(); in create()
126 return MOrErr.takeError(); in create()
140 return BCOrErr.takeError(); in readIRSymtab()
144 return BFCOrErr.takeError(); in readIRSymtab()
148 return FCOrErr.takeError(); in readIRSymtab()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/PDB/Native/
DPDBFile.cpp260 return DbiS.takeError(); in getPDBGlobalsStream()
265 return GlobalS.takeError(); in getPDBGlobalsStream()
278 return InfoS.takeError(); in getPDBInfoStream()
291 return DbiS.takeError(); in getPDBDbiStream()
304 return TpiS.takeError(); in getPDBTpiStream()
320 return IpiS.takeError(); in getPDBIpiStream()
333 return DbiS.takeError(); in getPDBPublicsStream()
338 return PublicS.takeError(); in getPDBPublicsStream()
351 return DbiS.takeError(); in getPDBSymbolStream()
357 return SymbolS.takeError(); in getPDBSymbolStream()
[all …]
DNativeExeSymbol.cpp38 consumeError(Dbi.takeError()); in findChildren()
53 consumeError(IS.takeError()); in getAge()
65 consumeError(IS.takeError()); in getGuid()
73 consumeError(Dbi.takeError()); in hasCTypes()
81 consumeError(Dbi.takeError()); in hasPrivateSymbols()
DPDBFileBuilder.cpp45 return ExpectedMsf.takeError(); in initialize()
97 return ExpectedIndex.takeError(); in addNamedStream()
140 return SN.takeError(); in finalizeMsfLayout()
161 return SN.takeError(); in finalizeMsfLayout()
201 return SN.takeError(); in finalizeMsfLayout()
205 return SN.takeError(); in finalizeMsfLayout()
273 return ExpectedMsfBuffer.takeError(); in commit()
278 return ExpectedSN.takeError(); in commit()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-pdbutil/
DYAMLOutputStyle.cpp107 return ExpectedST.takeError(); in dumpStringTable()
114 return S.takeError(); in dumpStringTable()
153 return IS.takeError(); in dumpPDBStream()
196 return DbiS.takeError(); in dumpDbiStream()
236 return ExpectedST.takeError(); in dumpDbiStream()
241 return ExpectedChecksums.takeError(); in dumpDbiStream()
254 return Converted.takeError(); in dumpDbiStream()
267 return ES.takeError(); in dumpDbiStream()
283 return TpiS.takeError(); in dumpTpiStream()
291 return ExpectedRecord.takeError(); in dumpTpiStream()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-objdump/
DELFDump.cpp30 return DynamicEntriesOrError.takeError(); in getDynamicStrTab()
36 consumeError(MappedAddrOrError.takeError()); in getDynamicStrTab()
44 return SectionsOrError.takeError(); in getDynamicStrTab()
58 report_error(Filename, ProgramHeaderOrError.takeError()); in printDynamicSection()
62 report_error(Filename, DynamicEntriesOrError.takeError()); in printDynamicSection()
88 warn(errorToErrorCode(StrTabOrErr.takeError()).message()); in printDynamicSection()
89 consumeError(StrTabOrErr.takeError()); in printDynamicSection()
101 errorToErrorCode(ProgramHeaderOrError.takeError()).message()); in printProgramHeaders()
/external/llvm/lib/DebugInfo/PDB/Raw/
DPDBFile.cpp135 return DS.takeError(); in parseStreamData()
180 return InfoS.takeError(); in getPDBInfoStream()
193 return DbiS.takeError(); in getPDBDbiStream()
206 return TpiS.takeError(); in getPDBTpiStream()
219 return IpiS.takeError(); in getPDBIpiStream()
232 return DbiS.takeError(); in getPDBPublicsStream()
239 return PublicS.takeError(); in getPDBPublicsStream()
253 return DbiS.takeError(); in getPDBSymbolStream()
260 return SymbolS.takeError(); in getPDBSymbolStream()
273 return IS.takeError(); in getStringTable()
[all …]
/external/llvm/tools/llvm-pdbdump/fuzzer/
Dllvm-pdbdump-fuzzer.cpp64 if (auto E = DbiS.takeError()) { in LLVMFuzzerTestOneInput()
69 if (auto E = TpiS.takeError()) { in LLVMFuzzerTestOneInput()
74 if (auto E = IpiS.takeError()) { in LLVMFuzzerTestOneInput()
79 if (auto E = InfoS.takeError()) { in LLVMFuzzerTestOneInput()
89 consumeError(ModStreamData.takeError()); in LLVMFuzzerTestOneInput()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/RuntimeDyld/
DJITSymbol.cpp63 return AddrOrErr.takeError(); in lookup()
64 } else if (auto Err = Sym.takeError()) in lookup()
72 return AddrOrErr.takeError(); in lookup()
73 } else if (auto Err = Sym.takeError()) in lookup()
94 else if (auto Err = Sym.takeError()) in lookupFlags()
DRuntimeDyldMachO.cpp85 return TargetSectionIDOrErr.takeError(); in processScatteredVANILLA()
115 return TargetNameOrErr.takeError(); in getRelocationValueRef()
133 return SectionIDOrErr.takeError(); in getRelocationValueRef()
212 return IndirectSymbolNameOrErr.takeError(); in populateIndirectSymbolPointersSection()
246 return TextSIDOrErr.takeError(); in finalizeLoad()
252 return EHFrameSIDOrErr.takeError(); in finalizeLoad()
258 return ExceptTabSIDOrErr.takeError(); in finalizeLoad()
373 logAllUnhandledErrors(ObjSectionToIDOrErr.takeError(), ErrStream, ""); in loadObject()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/bugpoint/
DMiscompilation.cpp85 if (Error E = Diff.takeError()) in doTest()
126 if (Error E = Diff.takeError()) in doTest()
172 if (Error E = Diff.takeError()) in doTest()
203 if (Error E = Ret.takeError()) in doTest()
210 if (Error E = Ret.takeError()) in doTest()
240 if (Error E = Diff.takeError()) in testMergedProgram()
338 if (Error E = New.takeError()) in ExtractLoops()
380 if (Error E = Result.takeError()) in ExtractLoops()
463 if (Error E = Ret.takeError()) in doTest()
470 if (Error E = Ret.takeError()) in doTest()
[all …]
DListReducer.h52 if (Error E = Result.takeError()) in reduceList()
103 assert(!Result.takeError() && "Shuffling caused internal error?"); in reduceList()
125 if (Error E = Result.takeError()) in reduceList()
188 if (Error E = Result.takeError()) in reduceList()
/external/llvm/tools/llvm-pdbdump/
DLLVMOutputStyle.cpp224 consumeError(Dbi.takeError()); in dumpStreamSummary()
226 consumeError(Tpi.takeError()); in dumpStreamSummary()
228 consumeError(Ipi.takeError()); in dumpStreamSummary()
230 consumeError(Info.takeError()); in dumpStreamSummary()
263 return S.takeError(); in dumpStreamData()
283 return IS.takeError(); in dumpInfoStream()
299 return IS.takeError(); in dumpNamedStream()
316 return NameStream.takeError(); in dumpNamedStream()
378 return Tpi.takeError(); in dumpTpiStream()
436 return DS.takeError(); in dumpDbiStream()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Object/
DELF.h304 return ErrorOrIndex.takeError(); in getSectionIndex()
318 return SymsOrErr.takeError(); in getSection()
328 return IndexOrErr.takeError(); in getSection()
348 return SymtabOrErr.takeError(); in getSymbol()
499 return SecOrErr.takeError(); in getEntry()
520 return TableOrErr.takeError(); in getSection()
529 return TableOrErr.takeError(); in getSection()
533 return SecNameOrErr.takeError(); in getSection()
547 return V.takeError(); in getStringTable()
561 return SectionsOrErr.takeError(); in getSHNDXTable()
[all …]
DELFObjectFile.h282 report_fatal_error(errorToErrorCode(RelSecOrErr.takeError()).message()); in getRelSection()
354 report_fatal_error(errorToErrorCode(Ret.takeError()).message()); in getSymbol()
383 return errorToErrorCode(SectionsOrErr.takeError()); in getBuildAttributes()
389 return errorToErrorCode(ErrorOrContents.takeError()); in getBuildAttributes()
430 return SymTabOrErr.takeError(); in getSymbolName()
434 return StrTabOrErr.takeError(); in getSymbolName()
438 return SymStrTabOrErr.takeError(); in getSymbolName()
488 return SymTabOrErr.takeError(); in getSymbolAddress()
494 return SectionOrErr.takeError(); in getSymbolAddress()
596 consumeError(NameOrErr.takeError()); in getSymbolFlags()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-ar/
Dllvm-ar.cpp334 failIfError(DataOrErr.takeError()); in doPrint()
354 failIfError(ModeOrErr.takeError()); in doDisplayTable()
360 failIfError(UIDOrErr.takeError()); in doDisplayTable()
363 failIfError(GIDOrErr.takeError()); in doDisplayTable()
366 failIfError(Size.takeError()); in doDisplayTable()
369 failIfError(ModTimeOrErr.takeError()); in doDisplayTable()
386 failIfError(ModeOrErr.takeError()); in doExtract()
400 failIfError(BufOrErr.takeError()); in doExtract()
411 failIfError(ModTimeOrErr.takeError()); in doExtract()
448 failIfError(NameOrErr.takeError()); in performReadOperation()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/
DBinaryHolder.cpp66 consumeError(ErrOrFat.takeError()); in load()
80 return ErrOrArchive.takeError(); in load()
105 consumeError(ErrOrFat.takeError()); in load()
118 return ErrOrObjectFile.takeError(); in load()
175 return ModTimeOrErr.takeError(); in getObjectEntry()
189 return ErrOrMem.takeError(); in getObjectEntry()
194 return ErrOrObjectFile.takeError(); in getObjectEntry()
DMachODebugMapParser.cpp138 auto Err = ObjectEntry.takeError(); in switchToNewDebugMapObject()
146 auto Err = Object.takeError(); in switchToNewDebugMapObject()
326 auto Err = ObjectEntry.takeError(); in dumpStab()
334 auto Err = Objects.takeError(); in dumpStab()
354 return errorToErrorCode(ObjectEntry.takeError()); in parse()
359 return errorToErrorCode(ObjectEntry.takeError()); in parse()
458 consumeError(Name.takeError()); in loadCurrentObjectFileSymbols()
507 consumeError(TypeOrErr.takeError()); in loadMainBinarySymbols()
525 consumeError(SectionOrErr.takeError()); in loadMainBinarySymbols()
535 consumeError(NameOrErr.takeError()); in loadMainBinarySymbols()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Orc/
DOrcCBindingsStack.h139 else if (auto Err = Sym.takeError()) { in lookupFlags()
159 Stack.ES.legacyFailQuery(*Query, Addr.takeError()); in lookup()
162 } else if (auto Err = Sym.takeError()) { in lookup()
187 else if (auto Err = Sym.takeError()) in findSymbol()
188 return Sym.takeError(); in findSymbol()
283 return mapError(CCAddr.takeError()); in createLazyCompileCallback()
381 return mapError(Obj.takeError()); in addObject()
407 return mapError(AddrOrErr.takeError()); in findSymbolAddress()
408 } else if (auto Err = Sym.takeError()) { in findSymbolAddress()
428 return mapError(AddrOrErr.takeError()); in findSymbolAddressIn()
[all …]
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldMachO.cpp83 return TargetSectionIDOrErr.takeError(); in processScatteredVANILLA()
112 return TargetNameOrErr.takeError(); in getRelocationValueRef()
130 return SectionIDOrErr.takeError(); in getRelocationValueRef()
209 return IndirectSymbolNameOrErr.takeError(); in populateIndirectSymbolPointersSection()
243 return TextSIDOrErr.takeError(); in finalizeLoad()
249 return EHFrameSIDOrErr.takeError(); in finalizeLoad()
255 return ExceptTabSIDOrErr.takeError(); in finalizeLoad()
370 logAllUnhandledErrors(ObjSectionToIDOrErr.takeError(), ErrStream, ""); in loadObject()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-readobj/
DDwarfCFIEHPrinter.h51 if (Error E = Sections.takeError()) in findSectionByAddress()
65 if (Error E = PHs.takeError()) in printUnwindInformation()
82 if (Error E = Sections.takeError()) in printUnwindInformation()
87 if (Error E = SectionName.takeError()) in printUnwindInformation()
107 if (Error E = SectionName.takeError()) in printEHFrameHdr()
177 if (Error E = Result.takeError()) in printEHFrame()

12345678910>>...13