Searched refs:ObjOrErr (Results 1 – 7 of 7) sorted by relevance
68 Expected<std::unique_ptr<Binary>> ObjOrErr( in LLVMCreateBinary() local70 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() local142 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() local183 if (!ObjOrErr) { in LLVMCreateObjectFile()[all …]
358 auto ObjOrErr = object::SymbolicFile::createSymbolicFile( in getSymbols() local360 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() local368 if (!ObjOrErr) { in getSymbols()370 consumeError(ObjOrErr.takeError()); in getSymbols()373 Obj = std::move(*ObjOrErr); in getSymbols()
182 Expected<std::unique_ptr<ObjectFile>> ObjOrErr = in createObjectFile() local184 if (Error Err = ObjOrErr.takeError()) in createObjectFile()186 std::unique_ptr<ObjectFile> Obj = std::move(ObjOrErr.get()); in createObjectFile()
66 Expected<std::unique_ptr<object::ObjectFile>> ObjOrErr = in yaml2ObjectFile() local69 if (ObjOrErr) in yaml2ObjectFile()70 return std::move(*ObjOrErr); in yaml2ObjectFile()72 ErrHandler(toString(ObjOrErr.takeError())); in yaml2ObjectFile()
437 auto ObjOrErr = getOrCreateObject(Path, ArchName); in getOrCreateObjectPair() local438 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() local486 if (!ObjOrErr) { in getOrCreateObject()489 return ObjOrErr.takeError(); in getOrCreateObject()491 ObjectFile *Res = ObjOrErr->get(); in getOrCreateObject()493 std::move(ObjOrErr.get())); in getOrCreateObject()
658 Expected<std::unique_ptr<lto::InputFile>> ObjOrErr = in createInputFile() local661 if (ObjOrErr) in createInputFile()662 return ObjOrErr->release(); in createInputFile()665 ": Could not read LTO input file: " + toString(ObjOrErr.takeError()); in createInputFile()
153 Expected<std::unique_ptr<DyldELFObject<ELFT>>> ObjOrErr = in createRTDyldELFObject() local155 if (Error E = ObjOrErr.takeError()) in createRTDyldELFObject()158 std::unique_ptr<DyldELFObject<ELFT>> Obj = std::move(*ObjOrErr); in createRTDyldELFObject()