Searched refs:ArchiveOrErr (Results 1 – 4 of 4) sorted by relevance
143 auto ArchiveOrErr = llvm::object::Archive::create(Buffer); in processInput() local144 if (ArchiveOrErr) { in processInput()146 llvm::object::Archive &Archive = *ArchiveOrErr.get(); in processInput()161 llvm::consumeError(ArchiveOrErr.takeError()); in processInput()
232 if (Expected<std::unique_ptr<Archive>> ArchiveOrErr = in handleMach() local234 if (Error Err = handleArchive(Readers, ObjName, *ArchiveOrErr.get())) in handleMach()238 consumeError(ArchiveOrErr.takeError()); in handleMach()
799 if (auto ArchiveOrErr = ObjForArch.getAsArchive()) { in handleBuffer() local800 error(ObjName, ArchiveOrErr.takeError()); in handleBuffer()801 if (!handleArchive(ObjName, *ArchiveOrErr.get(), HandleObj, OS)) in handleBuffer()805 consumeError(ArchiveOrErr.takeError()); in handleBuffer()
1242 auto ArchiveOrErr = ObjForArch.getAsArchive(); in create() local1243 if (!ArchiveOrErr) { in create()1245 consumeError(ArchiveOrErr.takeError()); in create()1250 ArchiveOrErr.get()->getMemoryBufferRef(), Arch, ObjectFileBuffers, in create()