Home
last modified time | relevance | path

Searched refs:binary_or_err (Results 1 – 2 of 2) sorted by relevance

/system/extras/simpleperf/
Dread_elf.cpp193 auto binary_or_err = llvm::object::createBinary(buffer_or_err.get()->getMemBufferRef()); in OpenObjectFile() local
194 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() local
209 if (!binary_or_err) { in OpenObjectFileFromString()
212 wrapper->binary = llvm::object::OwningBinary<llvm::object::Binary>(std::move(binary_or_err.get()), in OpenObjectFileFromString()
/system/core/libbacktrace/
DBacktraceOffline.cpp844 auto binary_or_err = llvm::object::createBinary(buffer_or_err.get()->getMemBufferRef()); in OpenEmbeddedElfFile() local
845 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() local
863 if (!binary_or_err) { in ReadDebugFrameFromFile()
866 owning_binary = std::move(binary_or_err.get()); in ReadDebugFrameFromFile()