Searched refs:buffer_or_err (Results 1 – 2 of 2) sorted by relevance
161 …auto buffer_or_err = llvm::MemoryBuffer::getOpenFileSlice(fhelper.fd(), filename, file_size, file_… in OpenObjectFile() local162 if (!buffer_or_err) { in OpenObjectFile()164 << "]: " << buffer_or_err.getError().message(); in OpenObjectFile()167 auto binary_or_err = llvm::object::createBinary(buffer_or_err.get()->getMemBufferRef()); in OpenObjectFile()174 std::move(buffer_or_err.get())); in OpenObjectFile()
711 auto buffer_or_err = llvm::MemoryBuffer::getOpenFileSlice(GetFileDescriptor(handle), apk_file, in OpenEmbeddedElfFile() local714 if (!buffer_or_err) { in OpenEmbeddedElfFile()716 buffer_or_err.getError().message().c_str()); in OpenEmbeddedElfFile()719 auto binary_or_err = llvm::object::createBinary(buffer_or_err.get()->getMemBufferRef()); in OpenEmbeddedElfFile()726 std::move(buffer_or_err.get())); in OpenEmbeddedElfFile()