Home
last modified time | relevance | path

Searched refs:BufOrErr (Results 1 – 3 of 3) sorted by relevance

/external/llvm/utils/yaml-bench/
DYAMLBench.cpp191 ErrorOr<std::unique_ptr<MemoryBuffer>> BufOrErr = in main() local
193 if (!BufOrErr) in main()
195 MemoryBuffer &Buf = *BufOrErr.get(); in main()
/external/llvm/tools/llvm-ar/
Dllvm-ar.cpp976 auto BufOrErr = MemoryBuffer::getFile(Rest, -1, false); in runMRIScript() local
977 failIfError(BufOrErr.getError(), "Could not open library"); in runMRIScript()
978 ArchiveBuffers.push_back(std::move(*BufOrErr)); in runMRIScript()
/external/llvm/tools/llvm-objdump/
DMachODump.cpp6105 ErrorOr<std::unique_ptr<MemoryBuffer>> BufOrErr = in DisassembleMachO() local
6107 if (std::error_code EC = BufOrErr.getError()) { in DisassembleMachO()
6112 ObjectFile::createMachOObjectFile(BufOrErr.get()->getMemBufferRef()) in DisassembleMachO()