LLDB mainline
|
#include <CommandReturnObject.h>
Public Member Functions | |
CommandReturnObject (bool colors) | |
~CommandReturnObject ()=default | |
llvm::StringRef | GetOutputData () |
llvm::StringRef | 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 | 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 | AppendWarningWithFormatv (const char *format, Args &&... args) |
template<typename... Args> | |
void | AppendErrorWithFormatv (const char *format, Args &&... args) |
void | SetError (const Status &error, const char *fallback_error_cstr=nullptr) |
void | SetError (llvm::Error error) |
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 |
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. | |
Definition at line 26 of file CommandReturnObject.h.
|
private |
Enumerator | |
---|---|
eStreamStringIndex | |
eImmediateStreamIndex |
Definition at line 159 of file CommandReturnObject.h.
CommandReturnObject::CommandReturnObject | ( | bool | colors | ) |
Definition at line 43 of file CommandReturnObject.cpp.
|
default |
void CommandReturnObject::AppendError | ( | llvm::StringRef | in_string | ) |
Definition at line 100 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::ParseOptions(), 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 46 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(), 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(), CommandObjectFrameRecognizerDelete::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(), lldb_private::ctf::CommandObjectThreadTraceExportCTF::DoExecute(), CommandObjectProcessHandle::DoExecute(), CommandObjectThreadReturn::DoExecute(), CommandObjectProcessGDBRemotePacketMonitor::DoExecute(), 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 130 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(), CommandObjectBreakpointNameConfigure::DoExecute(), CommandObjectCommandsScriptAdd::DoExecute(), CommandObjectMemoryTagRead::DoExecute(), CommandObjectMemoryTagWrite::DoExecute(), CommandObjectProcessContinue::DoExecute(), CommandObjectRegisterRead::DoExecute(), CommandObjectTargetCreate::DoExecute(), CommandObjectMultiwordObjC_TaggedPointer_Info::DoExecute(), lldb_private::ctf::CommandObjectThreadTraceExportCTF::DoExecute(), lldb_private::CommandObjectDWIMPrint::DoExecute(), lldb_private::CommandObjectParsed::Execute(), lldb_private::ScriptInterpreterLua::ExecuteOneLine(), lldb_private::CommandInterpreter::HandleCommandsFromFile(), and lldb_private::CommandInterpreter::SaveTranscript().
void CommandReturnObject::AppendMessage | ( | llvm::StringRef | in_string | ) |
Definition at line 88 of file CommandReturnObject.cpp.
References GetOutputStream().
Referenced by lldb::SBCommandReturnObject::AppendMessage(), AppendMessageWithFormatv(), CommandObjectBreakpointList::DoExecute(), CommandObjectBreakpointDelete::DoExecute(), CommandObjectBreakpointNameList::DoExecute(), CommandObjectBreakpointRead::DoExecute(), CommandObjectFrameRecognizerDelete::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 64 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 120 of file CommandReturnObject.h.
References AppendMessage().
Referenced by CommandObjectPlatformProcessList::DoExecute(), lldb_private::CommandObjectApropos::DoExecute(), CommandObjectMemoryTagRead::DoExecute(), CommandObjectStatsDump::DoExecute(), CommandObjectTargetCreate::DoExecute(), CommandObjectTraceSave::DoExecute(), CommandObjectTraceLoad::DoExecute(), lldb_private::CommandObjectDWIMPrint::DoExecute(), and CommandObjectMemoryRegion::DumpRegion().
void CommandReturnObject::AppendRawError | ( | llvm::StringRef | in_string | ) |
Definition at line 124 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 94 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 76 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 125 of file CommandReturnObject.h.
References AppendWarning().
void CommandReturnObject::Clear | ( | ) |
Definition at line 143 of file CommandReturnObject.cpp.
References Clear(), lldb::eReturnStatusStarted, eStreamStringIndex, lldb_private::StreamTee::GetStreamAtIndex(), 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().
bool CommandReturnObject::GetDidChangeProcessState | ( | ) | const |
Definition at line 157 of file CommandReturnObject.cpp.
References m_did_change_process_state.
Referenced by lldb_private::CommandInterpreter::HandleCommands().
|
inline |
Definition at line 39 of file CommandReturnObject.h.
References eStreamStringIndex, lldb_private::StreamTee::GetStreamAtIndex(), and m_err_stream.
Referenced by lldb_private::Debugger::Destroy(), lldb::SBCommandReturnObject::GetErrorSize(), lldb_private::CommandInterpreter::HandleCommand(), and lldb_private::CommandInterpreter::HandleCommands().
|
inline |
Definition at line 56 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(), CommandObjectTargetModulesLookup::LookupInModule(), and lldb_private::CommandObject::ParseOptions().
|
inline |
Definition at line 96 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 92 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().
bool CommandReturnObject::GetInteractive | ( | ) | const |
Definition at line 165 of file CommandReturnObject.cpp.
References m_interactive.
Referenced by lldb_private::CommandInterpreter::HandleCommands().
|
inline |
Definition at line 32 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().
|
inline |
Definition at line 46 of file CommandReturnObject.h.
References eStreamStringIndex, lldb_private::StreamTee::GetStreamAtIndex(), m_out_stream, and lldb_private::StreamTee::SetStreamAtIndex().
Referenced by AppendMessage(), AppendMessageWithFormat(), 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().
ReturnStatus CommandReturnObject::GetStatus | ( | ) | const |
Definition at line 132 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 169 of file CommandReturnObject.cpp.
References m_suppress_immediate_output.
bool CommandReturnObject::HasResult | ( | ) | const |
Definition at line 138 of file CommandReturnObject.cpp.
References lldb::eReturnStatusSuccessContinuingResult, lldb::eReturnStatusSuccessFinishResult, and m_status.
Referenced by lldb::SBCommandReturnObject::HasResult().
void CommandReturnObject::SetDidChangeProcessState | ( | bool | b | ) |
Definition at line 161 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 | ( | const Status & | error, |
const char * | fallback_error_cstr = nullptr |
||
) |
Definition at line 110 of file CommandReturnObject.cpp.
References AppendError(), and error().
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::SBCommandReturnObject::SetError(), and lldb_private::CommandObjectMultiwordBreakpoint::VerifyIDs().
void CommandReturnObject::SetError | ( | llvm::Error | error | ) |
Definition at line 116 of file CommandReturnObject.cpp.
References AppendError(), and error().
|
inline |
Definition at line 73 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 86 of file CommandReturnObject.h.
References eImmediateStreamIndex, m_err_stream, m_suppress_immediate_output, and lldb_private::StreamTee::SetStreamAtIndex().
Referenced by lldb_private::BreakpointOptions::BreakpointOptionsCallbackFunction(), and lldb_private::REPL::IOHandlerInputComplete().
|
inline |
Definition at line 66 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 80 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(), and lldb_private::REPL::IOHandlerInputComplete().
void CommandReturnObject::SetInteractive | ( | bool | b | ) |
Definition at line 167 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 130 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(), CommandObjectFrameRecognizerDelete::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(), 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(), 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 173 of file CommandReturnObject.cpp.
References m_suppress_immediate_output.
Referenced by lldb_private::CommandInterpreter::HandleCommands().
bool CommandReturnObject::Succeeded | ( | ) | const |
Definition at line 134 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 166 of file CommandReturnObject.h.
Referenced by Clear(), GetDidChangeProcessState(), and SetDidChangeProcessState().
|
private |
Definition at line 162 of file CommandReturnObject.h.
Referenced by Clear(), GetErrorData(), GetErrorStream(), GetImmediateErrorStream(), SetImmediateErrorFile(), and SetImmediateErrorStream().
|
private |
If true, then the input handle from the debugger will be hooked up.
Definition at line 170 of file CommandReturnObject.h.
Referenced by Clear(), GetInteractive(), and SetInteractive().
|
private |
Definition at line 161 of file CommandReturnObject.h.
Referenced by Clear(), GetImmediateOutputStream(), GetOutputData(), GetOutputStream(), SetImmediateOutputFile(), and SetImmediateOutputStream().
|
private |
Definition at line 164 of file CommandReturnObject.h.
Referenced by Clear(), GetStatus(), HasResult(), SetStatus(), and Succeeded().
|
private |
Definition at line 167 of file CommandReturnObject.h.
Referenced by Clear(), GetSuppressImmediateOutput(), SetImmediateErrorFile(), SetImmediateErrorStream(), SetImmediateOutputFile(), SetImmediateOutputStream(), and SetSuppressImmediateOutput().