Home
last modified time | relevance | path

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

/system/core/libbacktrace/
DBacktraceOffline.cpp719 auto binary_or_err = llvm::object::createBinary(buffer_or_err.get()->getMemBufferRef()); in OpenEmbeddedElfFile() local
720 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() local
738 if (!binary_or_err) { in ReadDebugFrameFromFile()
741 owning_binary = std::move(binary_or_err.get()); in ReadDebugFrameFromFile()
/system/extras/simpleperf/
Dread_elf.cpp167 auto binary_or_err = llvm::object::createBinary(buffer_or_err.get()->getMemBufferRef()); in OpenObjectFile() local
168 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()