Home
last modified time | relevance | path

Searched refs:ObjOrErr (Results 1 – 7 of 7) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DObject.cpp68 Expected<std::unique_ptr<Binary>> ObjOrErr( in LLVMCreateBinary() local
70 if (!ObjOrErr) { in LLVMCreateBinary()
71 *ErrorMessage = strdup(toString(ObjOrErr.takeError()).c_str()); in LLVMCreateBinary()
75 return wrap(ObjOrErr.get().release()); in LLVMCreateBinary()
140 Expected<std::unique_ptr<ObjectFile>> ObjOrErr( in LLVMMachOUniversalBinaryCopyObjectForArch() local
142 if (!ObjOrErr) { in LLVMMachOUniversalBinaryCopyObjectForArch()
143 *ErrorMessage = strdup(toString(ObjOrErr.takeError()).c_str()); in LLVMMachOUniversalBinaryCopyObjectForArch()
146 return wrap(ObjOrErr.get().release()); in LLVMMachOUniversalBinaryCopyObjectForArch()
180 Expected<std::unique_ptr<ObjectFile>> ObjOrErr( in LLVMCreateObjectFile() local
183 if (!ObjOrErr) { in LLVMCreateObjectFile()
[all …]
DArchiveWriter.cpp358 auto ObjOrErr = object::SymbolicFile::createSymbolicFile( in getSymbols() local
360 if (!ObjOrErr) { in getSymbols()
362 consumeError(ObjOrErr.takeError()); in getSymbols()
365 Obj = std::move(*ObjOrErr); in getSymbols()
367 auto ObjOrErr = object::SymbolicFile::createSymbolicFile(Buf); in getSymbols() local
368 if (!ObjOrErr) { in getSymbols()
370 consumeError(ObjOrErr.takeError()); in getSymbols()
373 Obj = std::move(*ObjOrErr); in getSymbols()
DObjectFile.cpp182 Expected<std::unique_ptr<ObjectFile>> ObjOrErr = in createObjectFile() local
184 if (Error Err = ObjOrErr.takeError()) in createObjectFile()
186 std::unique_ptr<ObjectFile> Obj = std::move(ObjOrErr.get()); in createObjectFile()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
Dyaml2obj.cpp66 Expected<std::unique_ptr<object::ObjectFile>> ObjOrErr = in yaml2ObjectFile() local
69 if (ObjOrErr) in yaml2ObjectFile()
70 return std::move(*ObjOrErr); in yaml2ObjectFile()
72 ErrHandler(toString(ObjOrErr.takeError())); in yaml2ObjectFile()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/Symbolize/
DSymbolize.cpp437 auto ObjOrErr = getOrCreateObject(Path, ArchName); in getOrCreateObjectPair() local
438 if (!ObjOrErr) { in getOrCreateObjectPair()
441 return ObjOrErr.takeError(); in getOrCreateObjectPair()
444 ObjectFile *Obj = ObjOrErr.get(); in getOrCreateObjectPair()
484 Expected<std::unique_ptr<ObjectFile>> ObjOrErr = in getOrCreateObject() local
486 if (!ObjOrErr) { in getOrCreateObject()
489 return ObjOrErr.takeError(); in getOrCreateObject()
491 ObjectFile *Res = ObjOrErr->get(); in getOrCreateObject()
493 std::move(ObjOrErr.get())); in getOrCreateObject()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/
DLTOModule.cpp658 Expected<std::unique_ptr<lto::InputFile>> ObjOrErr = in createInputFile() local
661 if (ObjOrErr) in createInputFile()
662 return ObjOrErr->release(); in createInputFile()
665 ": Could not read LTO input file: " + toString(ObjOrErr.takeError()); in createInputFile()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldELF.cpp153 Expected<std::unique_ptr<DyldELFObject<ELFT>>> ObjOrErr = in createRTDyldELFObject() local
155 if (Error E = ObjOrErr.takeError()) in createRTDyldELFObject()
158 std::unique_ptr<DyldELFObject<ELFT>> Obj = std::move(*ObjOrErr); in createRTDyldELFObject()