Home
last modified time | relevance | path

Searched refs:buffer_or_error (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/lldb/source/Plugins/Process/POSIX/
DNativeProcessELF.cpp18 auto buffer_or_error = GetAuxvData(); in GetAuxValue() local
19 if (!buffer_or_error) in GetAuxValue()
21 DataExtractor auxv_data(buffer_or_error.get()->getBufferStart(), in GetAuxValue()
22 buffer_or_error.get()->getBufferSize(), in GetAuxValue()
/external/llvm-project/lldb/source/Utility/
DStructuredData.cpp38 auto buffer_or_error = llvm::MemoryBuffer::getFile(input_spec.GetPath()); in ParseJSONFromFile() local
39 if (!buffer_or_error) { in ParseJSONFromFile()
42 buffer_or_error.getError().message()); in ParseJSONFromFile()
46 json::parse(buffer_or_error.get()->getBuffer().str()); in ParseJSONFromFile()
/external/llvm-project/lldb/source/Commands/
DCommandObjectTrace.cpp102 auto buffer_or_error = llvm::MemoryBuffer::getFile(json_file.GetPath()); in DoExecute() local
103 if (!buffer_or_error) { in DoExecute()
107 buffer_or_error.getError().message().c_str())); in DoExecute()
111 json::parse(buffer_or_error.get()->getBuffer().str()); in DoExecute()
/external/llvm-project/lldb/source/Host/common/
DFileSystem.cpp309 auto buffer_or_error = in CreateDataBuffer() local
311 if (!buffer_or_error) in CreateDataBuffer()
313 buffer = std::move(*buffer_or_error); in CreateDataBuffer()
315 auto buffer_or_error = llvm::WritableMemoryBuffer::getFileSlice( in CreateDataBuffer() local
317 if (!buffer_or_error) in CreateDataBuffer()
319 buffer = std::move(*buffer_or_error); in CreateDataBuffer()
/external/llvm-project/lldb/source/Plugins/Process/gdb-remote/
DGDBRemoteCommunicationServerLLGS.cpp2943 auto buffer_or_error = m_debugged_process_up->GetAuxvData(); in ReadXferObject() local
2944 if (!buffer_or_error) in ReadXferObject()
2945 return llvm::errorCodeToError(buffer_or_error.getError()); in ReadXferObject()
2946 return std::move(*buffer_or_error); in ReadXferObject()