Searched refs:BufOrErr (Results 1 – 3 of 3) sorted by relevance
191 ErrorOr<std::unique_ptr<MemoryBuffer>> BufOrErr = in main() local193 if (!BufOrErr) in main()195 MemoryBuffer &Buf = *BufOrErr.get(); in main()
976 auto BufOrErr = MemoryBuffer::getFile(Rest, -1, false); in runMRIScript() local977 failIfError(BufOrErr.getError(), "Could not open library"); in runMRIScript()978 ArchiveBuffers.push_back(std::move(*BufOrErr)); in runMRIScript()
6105 ErrorOr<std::unique_ptr<MemoryBuffer>> BufOrErr = in DisassembleMachO() local6107 if (std::error_code EC = BufOrErr.getError()) { in DisassembleMachO()6112 ObjectFile::createMachOObjectFile(BufOrErr.get()->getMemBufferRef()) in DisassembleMachO()