Searched refs:BufOrErr (Results 1 – 4 of 4) sorted by relevance
201 ErrorOr<std::unique_ptr<MemoryBuffer>> BufOrErr = in main() local203 if (!BufOrErr) in main()205 MemoryBuffer &Buf = *BufOrErr.get(); in main()
405 ErrorOr<std::unique_ptr<MemoryBuffer>> BufOrErr = in read() local407 if (!BufOrErr) in read()408 return BufOrErr.getError(); in read()409 std::unique_ptr<MemoryBuffer> Buf = std::move(BufOrErr.get()); in read()
710 auto BufOrErr = MemoryBuffer::getFile(Rest, -1, false); in runMRIScript() local711 failIfError(BufOrErr.getError(), "Could not open library"); in runMRIScript()712 ArchiveBuffers.push_back(std::move(*BufOrErr)); in runMRIScript()
6034 ErrorOr<std::unique_ptr<MemoryBuffer>> BufOrErr = in DisassembleMachO() local6036 if (std::error_code EC = BufOrErr.getError()) { in DisassembleMachO()6041 ObjectFile::createMachOObjectFile(BufOrErr.get()->getMemBufferRef()) in DisassembleMachO()