Home
last modified time | relevance | path

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

/external/llvm/tools/llvm-dwarfdump/
Dllvm-dwarfdump.cpp93 ErrorOr<std::unique_ptr<MemoryBuffer>> BuffOrErr = in DumpInput() local
95 error(Filename, BuffOrErr.getError()); in DumpInput()
96 std::unique_ptr<MemoryBuffer> Buff = std::move(BuffOrErr.get()); in DumpInput()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-dwarfdump/
Dllvm-dwarfdump.cpp451 auto BuffOrErr = Child.getMemoryBufferRef(); in handleArchive() local
452 error(Filename, errorToErrorCode(BuffOrErr.takeError())); in handleArchive()
456 Result &= handleBuffer(Name, BuffOrErr.get(), HandleObj, OS); in handleArchive()
502 ErrorOr<std::unique_ptr<MemoryBuffer>> BuffOrErr = in handleFile() local
504 error(Filename, BuffOrErr.getError()); in handleFile()
505 std::unique_ptr<MemoryBuffer> Buffer = std::move(BuffOrErr.get()); in handleFile()
/external/llvm/lib/Object/
DArchive.cpp262 ErrorOr<MemoryBufferRef> BuffOrErr = getMemoryBufferRef(); in getAsBinary() local
263 if (std::error_code EC = BuffOrErr.getError()) in getAsBinary()
266 auto BinaryOrErr = createBinary(BuffOrErr.get(), Context); in getAsBinary()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/
DArchive.cpp521 Expected<MemoryBufferRef> BuffOrErr = getMemoryBufferRef(); in getAsBinary() local
522 if (!BuffOrErr) in getAsBinary()
523 return BuffOrErr.takeError(); in getAsBinary()
525 auto BinaryOrErr = createBinary(BuffOrErr.get(), Context); in getAsBinary()