Searched refs:binary_or_err (Results 1 – 2 of 2) sorted by relevance
193 auto binary_or_err = llvm::object::createBinary(buffer_or_err.get()->getMemBufferRef()); in OpenObjectFile() local194 if (!binary_or_err) { in OpenObjectFile()197 wrapper->binary = llvm::object::OwningBinary<llvm::object::Binary>(std::move(binary_or_err.get()), in OpenObjectFile()208 auto binary_or_err = llvm::object::createBinary(buffer->getMemBufferRef()); in OpenObjectFileFromString() local209 if (!binary_or_err) { in OpenObjectFileFromString()212 wrapper->binary = llvm::object::OwningBinary<llvm::object::Binary>(std::move(binary_or_err.get()), in OpenObjectFileFromString()
844 auto binary_or_err = llvm::object::createBinary(buffer_or_err.get()->getMemBufferRef()); in OpenEmbeddedElfFile() local845 if (!binary_or_err) { in OpenEmbeddedElfFile()847 llvm::toString(binary_or_err.takeError()).c_str()); in OpenEmbeddedElfFile()850 return llvm::object::OwningBinary<llvm::object::Binary>(std::move(binary_or_err.get()), in OpenEmbeddedElfFile()862 auto binary_or_err = llvm::object::createBinary(llvm::StringRef(filename)); in ReadDebugFrameFromFile() local863 if (!binary_or_err) { in ReadDebugFrameFromFile()866 owning_binary = std::move(binary_or_err.get()); in ReadDebugFrameFromFile()