LLDB mainline
|
#include <SBCommandReturnObject.h>
Public Attributes | |
bool | transfer_ownership |
Protected Member Functions | |
SBCommandReturnObject (lldb_private::CommandReturnObject &ref) | |
lldb_private::CommandReturnObject * | operator-> () const |
lldb_private::CommandReturnObject * | get () const |
lldb_private::CommandReturnObject & | operator* () const |
Private Member Functions | |
lldb_private::CommandReturnObject & | ref () const |
Private Attributes | |
std::unique_ptr< lldb_private::SBCommandReturnObjectImpl > | m_opaque_up |
Friends | |
class | SBCommandInterpreter |
class | SBOptions |
class | lldb_private::CommandPluginInterfaceImplementation |
class | lldb_private::python::SWIGBridge |
Definition at line 28 of file SBCommandReturnObject.h.
SBCommandReturnObject::SBCommandReturnObject | ( | ) |
Definition at line 47 of file SBCommandReturnObject.cpp.
References LLDB_INSTRUMENT_VA.
SBCommandReturnObject::SBCommandReturnObject | ( | const lldb::SBCommandReturnObject & | rhs | ) |
Definition at line 57 of file SBCommandReturnObject.cpp.
References lldb_private::clone(), LLDB_INSTRUMENT_VA, and m_opaque_up.
|
default |
|
protected |
Definition at line 52 of file SBCommandReturnObject.cpp.
References LLDB_INSTRUMENT_VA, and ref().
lldb::SBCommandReturnObject::__attribute__ | ( | (format(printf, 2, 3)) | ) | const |
void SBCommandReturnObject::AppendMessage | ( | const char * | message | ) |
Definition at line 189 of file SBCommandReturnObject.cpp.
References lldb_private::CommandReturnObject::AppendMessage(), LLDB_INSTRUMENT_VA, and ref().
Referenced by lldb::SBProcess::AppendEventStateReport().
void SBCommandReturnObject::AppendWarning | ( | const char * | message | ) |
Definition at line 195 of file SBCommandReturnObject.cpp.
References lldb_private::CommandReturnObject::AppendWarning(), LLDB_INSTRUMENT_VA, and ref().
void SBCommandReturnObject::Clear | ( | ) |
Definition at line 159 of file SBCommandReturnObject.cpp.
References lldb_private::CommandReturnObject::Clear(), LLDB_INSTRUMENT_VA, and ref().
Referenced by lldb::SBCommandInterpreter::HandleCommand(), lldb::SBCommandInterpreter::ResolveCommand(), lldb::SBCommandInterpreter::SourceInitFileInCurrentWorkingDirectory(), lldb::SBCommandInterpreter::SourceInitFileInGlobalDirectory(), and lldb::SBCommandInterpreter::SourceInitFileInHomeDirectory().
|
protected |
Definition at line 205 of file SBCommandReturnObject.cpp.
References m_opaque_up.
Referenced by GetError(), and GetOutput().
bool SBCommandReturnObject::GetDescription | ( | lldb::SBStream & | description | ) |
Definition at line 217 of file SBCommandReturnObject.cpp.
References lldb::eReturnStatusInvalid, lldb::eReturnStatusStarted, GetError(), GetErrorSize(), GetOutput(), GetOutputSize(), lldb_private::CommandReturnObject::GetStatus(), LLDB_INSTRUMENT_VA, lldb_private::Stream::Printf(), lldb_private::Stream::PutCString(), lldb::SBStream::ref(), ref(), and Succeeded().
const char * SBCommandReturnObject::GetError | ( | ) |
Definition at line 92 of file SBCommandReturnObject.cpp.
References lldb_private::ConstString::AsCString(), LLDB_INSTRUMENT_VA, and ref().
Referenced by GetDescription(), GetError(), and PutError().
const char * SBCommandReturnObject::GetError | ( | bool | only_if_no_immediate | ) |
Definition at line 309 of file SBCommandReturnObject.cpp.
References get(), GetError(), LLDB_INSTRUMENT_VA, and ref().
size_t SBCommandReturnObject::GetErrorSize | ( | ) |
Definition at line 105 of file SBCommandReturnObject.cpp.
References lldb_private::CommandReturnObject::GetErrorData(), LLDB_INSTRUMENT_VA, and ref().
Referenced by GetDescription().
const char * SBCommandReturnObject::GetOutput | ( | ) |
Definition at line 85 of file SBCommandReturnObject.cpp.
References lldb_private::ConstString::AsCString(), LLDB_INSTRUMENT_VA, and ref().
Referenced by GetDescription(), GetOutput(), and PutOutput().
const char * SBCommandReturnObject::GetOutput | ( | bool | only_if_no_immediate | ) |
Definition at line 300 of file SBCommandReturnObject.cpp.
References get(), GetOutput(), LLDB_INSTRUMENT_VA, and ref().
size_t SBCommandReturnObject::GetOutputSize | ( | ) |
Definition at line 99 of file SBCommandReturnObject.cpp.
References lldb_private::CommandReturnObject::GetOutputData(), LLDB_INSTRUMENT_VA, and ref().
Referenced by GetDescription().
lldb::ReturnStatus SBCommandReturnObject::GetStatus | ( | ) |
Definition at line 165 of file SBCommandReturnObject.cpp.
References lldb_private::CommandReturnObject::GetStatus(), LLDB_INSTRUMENT_VA, and ref().
Referenced by lldb::SBCommandInterpreter::HandleCommand().
bool SBCommandReturnObject::HasResult | ( | ) |
Definition at line 183 of file SBCommandReturnObject.cpp.
References lldb_private::CommandReturnObject::HasResult(), LLDB_INSTRUMENT_VA, and ref().
bool SBCommandReturnObject::IsValid | ( | ) | const |
Definition at line 74 of file SBCommandReturnObject.cpp.
References LLDB_INSTRUMENT_VA.
lldb::SBCommandReturnObject::LLDB_DEPRECATED_FIXME | ( | "Use PutError(SBFile) or PutError(FileSP)" | , |
"PutError(SBFile)" | |||
) |
lldb::SBCommandReturnObject::LLDB_DEPRECATED_FIXME | ( | "Use PutOutput(SBFile) or PutOutput(FileSP)" | , |
"PutOutput(SBFile)" | |||
) |
lldb::SBCommandReturnObject::LLDB_DEPRECATED_FIXME | ( | "Use SetImmediateErrorFile(SBFile) or SetImmediateErrorFile(FileSP)" | , |
"SetImmediateErrorFile(SBFile)" | |||
) |
lldb::SBCommandReturnObject::LLDB_DEPRECATED_FIXME | ( | "Use SetImmediateErrorFile(SBFile) or SetImmediateErrorFile(FileSP)" | , |
"SetImmediateErrorFile(SBFile)" | |||
) |
lldb::SBCommandReturnObject::LLDB_DEPRECATED_FIXME | ( | "Use SetImmediateOutputFile(SBFile) or SetImmediateOutputFile(FileSP)" | , |
"SetImmediateOutputFile(SBFile)" | |||
) |
lldb::SBCommandReturnObject::LLDB_DEPRECATED_FIXME | ( | "Use SetImmediateOutputFile(SBFile) or SetImmediateOutputFile(FileSP)" | , |
"SetImmediateOutputFile(SBFile)" | |||
) |
|
explicit |
Definition at line 78 of file SBCommandReturnObject.cpp.
References LLDB_INSTRUMENT_VA.
|
protected |
Definition at line 209 of file SBCommandReturnObject.cpp.
References m_opaque_up.
|
protected |
Definition at line 201 of file SBCommandReturnObject.cpp.
References m_opaque_up.
SBCommandReturnObject & SBCommandReturnObject::operator= | ( | const lldb::SBCommandReturnObject & | rhs | ) |
Definition at line 63 of file SBCommandReturnObject.cpp.
References lldb_private::clone(), LLDB_INSTRUMENT_VA, and m_opaque_up.
void SBCommandReturnObject::PutCString | ( | const char * | string, |
int | len = -1 |
||
) |
Definition at line 288 of file SBCommandReturnObject.cpp.
References lldb_private::CommandReturnObject::AppendMessage(), LLDB_INSTRUMENT_VA, and ref().
size_t SBCommandReturnObject::PutError | ( | FileSP | BORROWED | ) |
Definition at line 145 of file SBCommandReturnObject.cpp.
References GetError(), and LLDB_INSTRUMENT_VA.
size_t SBCommandReturnObject::PutError | ( | SBFile | file | ) |
Definition at line 152 of file SBCommandReturnObject.cpp.
References GetError(), LLDB_INSTRUMENT_VA, and lldb::SBFile::m_opaque_sp.
Referenced by lldb::SBDebugger::HandleCommand().
size_t SBCommandReturnObject::PutOutput | ( | FileSP | BORROWED | ) |
Definition at line 121 of file SBCommandReturnObject.cpp.
References GetOutput(), and LLDB_INSTRUMENT_VA.
size_t SBCommandReturnObject::PutOutput | ( | SBFile | file | ) |
Definition at line 128 of file SBCommandReturnObject.cpp.
References GetOutput(), LLDB_INSTRUMENT_VA, and lldb::SBFile::m_opaque_sp.
Referenced by lldb::SBDebugger::HandleCommand().
|
private |
Definition at line 213 of file SBCommandReturnObject.cpp.
References m_opaque_up.
Referenced by AppendMessage(), AppendWarning(), Clear(), GetDescription(), GetError(), GetErrorSize(), GetOutput(), GetOutputSize(), GetStatus(), lldb::SBCommandInterpreter::HandleCommand(), lldb::SBCommandInterpreter::HandleCommandsFromFile(), HasResult(), PutCString(), lldb::SBCommandInterpreter::ResolveCommand(), SBCommandReturnObject(), SetError(), SetImmediateErrorFile(), SetImmediateOutputFile(), SetStatus(), lldb::SBCommandInterpreter::SourceInitFileInCurrentWorkingDirectory(), lldb::SBCommandInterpreter::SourceInitFileInGlobalDirectory(), lldb::SBCommandInterpreter::SourceInitFileInHomeDirectory(), and Succeeded().
void SBCommandReturnObject::SetError | ( | const char * | error_cstr | ) |
Definition at line 335 of file SBCommandReturnObject.cpp.
References lldb_private::CommandReturnObject::AppendError(), LLDB_INSTRUMENT_VA, and ref().
void SBCommandReturnObject::SetError | ( | lldb::SBError & | error, |
const char * | fallback_error_cstr = nullptr |
||
) |
Definition at line 325 of file SBCommandReturnObject.cpp.
References error(), LLDB_INSTRUMENT_VA, ref(), and lldb_private::CommandReturnObject::SetError().
void SBCommandReturnObject::SetImmediateErrorFile | ( | FileSP | BORROWED | ) |
Definition at line 283 of file SBCommandReturnObject.cpp.
References LLDB_INSTRUMENT_VA, and SetImmediateErrorFile().
void SBCommandReturnObject::SetImmediateErrorFile | ( | SBFile | file | ) |
Definition at line 273 of file SBCommandReturnObject.cpp.
References LLDB_INSTRUMENT_VA, lldb::SBFile::m_opaque_sp, ref(), and lldb_private::CommandReturnObject::SetImmediateErrorFile().
Referenced by SetImmediateErrorFile().
void SBCommandReturnObject::SetImmediateOutputFile | ( | FileSP | BORROWED | ) |
Definition at line 278 of file SBCommandReturnObject.cpp.
References LLDB_INSTRUMENT_VA, and SetImmediateOutputFile().
void SBCommandReturnObject::SetImmediateOutputFile | ( | SBFile | file | ) |
Definition at line 268 of file SBCommandReturnObject.cpp.
References LLDB_INSTRUMENT_VA, lldb::SBFile::m_opaque_sp, ref(), and lldb_private::CommandReturnObject::SetImmediateOutputFile().
Referenced by SetImmediateOutputFile().
void SBCommandReturnObject::SetStatus | ( | lldb::ReturnStatus | status | ) |
Definition at line 171 of file SBCommandReturnObject.cpp.
References LLDB_INSTRUMENT_VA, ref(), and lldb_private::CommandReturnObject::SetStatus().
bool SBCommandReturnObject::Succeeded | ( | ) |
Definition at line 177 of file SBCommandReturnObject.cpp.
References LLDB_INSTRUMENT_VA, ref(), and lldb_private::CommandReturnObject::Succeeded().
Referenced by GetDescription().
|
friend |
Definition at line 138 of file SBCommandReturnObject.h.
|
friend |
Definition at line 139 of file SBCommandReturnObject.h.
|
friend |
Definition at line 135 of file SBCommandReturnObject.h.
|
friend |
Definition at line 136 of file SBCommandReturnObject.h.
|
private |
Definition at line 152 of file SBCommandReturnObject.h.
Referenced by get(), operator*(), operator->(), operator=(), ref(), and SBCommandReturnObject().
bool lldb::SBCommandReturnObject::transfer_ownership |
Definition at line 103 of file SBCommandReturnObject.h.