Home
last modified time | relevance | path

Searched refs:ArchiveOrErr (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DHIPUtility.cpp143 auto ArchiveOrErr = llvm::object::Archive::create(Buffer); in processInput() local
144 if (ArchiveOrErr) { in processInput()
146 llvm::object::Archive &Archive = *ArchiveOrErr.get(); in processInput()
161 llvm::consumeError(ArchiveOrErr.takeError()); in processInput()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/
H A DLVReaderHandler.cpp232 if (Expected<std::unique_ptr<Archive>> ArchiveOrErr = in handleMach() local
234 if (Error Err = handleArchive(Readers, ObjName, *ArchiveOrErr.get())) in handleMach()
238 consumeError(ArchiveOrErr.takeError()); in handleMach()
/freebsd/contrib/llvm-project/llvm/tools/llvm-dwarfdump/
H A Dllvm-dwarfdump.cpp799 if (auto ArchiveOrErr = ObjForArch.getAsArchive()) { in handleBuffer() local
800 error(ObjName, ArchiveOrErr.takeError()); in handleBuffer()
801 if (!handleArchive(ObjName, *ArchiveOrErr.get(), HandleObj, OS)) in handleBuffer()
805 consumeError(ArchiveOrErr.takeError()); in handleBuffer()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/Coverage/
H A DCoverageMappingReader.cpp1242 auto ArchiveOrErr = ObjForArch.getAsArchive(); in create() local
1243 if (!ArchiveOrErr) { in create()
1245 consumeError(ArchiveOrErr.takeError()); in create()
1250 ArchiveOrErr.get()->getMemoryBufferRef(), Arch, ObjectFileBuffers, in create()