LLDB mainline
|
#include <CommandReturnObject.h>
Public Member Functions | |
CommandReturnObject (bool colors) | |
~CommandReturnObject ()=default | |
std::string | GetInlineDiagnosticString (unsigned indent) |
Format any inline diagnostics with an indentation of indent . | |
llvm::StringRef | GetOutputString () |
std::string | GetErrorString (bool with_diagnostics=true) |
Return the errors as a string. | |
StructuredData::ObjectSP | GetErrorData () |
Stream & | GetOutputStream () |
Stream & | GetErrorStream () |
void | SetImmediateOutputFile (lldb::FileSP file_sp) |
void | SetImmediateErrorFile (lldb::FileSP file_sp) |
void | SetImmediateOutputStream (const lldb::StreamSP &stream_sp) |
void | SetImmediateErrorStream (const lldb::StreamSP &stream_sp) |
lldb::StreamSP | GetImmediateOutputStream () |
lldb::StreamSP | GetImmediateErrorStream () |
void | Clear () |
void | AppendMessage (llvm::StringRef in_string) |
void | AppendMessageWithFormat (const char *format,...) __attribute__((format(printf |
void void | AppendNote (llvm::StringRef in_string) |
void | AppendNoteWithFormat (const char *format,...) __attribute__((format(printf |
void void | AppendWarning (llvm::StringRef in_string) |
void | AppendWarningWithFormat (const char *format,...) __attribute__((format(printf |
void void | AppendError (llvm::StringRef in_string) |
void | AppendRawError (llvm::StringRef in_string) |
void | AppendErrorWithFormat (const char *format,...) __attribute__((format(printf |
template<typename... Args> | |
void void | AppendMessageWithFormatv (const char *format, Args &&... args) |
template<typename... Args> | |
void | AppendNoteWithFormatv (const char *format, Args &&...args) |
template<typename... Args> | |
void | AppendWarningWithFormatv (const char *format, Args &&... args) |
template<typename... Args> | |
void | AppendErrorWithFormatv (const char *format, Args &&... args) |
void | SetError (Status error) |
void | SetError (llvm::Error error) |
void | SetDiagnosticIndent (std::optional< uint16_t > indent) |
std::optional< uint16_t > | GetDiagnosticIndent () const |
lldb::ReturnStatus | GetStatus () const |
void | SetStatus (lldb::ReturnStatus status) |
bool | Succeeded () const |
bool | HasResult () const |
bool | GetDidChangeProcessState () const |
void | SetDidChangeProcessState (bool b) |
bool | GetInteractive () const |
void | SetInteractive (bool b) |
bool | GetSuppressImmediateOutput () const |
void | SetSuppressImmediateOutput (bool b) |
Private Types | |
enum | { eStreamStringIndex = 0 , eImmediateStreamIndex = 1 } |
Private Attributes | |
StreamTee | m_out_stream |
StreamTee | m_err_stream |
std::vector< DiagnosticDetail > | m_diagnostics |
std::optional< uint16_t > | m_diagnostic_indent |
lldb::ReturnStatus | m_status = lldb::eReturnStatusStarted |
bool | m_did_change_process_state = false |
bool | m_suppress_immediate_output = false |
bool | m_interactive = true |
If true, then the input handle from the debugger will be hooked up. | |
bool | m_colors |
Definition at line 28 of file CommandReturnObject.h.
|
private |
Enumerator | |
---|---|
eStreamStringIndex | |
eImmediateStreamIndex |
Definition at line 183 of file CommandReturnObject.h.
CommandReturnObject::CommandReturnObject | ( | bool | colors | ) |
Definition at line 50 of file CommandReturnObject.cpp.
|
default |
void CommandReturnObject::AppendError | ( | llvm::StringRef | in_string | ) |
Definition at line 125 of file CommandReturnObject.cpp.
References lldb::eReturnStatusFailed, error(), GetErrorStream(), and SetStatus().
Referenced by CommandObjectTargetSymbolsAdd::AddModuleSymbols(), CommandObjectTargetSymbolsAdd::AddSymbolsForFile(), CommandObjectTargetSymbolsAdd::AddSymbolsForFrame(), CommandObjectTargetSymbolsAdd::AddSymbolsForStack(), CommandObjectTargetSymbolsAdd::AddSymbolsForUUID(), AppendErrorWithFormatv(), lldb_private::CommandInterpreter::BuildAliasResult(), lldb_private::CommandObject::CheckRequirements(), CheckTargetForWatchpointOperations(), lldb_private::ScriptInterpreter::CollectDataForBreakpointCommandCallback(), lldb_private::ScriptInterpreter::CollectDataForWatchpointCommandCallback(), CommandObjectTypeCategoryDisable::CommandObjectTypeCategoryDisable(), CommandObjectCommandsUnalias::DoExecute(), CommandObjectCommandsDelete::DoExecute(), CommandObjectScriptingObjectParsed::DoExecute(), CommandObjectDiagnosticsDump::DoExecute(), lldb_private::CommandObjectGUI::DoExecute(), CommandObjectLogEnable::DoExecute(), CommandObjectLogTimerEnable::DoExecute(), CommandObjectLogTimerDisable::DoExecute(), CommandObjectLogTimerDump::DoExecute(), CommandObjectLogTimerReset::DoExecute(), CommandObjectLogTimerIncrement::DoExecute(), CommandObjectPlatformSelect::DoExecute(), CommandObjectPlatformList::DoExecute(), CommandObjectPlatformStatus::DoExecute(), CommandObjectPlatformConnect::DoExecute(), CommandObjectPlatformDisconnect::DoExecute(), CommandObjectPlatformSettings::DoExecute(), CommandObjectPlatformMkDir::DoExecute(), CommandObjectPlatformFOpen::DoExecute(), CommandObjectPlatformFClose::DoExecute(), CommandObjectPlatformFRead::DoExecute(), CommandObjectPlatformFWrite::DoExecute(), CommandObjectPlatformProcessLaunch::DoExecute(), CommandObjectPlatformProcessList::DoExecute(), CommandObjectPlatformProcessInfo::DoExecute(), CommandObjectPlatformInstall::DoExecute(), lldb_private::CommandObjectQuit::DoExecute(), CommandObjectSettingsShow::DoExecute(), CommandObjectSettingsWrite::DoExecute(), CommandObjectTargetSelect::DoExecute(), CommandObjectTargetDelete::DoExecute(), CommandObjectTargetVariable::DoExecute(), CommandObjectTargetModulesAdd::DoExecute(), CommandObjectTargetModulesLoad::DoExecute(), CommandObjectTargetSymbolsAdd::DoExecute(), CommandObjectTraceDumpFunctionCalls::DoExecute(), CommandObjectTraceDumpInstructions::DoExecute(), lldb_private::CommandObjectApropos::DoExecute(), CommandObjectBreakpointSet::DoExecute(), CommandObjectBreakpointEnable::DoExecute(), CommandObjectBreakpointList::DoExecute(), CommandObjectBreakpointClear::DoExecute(), CommandObjectBreakpointDelete::DoExecute(), CommandObjectBreakpointNameConfigure::DoExecute(), CommandObjectBreakpointNameAdd::DoExecute(), CommandObjectBreakpointNameDelete::DoExecute(), CommandObjectBreakpointRead::DoExecute(), CommandObjectBreakpointCommandDelete::DoExecute(), CommandObjectBreakpointCommandList::DoExecute(), CommandObjectCommandsSource::DoExecute(), CommandObjectCommandsScriptImport::DoExecute(), CommandObjectCommandsScriptAdd::DoExecute(), CommandObjectCommandsContainerAdd::DoExecute(), CommandObjectCommandsContainerDelete::DoExecute(), lldb_private::CommandObjectDisassemble::DoExecute(), CommandObjectFrameDiagnose::DoExecute(), CommandObjectFrameSelect::DoExecute(), CommandObjectFrameVariable::DoExecute(), CommandObjectFrameRecognizerInfo::DoExecute(), lldb_private::CommandObjectHelp::DoExecute(), CommandObjectMemoryRead::DoExecute(), CommandObjectMemoryFind::DoExecute(), CommandObjectMemoryWrite::DoExecute(), CommandObjectMemoryHistory::DoExecute(), CommandObjectMemoryRegion::DoExecute(), CommandObjectMemoryTagRead::DoExecute(), CommandObjectMemoryTagWrite::DoExecute(), CommandObjectPlatformProcessAttach::DoExecute(), CommandObjectPluginLoad::DoExecute(), CommandObjectProcessAttach::DoExecute(), CommandObjectProcessContinue::DoExecute(), CommandObjectProcessConnect::DoExecute(), CommandObjectProcessInterrupt::DoExecute(), CommandObjectProcessKill::DoExecute(), CommandObjectProcessSaveCore::DoExecute(), CommandObjectProcessStatus::DoExecute(), CommandObjectProcessTraceStop::DoExecute(), CommandObjectRegisterRead::DoExecute(), CommandObjectRegisterWrite::DoExecute(), CommandObjectRegisterInfo::DoExecute(), CommandObjectSessionHistory::DoExecute(), CommandObjectSettingsClear::DoExecute(), CommandObjectSourceInfo::DoExecute(), CommandObjectStatsEnable::DoExecute(), CommandObjectStatsDisable::DoExecute(), CommandObjectTargetCreate::DoExecute(), CommandObjectTargetModulesSearchPathsAdd::DoExecute(), CommandObjectTargetModulesSearchPathsInsert::DoExecute(), CommandObjectTargetModulesSearchPathsQuery::DoExecute(), CommandObjectTargetModulesDumpObjfile::DoExecute(), CommandObjectTargetModulesDumpSymtab::DoExecute(), CommandObjectTargetModulesDumpSections::DoExecute(), CommandObjectTargetModulesDumpClangPCMInfo::DoExecute(), CommandObjectTargetModulesDumpClangAST::DoExecute(), CommandObjectTargetModulesDumpSymfile::DoExecute(), CommandObjectTargetModulesDumpLineTable::DoExecute(), CommandObjectTargetModulesDumpSeparateDebugInfoFiles::DoExecute(), CommandObjectTargetModulesList::DoExecute(), CommandObjectTargetModulesShowUnwind::DoExecute(), CommandObjectTargetModulesLookup::DoExecute(), CommandObjectThreadStepWithTypeAndScope::DoExecute(), CommandObjectThreadContinue::DoExecute(), CommandObjectThreadUntil::DoExecute(), CommandObjectThreadSelect::DoExecute(), CommandObjectThreadPlanList::DoExecute(), CommandObjectTraceSave::DoExecute(), CommandObjectTraceLoad::DoExecute(), CommandObjectTraceSchema::DoExecute(), CommandObjectTypeSynthAdd::DoExecute(), CommandObjectTypeFormatterDelete::DoExecute(), CommandObjectWatchpointList::DoExecute(), CommandObjectWatchpointEnable::DoExecute(), CommandObjectWatchpointDisable::DoExecute(), CommandObjectWatchpointDelete::DoExecute(), CommandObjectWatchpointIgnore::DoExecute(), CommandObjectWatchpointModify::DoExecute(), CommandObjectWatchpointCommandDelete::DoExecute(), CommandObjectWatchpointCommandList::DoExecute(), CommandObjectObjC_ClassTable_Dump::DoExecute(), CommandObjectMultiwordObjC_TaggedPointer_Info::DoExecute(), CommandObjectProcessKDPPacketSend::DoExecute(), sddarwinlog_private::EnableCommand::DoExecute(), CommandObjectProcessLaunch::DoExecute(), CommandObjectProcessHandle::DoExecute(), lldb_private::CommandObjectDWIMPrint::DoExecute(), lldb_private::CommandObjectRegexCommand::DoExecute(), CommandObjectScriptingRun::DoExecute(), CommandObjectSettingsRemove::DoExecute(), CommandObjectSettingsReplace::DoExecute(), CommandObjectSettingsInsertBefore::DoExecute(), CommandObjectSettingsInsertAfter::DoExecute(), CommandObjectSettingsAppend::DoExecute(), CommandObjectThreadReturn::DoExecute(), CommandObjectPythonFunction::DoExecute(), CommandObjectScriptingObjectRaw::DoExecute(), CommandObjectPlatformShell::DoExecute(), CommandObjectTraceStop::DoExecuteOnThreads(), CommandObjectSourceInfo::DumpLinesForFrame(), lldb_private::CommandObjectMultiword::Execute(), lldb_private::CommandObjectProxy::Execute(), CommandObjectTypeSummaryAdd::Execute_StringSummary(), lldb_private::ScriptInterpreterLua::ExecuteOneLine(), CommandObjectBreakpointSet::GetDefaultFile(), lldb_private::CommandInterpreter::HandleCommand(), lldb::SBCommandInterpreter::HandleCommand(), lldb::SBCommandInterpreter::HandleCommandsFromFile(), CommandObjectThreadException::HandleOneThread(), CommandObjectThreadSiginfo::HandleOneThread(), lldb_private::CommandObject::ParseOptionsAndNotify(), ProcessAliasOptionsArgs(), lldb::SBCommandInterpreter::ResolveCommand(), lldb_private::CommandInterpreter::SaveTranscript(), lldb::SBCommandReturnObject::SetError(), SetError(), lldb_private::CommandInterpreter::SourceInitFileCwd(), lldb::SBCommandInterpreter::SourceInitFileInCurrentWorkingDirectory(), lldb::SBCommandInterpreter::SourceInitFileInGlobalDirectory(), lldb::SBCommandInterpreter::SourceInitFileInHomeDirectory(), lldb_private::CommandObjectMultiwordBreakpoint::VerifyIDs(), lldb_private::Options::VerifyOptions(), and CommandObjectTypeFormat::~CommandObjectTypeFormat().
void CommandReturnObject::AppendErrorWithFormat | ( | const char * | format, |
... | |||
) |
Definition at line 53 of file CommandReturnObject.cpp.
References DumpStringToStreamWithNewline(), lldb::eReturnStatusFailed, error(), GetErrorStream(), lldb_private::StreamString::GetString(), lldb_private::Stream::PrintfVarArg(), and SetStatus().
Referenced by CommandObjectTargetSymbolsAdd::AddModuleSymbols(), CommandObjectTargetSymbolsAdd::AddSymbolsForFrame(), CommandObjectTargetSymbolsAdd::AddSymbolsForStack(), CommandObjectTypeSynthAdd::AddSynth(), lldb_private::CommandInterpreter::BuildAliasCommandArgs(), lldb_private::CommandInterpreter::BuildAliasResult(), CommandObjectScriptingObjectParsed::Create(), CommandObjectSourceList::DisplayFunctionSource(), CommandObjectCommandsUnalias::DoExecute(), CommandObjectCommandsDelete::DoExecute(), CommandObjectDiagnosticsDump::DoExecute(), CommandObjectLogEnable::DoExecute(), CommandObjectLogDisable::DoExecute(), CommandObjectLogDump::DoExecute(), CommandObjectLogTimerEnable::DoExecute(), CommandObjectLogTimerDisable::DoExecute(), CommandObjectLogTimerDump::DoExecute(), CommandObjectLogTimerReset::DoExecute(), CommandObjectLogTimerIncrement::DoExecute(), CommandObjectPlatformConnect::DoExecute(), CommandObjectPlatformDisconnect::DoExecute(), CommandObjectPlatformProcessLaunch::DoExecute(), CommandObjectPlatformProcessList::DoExecute(), CommandObjectPlatformProcessInfo::DoExecute(), CommandObjectPlatformInstall::DoExecute(), CommandObjectSettingsWrite::DoExecute(), CommandObjectSettingsList::DoExecute(), CommandObjectTargetSelect::DoExecute(), CommandObjectTargetDelete::DoExecute(), CommandObjectTargetVariable::DoExecute(), CommandObjectTargetModulesAdd::DoExecute(), CommandObjectTargetModulesLoad::DoExecute(), CommandObjectTargetSymbolsAdd::DoExecute(), CommandObjectThreadJump::DoExecute(), CommandObjectThreadPlanDiscard::DoExecute(), CommandObjectThreadPlanPrune::DoExecute(), lldb_private::ctf::CommandObjectThreadTraceExportCTF::DoExecute(), CommandObjectBreakpointSet::DoExecute(), CommandObjectBreakpointNameConfigure::DoExecute(), CommandObjectBreakpointWrite::DoExecute(), CommandObjectBreakpointCommandDelete::DoExecute(), CommandObjectBreakpointCommandList::DoExecute(), CommandObjectCommandsSource::DoExecute(), CommandObjectCommandsScriptImport::DoExecute(), CommandObjectCommandsScriptAdd::DoExecute(), CommandObjectCommandsScriptDelete::DoExecute(), CommandObjectCommandsContainerAdd::DoExecute(), CommandObjectCommandsContainerDelete::DoExecute(), lldb_private::CommandObjectDisassemble::DoExecute(), CommandObjectFrameSelect::DoExecute(), CommandObjectFrameVariable::DoExecute(), CommandObjectFrameRecognizerAdd::DoExecute(), CommandObjectWithFrameRecognizerArg::DoExecute(), CommandObjectFrameRecognizerInfo::DoExecute(), CommandObjectMemoryRead::DoExecute(), CommandObjectMemoryWrite::DoExecute(), CommandObjectMemoryHistory::DoExecute(), CommandObjectMemoryRegion::DoExecute(), CommandObjectMemoryTagWrite::DoExecute(), CommandObjectProcessAttach::DoExecute(), CommandObjectProcessContinue::DoExecute(), CommandObjectProcessDetach::DoExecute(), CommandObjectProcessConnect::DoExecute(), CommandObjectProcessLoad::DoExecute(), CommandObjectProcessUnload::DoExecute(), CommandObjectProcessSignal::DoExecute(), CommandObjectProcessInterrupt::DoExecute(), CommandObjectProcessKill::DoExecute(), CommandObjectProcessSaveCore::DoExecute(), CommandObjectRegisterRead::DoExecute(), CommandObjectRegisterWrite::DoExecute(), CommandObjectRegisterInfo::DoExecute(), CommandObjectSourceList::DoExecute(), CommandObjectTargetCreate::DoExecute(), CommandObjectTargetModulesSearchPathsInsert::DoExecute(), CommandObjectTargetModulesDumpClangPCMInfo::DoExecute(), CommandObjectTargetModulesList::DoExecute(), CommandObjectTargetModulesShowUnwind::DoExecute(), CommandObjectTargetStopHookDelete::DoExecute(), CommandObjectTargetStopHookEnableDisable::DoExecute(), CommandObjectThreadStepWithTypeAndScope::DoExecute(), CommandObjectThreadContinue::DoExecute(), CommandObjectThreadUntil::DoExecute(), CommandObjectThreadSelect::DoExecute(), lldb_private::CommandObjectIterateOverThreads::DoExecute(), lldb_private::CommandObjectMultipleThreads::DoExecute(), CommandObjectTraceLoad::DoExecute(), CommandObjectTraceDump::DoExecute(), CommandObjectTraceSchema::DoExecute(), CommandObjectTypeFormatterDelete::DoExecute(), CommandObjectTypeFormatterList< FormatterType >::DoExecute(), CommandObjectWatchpointCommandDelete::DoExecute(), CommandObjectWatchpointCommandList::DoExecute(), CommandObjectMultiwordItaniumABI_Demangle::DoExecute(), CommandObjectProcessGDBRemoteSpeedTest::DoExecute(), CommandObjectProcessGDBRemotePacketXferSize::DoExecute(), CommandObjectProcessGDBRemotePacketSend::DoExecute(), CommandObjectProcessKDPPacketSend::DoExecute(), CommandObjectProcessMinidumpDump::DoExecute(), CommandObjectProcessHandle::DoExecute(), CommandObjectThreadReturn::DoExecute(), CommandObjectProcessGDBRemotePacketMonitor::DoExecute(), CommandObjectFrameRecognizerEnable::DoExecuteWithId(), CommandObjectFrameRecognizerDisable::DoExecuteWithId(), CommandObjectFrameRecognizerDelete::DoExecuteWithId(), CommandObjectSourceInfo::DumpLinesForAddress(), CommandObjectSourceInfo::DumpLinesForFile(), CommandObjectSourceInfo::DumpLinesInFunctions(), lldb_private::CommandObjectMultiword::Execute(), CommandObjectTypeSummaryAdd::Execute_StringSummary(), CommandObjectTypeCategoryDisable::CommandOptions::GetDefinitions(), GetSingleThreadFromArgs(), CommandObjectTypeLookup::GuessLanguage(), lldb_private::CommandInterpreter::HandleCommand(), lldb_private::CommandInterpreter::HandleCommands(), lldb_private::CommandInterpreter::HandleCommandsFromFile(), lldb::SBCommandInterpreter::HandleCommandsFromFile(), CommandObjectThreadBacktrace::HandleOneThread(), CommandObjectThreadInfo::HandleOneThread(), CommandObjectThreadException::HandleOneThread(), CommandObjectThreadSiginfo::HandleOneThread(), lldb_private::CommandInterpreter::ResolveCommandImpl(), CommandObjectProcessLaunchOrAttach::StopProcessIfNecessary(), and lldb_private::CommandObjectMultiwordBreakpoint::VerifyIDs().
|
inline |
Definition at line 146 of file CommandReturnObject.h.
References AppendError().
Referenced by lldb_private::CommandObjectIterateOverThreads::BucketThread(), CommandObjectPlatformDisconnect::DoExecute(), CommandObjectPlatformFClose::DoExecute(), CommandObjectPlatformFRead::DoExecute(), CommandObjectPlatformFWrite::DoExecute(), CommandObjectPlatformProcessList::DoExecute(), CommandObjectPlatformProcessInfo::DoExecute(), CommandObjectTargetVariable::DoExecute(), lldb_private::ctf::CommandObjectThreadTraceExportCTF::DoExecute(), CommandObjectBreakpointNameConfigure::DoExecute(), CommandObjectCommandsScriptAdd::DoExecute(), CommandObjectMemoryTagRead::DoExecute(), CommandObjectMemoryTagWrite::DoExecute(), CommandObjectProcessContinue::DoExecute(), CommandObjectRegisterRead::DoExecute(), CommandObjectTargetCreate::DoExecute(), CommandObjectThreadStepWithTypeAndScope::DoExecute(), CommandObjectMultiwordObjC_TaggedPointer_Info::DoExecute(), lldb_private::CommandObjectDWIMPrint::DoExecute(), lldb_private::CommandObjectParsed::Execute(), lldb_private::ScriptInterpreterLua::ExecuteOneLine(), lldb_private::CommandInterpreter::HandleCommands(), lldb_private::CommandInterpreter::HandleCommandsFromFile(), and lldb_private::CommandInterpreter::SaveTranscript().
void CommandReturnObject::AppendMessage | ( | llvm::StringRef | in_string | ) |
Definition at line 107 of file CommandReturnObject.cpp.
References GetOutputStream().
Referenced by lldb::SBCommandReturnObject::AppendMessage(), AppendMessageWithFormatv(), CommandObjectBreakpointList::DoExecute(), CommandObjectBreakpointDelete::DoExecute(), CommandObjectBreakpointNameList::DoExecute(), CommandObjectBreakpointRead::DoExecute(), CommandObjectMemoryFind::DoExecute(), CommandObjectMemoryTagRead::DoExecute(), CommandObjectProcessAttach::DoExecute(), CommandObjectProcessContinue::DoExecute(), CommandObjectThreadStepWithTypeAndScope::DoExecute(), CommandObjectThreadContinue::DoExecute(), CommandObjectThreadUntil::DoExecute(), lldb_private::CommandObjectIterateOverThreads::DoExecute(), CommandObjectTraceSchema::DoExecute(), CommandObjectWatchpointList::DoExecute(), CommandObjectWatchpointDelete::DoExecute(), CommandObjectProcessKDPPacketSend::DoExecute(), CommandObjectProcessLaunch::DoExecute(), CommandObjectMemoryRegion::DumpRegion(), lldb_private::CommandInterpreter::GetHelp(), lldb_private::CommandInterpreter::HandleCommands(), and lldb::SBCommandReturnObject::PutCString().
void CommandReturnObject::AppendMessageWithFormat | ( | const char * | format, |
... | |||
) |
Definition at line 71 of file CommandReturnObject.cpp.
References GetOutputStream(), lldb_private::StreamString::GetString(), and lldb_private::Stream::PrintfVarArg().
Referenced by CommandObjectTargetSymbolsAdd::AddModuleSymbols(), CommandObjectSourceList::DisplayFunctionSource(), CommandObjectPlatformFOpen::DoExecute(), CommandObjectPlatformFClose::DoExecute(), CommandObjectPlatformFRead::DoExecute(), CommandObjectPlatformFWrite::DoExecute(), CommandObjectPlatformProcessList::DoExecute(), CommandObjectTargetModulesLoad::DoExecute(), lldb_private::CommandObjectVersion::DoExecute(), lldb_private::CommandObjectApropos::DoExecute(), CommandObjectBreakpointEnable::DoExecute(), CommandObjectBreakpointDelete::DoExecute(), CommandObjectBreakpointNameList::DoExecute(), CommandObjectBreakpointCommandList::DoExecute(), CommandObjectMemoryFind::DoExecute(), CommandObjectProcessAttach::DoExecute(), CommandObjectProcessContinue::DoExecute(), CommandObjectProcessLoad::DoExecute(), CommandObjectProcessUnload::DoExecute(), CommandObjectProcessSaveCore::DoExecute(), CommandObjectProcessStatus::DoExecute(), CommandObjectTargetCreate::DoExecute(), CommandObjectThreadContinue::DoExecute(), CommandObjectThreadUntil::DoExecute(), CommandObjectWatchpointList::DoExecute(), CommandObjectWatchpointEnable::DoExecute(), CommandObjectWatchpointDisable::DoExecute(), CommandObjectWatchpointDelete::DoExecute(), CommandObjectWatchpointIgnore::DoExecute(), CommandObjectWatchpointModify::DoExecute(), CommandObjectWatchpointCommandList::DoExecute(), CommandObjectMultiwordItaniumABI_Demangle::DoExecute(), CommandObjectProcessLaunch::DoExecute(), CommandObjectMemoryRegion::DumpRegion(), lldb_private::CommandInterpreter::GetHelp(), lldb_private::CommandInterpreter::HandleCommands(), lldb_private::CommandInterpreter::ResolveCommand(), and lldb_private::CommandInterpreter::SaveTranscript().
|
inline |
Definition at line 131 of file CommandReturnObject.h.
References AppendMessage().
Referenced by CommandObjectPlatformProcessList::DoExecute(), lldb_private::CommandObjectApropos::DoExecute(), CommandObjectMemoryTagRead::DoExecute(), CommandObjectStatsDump::DoExecute(), CommandObjectTargetCreate::DoExecute(), CommandObjectTraceSave::DoExecute(), CommandObjectTraceLoad::DoExecute(), CommandObjectMemoryRegion::DumpRegion(), and lldb_private::CommandInterpreter::HandleCommands().
void CommandReturnObject::AppendNote | ( | llvm::StringRef | in_string | ) |
Definition at line 113 of file CommandReturnObject.cpp.
References GetOutputStream(), and note().
Referenced by AppendNoteWithFormatv(), and lldb_private::CommandObjectDWIMPrint::DoExecute().
void CommandReturnObject::AppendNoteWithFormat | ( | const char * | format, |
... | |||
) |
Definition at line 83 of file CommandReturnObject.cpp.
References GetOutputStream(), lldb_private::StreamString::GetString(), note(), and lldb_private::Stream::PrintfVarArg().
|
inline |
Definition at line 136 of file CommandReturnObject.h.
References AppendNote().
Referenced by lldb_private::CommandObjectDWIMPrint::DoExecute().
void CommandReturnObject::AppendRawError | ( | llvm::StringRef | in_string | ) |
Definition at line 228 of file CommandReturnObject.cpp.
References lldb::eReturnStatusFailed, GetErrorStream(), and SetStatus().
Referenced by lldb_private::CommandObjectMultiword::Execute(), and lldb_private::CommandInterpreter::ResolveCommandImpl().
void CommandReturnObject::AppendWarning | ( | llvm::StringRef | in_string | ) |
Definition at line 119 of file CommandReturnObject.cpp.
References GetErrorStream(), and warning().
Referenced by CommandObjectTargetSymbolsAdd::AddModuleSymbols(), sddarwinlog_private::EnableCommand::AppendStrictSourcesWarning(), lldb::SBCommandReturnObject::AppendWarning(), AppendWarningWithFormatv(), CommandObjectThreadJump::DoExecute(), CommandObjectBreakpointSet::DoExecute(), CommandObjectFrameRecognizerAdd::DoExecute(), CommandObjectMemoryRead::DoExecute(), CommandObjectThreadStepWithTypeAndScope::DoExecute(), CommandObjectProcessLaunch::DoExecute(), CommandObjectThreadReturn::DoExecute(), and lldb_private::CommandObjectDisassemble::GetNameRanges().
void CommandReturnObject::AppendWarningWithFormat | ( | const char * | format, |
... | |||
) |
Definition at line 95 of file CommandReturnObject.cpp.
References GetErrorStream(), lldb_private::StreamString::GetString(), lldb_private::Stream::PrintfVarArg(), and warning().
Referenced by CommandObjectTargetSymbolsAdd::AddModuleSymbols(), lldb_private::CommandObjectDisassemble::DoExecute(), CommandObjectMemoryRead::DoExecute(), CommandObjectProcessAttach::DoExecute(), CommandObjectSourceInfo::DoExecute(), CommandObjectTargetModulesDumpObjfile::DoExecute(), CommandObjectTargetModulesDumpSymtab::DoExecute(), CommandObjectTargetModulesDumpSections::DoExecute(), CommandObjectTargetModulesDumpClangAST::DoExecute(), CommandObjectTargetModulesDumpSymfile::DoExecute(), CommandObjectTargetModulesDumpLineTable::DoExecute(), CommandObjectTargetModulesDumpSeparateDebugInfoFiles::DoExecute(), CommandObjectTargetModulesLookup::DoExecute(), CommandObjectSourceInfo::DumpLinesInFunctions(), and WarnOnPotentialUnquotedUnsignedType().
|
inline |
Definition at line 141 of file CommandReturnObject.h.
References AppendWarning().
void CommandReturnObject::Clear | ( | ) |
Definition at line 247 of file CommandReturnObject.cpp.
References Clear(), lldb::eReturnStatusStarted, eStreamStringIndex, lldb_private::StreamTee::GetStreamAtIndex(), m_diagnostics, m_did_change_process_state, m_err_stream, m_interactive, m_out_stream, m_status, and m_suppress_immediate_output.
Referenced by lldb::SBCommandReturnObject::Clear(), Clear(), CommandObjectBreakpointDelete::DoExecute(), and CommandObjectProcessContinue::DoExecute().
|
inline |
Definition at line 158 of file CommandReturnObject.h.
References m_diagnostic_indent.
bool CommandReturnObject::GetDidChangeProcessState | ( | ) | const |
Definition at line 262 of file CommandReturnObject.cpp.
References m_did_change_process_state.
Referenced by lldb_private::CommandInterpreter::HandleCommands().
StructuredData::ObjectSP CommandReturnObject::GetErrorData | ( | ) |
Definition at line 171 of file CommandReturnObject.cpp.
References lldb::eSeverityError, lldb::eSeverityInfo, lldb::eSeverityWarning, eStreamStringIndex, lldb_private::StreamTee::GetStreamAtIndex(), m_diagnostics, and m_err_stream.
|
inline |
Definition at line 62 of file CommandReturnObject.h.
References eStreamStringIndex, lldb_private::StreamTee::GetStreamAtIndex(), m_err_stream, and lldb_private::StreamTee::SetStreamAtIndex().
Referenced by CommandObjectTargetSymbolsAdd::AddModuleSymbols(), AppendError(), AppendErrorWithFormat(), AppendRawError(), AppendWarning(), AppendWarningWithFormat(), CommandObjectLogEnable::DoExecute(), CommandObjectLogDisable::DoExecute(), CommandObjectLogDump::DoExecute(), CommandObjectTargetVariable::DoExecute(), lldb_private::CommandObjectDisassemble::DoExecute(), CommandObjectFrameSelect::DoExecute(), CommandObjectSourceInfo::DoExecute(), CommandObjectTargetModulesDumpObjfile::DoExecute(), CommandObjectTargetModulesDumpSymtab::DoExecute(), CommandObjectTargetModulesDumpSections::DoExecute(), CommandObjectTargetModulesDumpSymfile::DoExecute(), CommandObjectTargetModulesDumpLineTable::DoExecute(), CommandObjectTargetModulesDumpSeparateDebugInfoFiles::DoExecute(), CommandObjectTargetModulesList::DoExecute(), CommandObjectTargetModulesLookup::DoExecute(), lldb_private::CommandObjectDWIMPrint::DoExecute(), lldb_private::CommandObjectRegexCommand::DoExecute(), and CommandObjectTargetModulesLookup::LookupInModule().
std::string CommandReturnObject::GetErrorString | ( | bool | with_diagnostics = true | ) |
Return the errors as a string.
If with_diagnostics
is true, all diagnostics are also rendered into the string. Otherwise the expectation is that they are fetched with GetInlineDiagnosticString().
Definition at line 160 of file CommandReturnObject.cpp.
References eStreamStringIndex, lldb_private::StreamTee::GetStreamAtIndex(), lldb_private::StreamString::GetString(), m_colors, m_diagnostics, m_err_stream, and lldb_private::RenderDiagnosticDetails().
Referenced by lldb_private::Debugger::Destroy(), lldb::SBCommandReturnObject::GetErrorSize(), lldb_private::CommandObjectExpression::GetMultilineExpression(), lldb_private::CommandInterpreter::HandleCommand(), and lldb_private::CommandInterpreter::HandleCommands().
|
inline |
Definition at line 102 of file CommandReturnObject.h.
References eImmediateStreamIndex, lldb_private::StreamTee::GetStreamAtIndex(), and m_err_stream.
Referenced by lldb_private::BreakpointOptions::BreakpointOptionsCallbackFunction(), and lldb_private::CommandInterpreter::HandleCommands().
|
inline |
Definition at line 98 of file CommandReturnObject.h.
References eImmediateStreamIndex, lldb_private::StreamTee::GetStreamAtIndex(), and m_out_stream.
Referenced by lldb_private::BreakpointOptions::BreakpointOptionsCallbackFunction(), CommandObjectProcessGDBRemoteSpeedTest::DoExecute(), and lldb_private::CommandInterpreter::HandleCommands().
std::string CommandReturnObject::GetInlineDiagnosticString | ( | unsigned | indent | ) |
Format any inline diagnostics with an indentation of indent
.
Definition at line 150 of file CommandReturnObject.cpp.
References eImmediateStreamIndex, lldb_private::StreamTee::GetStreamAtIndex(), lldb_private::StreamString::GetString(), m_colors, m_diagnostics, m_err_stream, and lldb_private::RenderDiagnosticDetails().
bool CommandReturnObject::GetInteractive | ( | ) | const |
Definition at line 270 of file CommandReturnObject.cpp.
References m_interactive.
Referenced by lldb_private::CommandInterpreter::HandleCommands().
|
inline |
Definition at line 52 of file CommandReturnObject.h.
References eStreamStringIndex, lldb_private::StreamTee::GetStreamAtIndex(), m_out_stream, and lldb_private::StreamTee::SetStreamAtIndex().
Referenced by AppendMessage(), AppendMessageWithFormat(), AppendNote(), AppendNoteWithFormat(), CommandObjectTypeCategoryDefine::CommandObjectTypeCategoryDefine(), CommandObjectTypeSynth::CommandObjectTypeSynth(), CommandObjectSourceList::DisplayFunctionSource(), CommandObjectDiagnosticsDump::DoExecute(), CommandObjectLogList::DoExecute(), CommandObjectLogTimerDisable::DoExecute(), CommandObjectLogTimerDump::DoExecute(), CommandObjectPlatformSelect::DoExecute(), CommandObjectPlatformList::DoExecute(), CommandObjectPlatformStatus::DoExecute(), CommandObjectPlatformConnect::DoExecute(), CommandObjectPlatformDisconnect::DoExecute(), CommandObjectPlatformProcessLaunch::DoExecute(), CommandObjectPlatformProcessList::DoExecute(), CommandObjectPlatformProcessInfo::DoExecute(), CommandObjectSettingsShow::DoExecute(), CommandObjectSettingsList::DoExecute(), CommandObjectTargetList::DoExecute(), CommandObjectTargetSelect::DoExecute(), CommandObjectTargetDelete::DoExecute(), CommandObjectTargetShowLaunchEnvironment::DoExecute(), CommandObjectTargetVariable::DoExecute(), CommandObjectTraceDumpFunctionCalls::DoExecute(), CommandObjectTraceDumpInstructions::DoExecute(), lldb_private::CommandObjectApropos::DoExecute(), CommandObjectBreakpointSet::DoExecute(), CommandObjectBreakpointList::DoExecute(), CommandObjectBreakpointClear::DoExecute(), CommandObjectBreakpointRead::DoExecute(), CommandObjectBreakpointCommandList::DoExecute(), CommandObjectCommandsScriptDelete::DoExecute(), lldb_private::CommandObjectDisassemble::DoExecute(), CommandObjectFrameDiagnose::DoExecute(), CommandObjectFrameInfo::DoExecute(), CommandObjectFrameSelect::DoExecute(), CommandObjectFrameVariable::DoExecute(), CommandObjectFrameRecognizerList::DoExecute(), CommandObjectFrameRecognizerInfo::DoExecute(), lldb_private::CommandObjectHelp::DoExecute(), CommandObjectMemoryRead::DoExecute(), CommandObjectMemoryFind::DoExecute(), CommandObjectMemoryWrite::DoExecute(), CommandObjectMemoryHistory::DoExecute(), CommandObjectProcessConnect::DoExecute(), CommandObjectProcessStatus::DoExecute(), CommandObjectRegisterRead::DoExecute(), CommandObjectRegisterInfo::DoExecute(), CommandObjectScriptingExtensionList::DoExecute(), CommandObjectSessionHistory::DoExecute(), CommandObjectSourceInfo::DoExecute(), CommandObjectSourceList::DoExecute(), CommandObjectSourceCacheDump::DoExecute(), CommandObjectTargetModulesSearchPathsList::DoExecute(), CommandObjectTargetModulesSearchPathsQuery::DoExecute(), CommandObjectTargetModulesDumpObjfile::DoExecute(), CommandObjectTargetModulesDumpSymtab::DoExecute(), CommandObjectTargetModulesDumpSections::DoExecute(), CommandObjectTargetModulesDumpClangPCMInfo::DoExecute(), CommandObjectTargetModulesDumpClangAST::DoExecute(), CommandObjectTargetModulesDumpSymfile::DoExecute(), CommandObjectTargetModulesDumpLineTable::DoExecute(), CommandObjectTargetModulesDumpSeparateDebugInfoFiles::DoExecute(), CommandObjectTargetModulesList::DoExecute(), CommandObjectTargetModulesShowUnwind::DoExecute(), CommandObjectTargetModulesLookup::DoExecute(), CommandObjectTargetStopHookList::DoExecute(), CommandObjectTargetDumpTypesystem::DoExecute(), CommandObjectTargetDumpSectionLoadList::DoExecute(), CommandObjectThreadList::DoExecute(), CommandObjectThreadPlanList::DoExecute(), lldb_private::CommandObjectIterateOverThreads::DoExecute(), CommandObjectTypeFormatterList< FormatterType >::DoExecute(), CommandObjectWatchpointList::DoExecute(), CommandObjectWatchpointCommandList::DoExecute(), CommandObjectObjC_ClassTable_Dump::DoExecute(), CommandObjectMultiwordObjC_TaggedPointer_Info::DoExecute(), CommandObjectProcessGDBRemoteSpeedTest::DoExecute(), CommandObjectProcessGDBRemotePacketHistory::DoExecute(), CommandObjectProcessGDBRemotePacketSend::DoExecute(), CommandObjectProcessMinidumpDump::DoExecute(), sddarwinlog_private::StatusCommand::DoExecute(), CommandObjectProcessHandle::DoExecute(), lldb_private::CommandObjectDWIMPrint::DoExecute(), lldb_private::CommandObjectRegexCommand::DoExecute(), CommandObjectThreadReturn::DoExecute(), CommandObjectFormatterInfo< FormatterType >::DoExecute(), CommandObjectProcessGDBRemotePacketMonitor::DoExecute(), CommandObjectPlatformShell::DoExecute(), CommandObjectThreadBacktrace::DoExtendedBacktrace(), CommandObjectSourceInfo::DumpLinesForAddress(), CommandObjectSourceInfo::DumpLinesForFile(), CommandObjectSourceInfo::DumpLinesForFrame(), CommandObjectSourceInfo::DumpLinesInFunctions(), lldb_private::CommandObject::GenerateHelpText(), lldb_private::CommandInterpreter::GetHelp(), CommandObjectTypeCategoryDefine::GetOptions(), CommandObjectThreadBacktrace::HandleOneThread(), CommandObjectThreadInfo::HandleOneThread(), CommandObjectThreadException::HandleOneThread(), CommandObjectThreadSiginfo::HandleOneThread(), CommandObjectThreadPlanList::HandleOneThread(), CommandObjectTraceDumpInfo::HandleOneThread(), CommandObjectTargetModulesLookup::LookupHere(), CommandObjectTargetModulesLookup::LookupInModule(), and lldb_private::ScriptInterpreterIORedirect::ScriptInterpreterIORedirect().
|
inline |
Definition at line 37 of file CommandReturnObject.h.
References eStreamStringIndex, lldb_private::StreamTee::GetStreamAtIndex(), and m_out_stream.
Referenced by lldb_private::Debugger::Destroy(), CommandObjectScriptingObjectParsed::DoExecute(), CommandObjectPythonFunction::DoExecute(), CommandObjectScriptingObjectRaw::DoExecute(), lldb::SBCommandReturnObject::GetOutputSize(), lldb_private::CommandInterpreter::HandleCommand(), and lldb_private::CommandInterpreter::HandleCommands().
ReturnStatus CommandReturnObject::GetStatus | ( | ) | const |
Definition at line 236 of file CommandReturnObject.cpp.
References m_status.
Referenced by CommandObjectScriptingObjectParsed::DoExecute(), CommandObjectFrameVariable::DoExecute(), CommandObjectPythonFunction::DoExecute(), CommandObjectScriptingObjectRaw::DoExecute(), lldb::SBCommandReturnObject::GetDescription(), lldb::SBCommandReturnObject::GetStatus(), lldb_private::CommandInterpreter::HandleCommands(), lldb_private::Target::StopHookCommandLine::HandleStop(), lldb_private::REPL::IOHandlerInputComplete(), and ProcessAliasOptionsArgs().
bool CommandReturnObject::GetSuppressImmediateOutput | ( | ) | const |
Definition at line 274 of file CommandReturnObject.cpp.
References m_suppress_immediate_output.
bool CommandReturnObject::HasResult | ( | ) | const |
Definition at line 242 of file CommandReturnObject.cpp.
References lldb::eReturnStatusSuccessContinuingResult, lldb::eReturnStatusSuccessFinishResult, and m_status.
Referenced by lldb::SBCommandReturnObject::HasResult().
|
inline |
Definition at line 154 of file CommandReturnObject.h.
References m_diagnostic_indent.
Referenced by lldb_private::CommandObjectDWIMPrint::DoExecute(), and lldb_private::CommandInterpreter::HandleCommand().
void CommandReturnObject::SetDidChangeProcessState | ( | bool | b | ) |
Definition at line 266 of file CommandReturnObject.cpp.
References m_did_change_process_state.
Referenced by CommandObjectProcessAttach::DoExecute(), CommandObjectProcessContinue::DoExecute(), CommandObjectThreadStepWithTypeAndScope::DoExecute(), CommandObjectThreadContinue::DoExecute(), CommandObjectThreadUntil::DoExecute(), and CommandObjectProcessLaunch::DoExecute().
void CommandReturnObject::SetError | ( | llvm::Error | error | ) |
Definition at line 139 of file CommandReturnObject.cpp.
References AppendError(), lldb::eReturnStatusFailed, error(), m_diagnostics, and SetStatus().
void CommandReturnObject::SetError | ( | Status | error | ) |
Definition at line 135 of file CommandReturnObject.cpp.
References error(), and SetError().
Referenced by CommandObjectTargetModulesAdd::DoExecute(), CommandObjectThreadJump::DoExecute(), CommandObjectMemoryTagRead::DoExecute(), CommandObjectMemoryTagWrite::DoExecute(), CommandObjectTargetCreate::DoExecute(), CommandObjectThreadStepWithTypeAndScope::DoExecute(), CommandObjectThreadUntil::DoExecute(), lldb_private::trace_intel_pt::CommandObjectProcessTraceStartIntelPT::DoExecute(), lldb_private::CommandObjectDWIMPrint::DoExecute(), lldb_private::CommandObjectRegexCommand::DoExecute(), lldb_private::trace_intel_pt::CommandObjectThreadTraceStartIntelPT::DoExecuteOnThreads(), CommandObjectTargetSymbolsAdd::DownloadObjectAndSymbolFile(), lldb_private::CommandObject::ParseOptions(), lldb::SBCommandReturnObject::SetError(), SetError(), and lldb_private::CommandObjectMultiwordBreakpoint::VerifyIDs().
|
inline |
Definition at line 79 of file CommandReturnObject.h.
References eImmediateStreamIndex, m_err_stream, m_suppress_immediate_output, and lldb_private::StreamTee::SetStreamAtIndex().
Referenced by lldb_private::ScriptInterpreterIORedirect::ScriptInterpreterIORedirect(), and lldb::SBCommandReturnObject::SetImmediateErrorFile().
|
inline |
Definition at line 92 of file CommandReturnObject.h.
References eImmediateStreamIndex, m_err_stream, m_suppress_immediate_output, and lldb_private::StreamTee::SetStreamAtIndex().
Referenced by lldb_private::BreakpointOptions::BreakpointOptionsCallbackFunction(), lldb_private::REPL::IOHandlerInputComplete(), and CommandObjectWatchpointCommandAdd::CommandOptions::OptionParsingStarting().
|
inline |
Definition at line 72 of file CommandReturnObject.h.
References eImmediateStreamIndex, m_out_stream, m_suppress_immediate_output, and lldb_private::StreamTee::SetStreamAtIndex().
Referenced by lldb_private::ScriptInterpreterIORedirect::ScriptInterpreterIORedirect(), and lldb::SBCommandReturnObject::SetImmediateOutputFile().
|
inline |
Definition at line 86 of file CommandReturnObject.h.
References eImmediateStreamIndex, m_out_stream, m_suppress_immediate_output, and lldb_private::StreamTee::SetStreamAtIndex().
Referenced by lldb_private::BreakpointOptions::BreakpointOptionsCallbackFunction(), CommandObjectProcessGDBRemoteSpeedTest::DoExecute(), lldb_private::Target::StopHookCommandLine::HandleStop(), lldb_private::REPL::IOHandlerInputComplete(), and CommandObjectWatchpointCommandAdd::CommandOptions::OptionParsingStarting().
void CommandReturnObject::SetInteractive | ( | bool | b | ) |
Definition at line 272 of file CommandReturnObject.cpp.
References m_interactive.
Referenced by lldb::SBCommandInterpreter::HandleCommand(), lldb_private::CommandInterpreter::HandleCommands(), and lldb_private::Target::StopHookCommandLine::HandleStop().
void CommandReturnObject::SetStatus | ( | lldb::ReturnStatus | status | ) |
Definition at line 234 of file CommandReturnObject.cpp.
References m_status.
Referenced by CommandObjectTargetSymbolsAdd::AddModuleSymbols(), AppendError(), AppendErrorWithFormat(), AppendRawError(), lldb_private::CommandInterpreter::BuildAliasCommandArgs(), CommandObjectTypeSynth::CommandObjectTypeSynth(), CommandObjectCommandsUnalias::DoExecute(), CommandObjectCommandsDelete::DoExecute(), CommandObjectScriptingObjectParsed::DoExecute(), CommandObjectDiagnosticsDump::DoExecute(), lldb_private::CommandObjectGUI::DoExecute(), CommandObjectLogEnable::DoExecute(), CommandObjectLogDisable::DoExecute(), CommandObjectLogList::DoExecute(), CommandObjectLogDump::DoExecute(), CommandObjectLogTimerEnable::DoExecute(), CommandObjectLogTimerDisable::DoExecute(), CommandObjectLogTimerDump::DoExecute(), CommandObjectLogTimerReset::DoExecute(), CommandObjectLogTimerIncrement::DoExecute(), CommandObjectPlatformSelect::DoExecute(), CommandObjectPlatformList::DoExecute(), CommandObjectPlatformStatus::DoExecute(), CommandObjectPlatformConnect::DoExecute(), CommandObjectPlatformDisconnect::DoExecute(), CommandObjectPlatformMkDir::DoExecute(), CommandObjectPlatformFOpen::DoExecute(), CommandObjectPlatformFClose::DoExecute(), CommandObjectPlatformFRead::DoExecute(), CommandObjectPlatformFWrite::DoExecute(), CommandObjectPlatformProcessLaunch::DoExecute(), CommandObjectPlatformProcessList::DoExecute(), CommandObjectPlatformInstall::DoExecute(), lldb_private::CommandObjectQuit::DoExecute(), CommandObjectSessionSave::DoExecute(), CommandObjectSettingsShow::DoExecute(), CommandObjectSettingsList::DoExecute(), CommandObjectTargetList::DoExecute(), CommandObjectTargetSelect::DoExecute(), CommandObjectTargetDelete::DoExecute(), CommandObjectTargetShowLaunchEnvironment::DoExecute(), CommandObjectTargetModulesAdd::DoExecute(), CommandObjectTargetSymbolsAdd::DoExecute(), CommandObjectThreadJump::DoExecute(), CommandObjectThreadPlanDiscard::DoExecute(), CommandObjectThreadPlanPrune::DoExecute(), lldb_private::CommandObjectVersion::DoExecute(), lldb_private::CommandObjectApropos::DoExecute(), CommandObjectBreakpointSet::DoExecute(), CommandObjectBreakpointEnable::DoExecute(), CommandObjectBreakpointList::DoExecute(), CommandObjectBreakpointClear::DoExecute(), CommandObjectBreakpointDelete::DoExecute(), CommandObjectBreakpointWrite::DoExecute(), CommandObjectBreakpointCommandList::DoExecute(), CommandObjectCommandsSource::DoExecute(), CommandObjectCommandsScriptImport::DoExecute(), CommandObjectCommandsScriptAdd::DoExecute(), CommandObjectCommandsScriptList::DoExecute(), CommandObjectCommandsScriptClear::DoExecute(), CommandObjectCommandsScriptDelete::DoExecute(), CommandObjectCommandsContainerAdd::DoExecute(), CommandObjectCommandsContainerDelete::DoExecute(), lldb_private::CommandObjectDisassemble::DoExecute(), CommandObjectFrameInfo::DoExecute(), CommandObjectFrameSelect::DoExecute(), CommandObjectFrameVariable::DoExecute(), CommandObjectFrameRecognizerAdd::DoExecute(), CommandObjectFrameRecognizerClear::DoExecute(), CommandObjectFrameRecognizerList::DoExecute(), CommandObjectFrameRecognizerInfo::DoExecute(), lldb_private::CommandObjectHelp::DoExecute(), CommandObjectMemoryRead::DoExecute(), CommandObjectMemoryFind::DoExecute(), CommandObjectMemoryWrite::DoExecute(), CommandObjectMemoryHistory::DoExecute(), CommandObjectMemoryRegion::DoExecute(), CommandObjectMemoryTagRead::DoExecute(), CommandObjectMemoryTagWrite::DoExecute(), CommandObjectPlatformProcessAttach::DoExecute(), CommandObjectPluginLoad::DoExecute(), CommandObjectProcessAttach::DoExecute(), CommandObjectProcessContinue::DoExecute(), CommandObjectProcessDetach::DoExecute(), CommandObjectProcessLoad::DoExecute(), CommandObjectProcessUnload::DoExecute(), CommandObjectProcessSignal::DoExecute(), CommandObjectProcessInterrupt::DoExecute(), CommandObjectProcessKill::DoExecute(), CommandObjectProcessSaveCore::DoExecute(), CommandObjectProcessStatus::DoExecute(), CommandObjectProcessTraceStop::DoExecute(), CommandObjectRegisterWrite::DoExecute(), CommandObjectRegisterInfo::DoExecute(), CommandObjectSessionHistory::DoExecute(), CommandObjectSettingsClear::DoExecute(), CommandObjectSourceInfo::DoExecute(), CommandObjectSourceList::DoExecute(), CommandObjectSourceCacheDump::DoExecute(), CommandObjectSourceCacheClear::DoExecute(), CommandObjectStatsEnable::DoExecute(), CommandObjectStatsDisable::DoExecute(), CommandObjectStatsDump::DoExecute(), CommandObjectTargetCreate::DoExecute(), CommandObjectTargetModulesSearchPathsAdd::DoExecute(), CommandObjectTargetModulesSearchPathsClear::DoExecute(), CommandObjectTargetModulesSearchPathsInsert::DoExecute(), CommandObjectTargetModulesSearchPathsList::DoExecute(), CommandObjectTargetModulesSearchPathsQuery::DoExecute(), CommandObjectTargetModulesDumpObjfile::DoExecute(), CommandObjectTargetModulesDumpSymtab::DoExecute(), CommandObjectTargetModulesDumpSections::DoExecute(), CommandObjectTargetModulesDumpClangPCMInfo::DoExecute(), CommandObjectTargetModulesDumpClangAST::DoExecute(), CommandObjectTargetModulesDumpSymfile::DoExecute(), CommandObjectTargetModulesDumpLineTable::DoExecute(), CommandObjectTargetModulesDumpSeparateDebugInfoFiles::DoExecute(), CommandObjectTargetModulesList::DoExecute(), CommandObjectTargetModulesLookup::DoExecute(), CommandObjectTargetStopHookDelete::DoExecute(), CommandObjectTargetStopHookEnableDisable::DoExecute(), CommandObjectTargetStopHookList::DoExecute(), CommandObjectTargetDumpTypesystem::DoExecute(), CommandObjectTargetDumpSectionLoadList::DoExecute(), CommandObjectThreadStepWithTypeAndScope::DoExecute(), CommandObjectThreadContinue::DoExecute(), CommandObjectThreadUntil::DoExecute(), CommandObjectThreadSelect::DoExecute(), CommandObjectThreadList::DoExecute(), CommandObjectThreadPlanList::DoExecute(), lldb_private::CommandObjectIterateOverThreads::DoExecute(), CommandObjectTraceSave::DoExecute(), CommandObjectTraceLoad::DoExecute(), CommandObjectTraceDump::DoExecute(), CommandObjectTraceSchema::DoExecute(), CommandObjectTypeFormatterDelete::DoExecute(), CommandObjectTypeFormatterClear::DoExecute(), CommandObjectTypeFormatterList< FormatterType >::DoExecute(), CommandObjectWatchpointList::DoExecute(), CommandObjectWatchpointEnable::DoExecute(), CommandObjectWatchpointDisable::DoExecute(), CommandObjectWatchpointDelete::DoExecute(), CommandObjectWatchpointIgnore::DoExecute(), CommandObjectWatchpointModify::DoExecute(), CommandObjectWatchpointCommandDelete::DoExecute(), CommandObjectWatchpointCommandList::DoExecute(), CommandObjectMultiwordItaniumABI_Demangle::DoExecute(), CommandObjectObjC_ClassTable_Dump::DoExecute(), CommandObjectMultiwordObjC_TaggedPointer_Info::DoExecute(), CommandObjectProcessGDBRemoteSpeedTest::DoExecute(), CommandObjectProcessGDBRemotePacketHistory::DoExecute(), CommandObjectProcessGDBRemotePacketXferSize::DoExecute(), CommandObjectProcessGDBRemotePacketSend::DoExecute(), CommandObjectProcessKDPPacketSend::DoExecute(), CommandObjectProcessMinidumpDump::DoExecute(), sddarwinlog_private::EnableCommand::DoExecute(), sddarwinlog_private::StatusCommand::DoExecute(), lldb_private::trace_intel_pt::CommandObjectProcessTraceStartIntelPT::DoExecute(), CommandObjectProcessLaunch::DoExecute(), CommandObjectProcessHandle::DoExecute(), lldb_private::CommandObjectDWIMPrint::DoExecute(), lldb_private::CommandObjectRegexCommand::DoExecute(), CommandObjectScriptingRun::DoExecute(), CommandObjectSettingsRemove::DoExecute(), CommandObjectSettingsReplace::DoExecute(), CommandObjectSettingsInsertBefore::DoExecute(), CommandObjectSettingsInsertAfter::DoExecute(), CommandObjectSettingsAppend::DoExecute(), CommandObjectThreadReturn::DoExecute(), CommandObjectProcessGDBRemotePacketMonitor::DoExecute(), CommandObjectPythonFunction::DoExecute(), CommandObjectScriptingObjectRaw::DoExecute(), CommandObjectPlatformShell::DoExecute(), CommandObjectTraceStop::DoExecuteOnThreads(), lldb_private::trace_intel_pt::CommandObjectThreadTraceStartIntelPT::DoExecuteOnThreads(), CommandObjectFrameRecognizerEnable::DoExecuteWithId(), CommandObjectFrameRecognizerDisable::DoExecuteWithId(), CommandObjectFrameRecognizerDelete::DoExecuteWithId(), CommandObjectTypeSummaryAdd::Execute_StringSummary(), lldb_private::CommandObject::GenerateHelpText(), lldb_private::CommandInterpreter::HandleCommand(), lldb_private::CommandInterpreter::HandleCommands(), lldb_private::CommandInterpreter::HandleCommandsFromFile(), CommandObjectTargetModulesLookup::LookupHere(), CommandObjectTargetModulesLookup::LookupInModule(), lldb_private::CommandObject::ParseOptions(), lldb_private::CommandInterpreter::ResolveCommand(), lldb_private::CommandInterpreter::SaveTranscript(), SetError(), lldb::SBCommandReturnObject::SetStatus(), lldb_private::CommandInterpreter::SourceInitFile(), lldb_private::CommandInterpreter::SourceInitFileCwd(), lldb_private::CommandInterpreter::SourceInitFileGlobal(), lldb_private::CommandInterpreter::SourceInitFileHome(), CommandObjectProcessLaunchOrAttach::StopProcessIfNecessary(), lldb_private::CommandObjectMultiwordBreakpoint::VerifyIDs(), lldb_private::Options::VerifyOptions(), and CommandObjectTypeCategoryDisable::~CommandObjectTypeCategoryDisable().
void CommandReturnObject::SetSuppressImmediateOutput | ( | bool | b | ) |
Definition at line 278 of file CommandReturnObject.cpp.
References m_suppress_immediate_output.
Referenced by lldb_private::CommandInterpreter::HandleCommands().
bool CommandReturnObject::Succeeded | ( | ) | const |
Definition at line 238 of file CommandReturnObject.cpp.
References lldb::eReturnStatusSuccessContinuingResult, and m_status.
Referenced by CommandObjectScriptingObjectParsed::Create(), lldb_private::Debugger::Destroy(), CommandObjectLogTimerEnable::DoExecute(), CommandObjectLogTimerDisable::DoExecute(), CommandObjectLogTimerDump::DoExecute(), CommandObjectLogTimerReset::DoExecute(), CommandObjectLogTimerIncrement::DoExecute(), CommandObjectBreakpointModify::DoExecute(), CommandObjectBreakpointEnable::DoExecute(), CommandObjectBreakpointList::DoExecute(), CommandObjectBreakpointDelete::DoExecute(), CommandObjectBreakpointNameAdd::DoExecute(), CommandObjectBreakpointNameDelete::DoExecute(), CommandObjectBreakpointWrite::DoExecute(), CommandObjectBreakpointCommandDelete::DoExecute(), CommandObjectBreakpointCommandList::DoExecute(), CommandObjectCommandsScriptAdd::DoExecute(), CommandObjectFrameVariable::DoExecute(), CommandObjectProcessAttach::DoExecute(), CommandObjectProcessContinue::DoExecute(), CommandObjectTraceStop::DoExecuteOnThreads(), lldb_private::trace_intel_pt::CommandObjectThreadTraceStartIntelPT::DoExecuteOnThreads(), CommandObjectTypeSummaryAdd::Execute_StringSummary(), lldb_private::CommandInterpreter::HandleCommand(), lldb_private::CommandInterpreter::HandleCommands(), ProcessAliasOptionsArgs(), sddarwinlog_private::RunEnableCommand(), CommandObjectProcessLaunchOrAttach::StopProcessIfNecessary(), and lldb::SBCommandReturnObject::Succeeded().
|
private |
Definition at line 197 of file CommandReturnObject.h.
Referenced by GetErrorString(), and GetInlineDiagnosticString().
|
private |
Definition at line 188 of file CommandReturnObject.h.
Referenced by GetDiagnosticIndent(), and SetDiagnosticIndent().
|
private |
Definition at line 187 of file CommandReturnObject.h.
Referenced by Clear(), GetErrorData(), GetErrorString(), GetInlineDiagnosticString(), and SetError().
|
private |
Definition at line 192 of file CommandReturnObject.h.
Referenced by Clear(), GetDidChangeProcessState(), and SetDidChangeProcessState().
|
private |
Definition at line 186 of file CommandReturnObject.h.
Referenced by Clear(), GetErrorData(), GetErrorStream(), GetErrorString(), GetImmediateErrorStream(), GetInlineDiagnosticString(), SetImmediateErrorFile(), and SetImmediateErrorStream().
|
private |
If true, then the input handle from the debugger will be hooked up.
Definition at line 196 of file CommandReturnObject.h.
Referenced by Clear(), GetInteractive(), and SetInteractive().
|
private |
Definition at line 185 of file CommandReturnObject.h.
Referenced by Clear(), GetImmediateOutputStream(), GetOutputStream(), GetOutputString(), SetImmediateOutputFile(), and SetImmediateOutputStream().
|
private |
Definition at line 190 of file CommandReturnObject.h.
Referenced by Clear(), GetStatus(), HasResult(), SetStatus(), and Succeeded().
|
private |
Definition at line 193 of file CommandReturnObject.h.
Referenced by Clear(), GetSuppressImmediateOutput(), SetImmediateErrorFile(), SetImmediateErrorStream(), SetImmediateOutputFile(), SetImmediateOutputStream(), and SetSuppressImmediateOutput().