Searched refs:binary_or_err (Results 1 – 2 of 2) sorted by relevance
719 auto binary_or_err = llvm::object::createBinary(buffer_or_err.get()->getMemBufferRef()); in OpenEmbeddedElfFile() local720 if (!binary_or_err) { in OpenEmbeddedElfFile()722 binary_or_err.getError().message().c_str()); in OpenEmbeddedElfFile()725 return llvm::object::OwningBinary<llvm::object::Binary>(std::move(binary_or_err.get()), in OpenEmbeddedElfFile()737 auto binary_or_err = llvm::object::createBinary(llvm::StringRef(filename)); in ReadDebugFrameFromFile() local738 if (!binary_or_err) { in ReadDebugFrameFromFile()741 owning_binary = std::move(binary_or_err.get()); in ReadDebugFrameFromFile()
167 auto binary_or_err = llvm::object::createBinary(buffer_or_err.get()->getMemBufferRef()); in OpenObjectFile() local168 if (!binary_or_err) { in OpenObjectFile()170 << "] is not a binary file: " << binary_or_err.getError().message(); in OpenObjectFile()173 ret.binary = llvm::object::OwningBinary<llvm::object::Binary>(std::move(binary_or_err.get()), in OpenObjectFile()