Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Dread_elf.cpp161 …auto buffer_or_err = llvm::MemoryBuffer::getOpenFileSlice(fhelper.fd(), filename, file_size, file_… in OpenObjectFile() local
162 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()
/system/core/libbacktrace/
DBacktraceOffline.cpp711 auto buffer_or_err = llvm::MemoryBuffer::getOpenFileSlice(GetFileDescriptor(handle), apk_file, in OpenEmbeddedElfFile() local
714 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()