Home
last modified time | relevance | path

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

/external/llvm/utils/yaml-bench/
DYAMLBench.cpp201 ErrorOr<std::unique_ptr<MemoryBuffer>> BufOrErr = in main() local
203 if (!BufOrErr) in main()
205 MemoryBuffer &Buf = *BufOrErr.get(); in main()
/external/llvm/tools/sancov/
Dsancov.cc405 ErrorOr<std::unique_ptr<MemoryBuffer>> BufOrErr = in read() local
407 if (!BufOrErr) in read()
408 return BufOrErr.getError(); in read()
409 std::unique_ptr<MemoryBuffer> Buf = std::move(BufOrErr.get()); in read()
/external/llvm/tools/llvm-ar/
Dllvm-ar.cpp710 auto BufOrErr = MemoryBuffer::getFile(Rest, -1, false); in runMRIScript() local
711 failIfError(BufOrErr.getError(), "Could not open library"); in runMRIScript()
712 ArchiveBuffers.push_back(std::move(*BufOrErr)); in runMRIScript()
/external/llvm/tools/llvm-objdump/
DMachODump.cpp6034 ErrorOr<std::unique_ptr<MemoryBuffer>> BufOrErr = in DisassembleMachO() local
6036 if (std::error_code EC = BufOrErr.getError()) { in DisassembleMachO()
6041 ObjectFile::createMachOObjectFile(BufOrErr.get()->getMemBufferRef()) in DisassembleMachO()