LLDB mainline
|
#include <CommandObject.h>
Classes | |
struct | ArgumentHelpCallback |
struct | ArgumentTableEntry |
Entries in the main argument information table. More... | |
struct | CommandArgumentData |
Used to build individual command argument lists. More... | |
Public Types | |
typedef llvm::StringRef() | ArgumentHelpCallbackFunction() |
typedef std::vector< CommandArgumentData > | CommandArgumentEntry |
typedef std::map< std::string, lldb::CommandObjectSP > | CommandMap |
Public Member Functions | |
CommandObject (CommandInterpreter &interpreter, llvm::StringRef name, llvm::StringRef help="", llvm::StringRef syntax="", uint32_t flags=0) | |
virtual | ~CommandObject ()=default |
CommandInterpreter & | GetCommandInterpreter () |
Debugger & | GetDebugger () |
virtual llvm::StringRef | GetHelp () |
virtual llvm::StringRef | GetHelpLong () |
virtual llvm::StringRef | GetSyntax () |
llvm::StringRef | GetCommandName () const |
virtual void | SetHelp (llvm::StringRef str) |
virtual void | SetHelpLong (llvm::StringRef str) |
void | SetSyntax (llvm::StringRef str) |
virtual bool | IsRemovable () const |
virtual bool | IsMultiwordObject () |
bool | IsUserCommand () |
void | SetIsUserCommand (bool is_user) |
virtual CommandObjectMultiword * | GetAsMultiwordCommand () |
virtual bool | IsAlias () |
virtual bool | IsDashDashCommand () |
virtual lldb::CommandObjectSP | GetSubcommandSP (llvm::StringRef sub_cmd, StringList *matches=nullptr) |
virtual lldb::CommandObjectSP | GetSubcommandSPExact (llvm::StringRef sub_cmd) |
virtual CommandObject * | GetSubcommandObject (llvm::StringRef sub_cmd, StringList *matches=nullptr) |
void | FormatLongHelpText (Stream &output_strm, llvm::StringRef long_help) |
void | GenerateHelpText (CommandReturnObject &result) |
virtual void | GenerateHelpText (Stream &result) |
virtual bool | LoadSubCommand (llvm::StringRef cmd_name, const lldb::CommandObjectSP &command_obj) |
virtual llvm::Error | LoadUserSubcommand (llvm::StringRef cmd_name, const lldb::CommandObjectSP &command_obj, bool can_replace) |
virtual bool | WantsRawCommandString ()=0 |
virtual bool | WantsCompletion () |
virtual Options * | GetOptions () |
int | GetNumArgumentEntries () |
CommandArgumentEntry * | GetArgumentEntryAtIndex (int idx) |
void | GetFormattedCommandArguments (Stream &str, uint32_t opt_set_mask=LLDB_OPT_SET_ALL) |
bool | IsPairType (ArgumentRepetitionType arg_repeat_type) |
bool | ParseOptions (Args &args, CommandReturnObject &result) |
void | SetCommandName (llvm::StringRef name) |
virtual void | HandleCompletion (CompletionRequest &request) |
This default version handles calling option argument completions and then calls HandleArgumentCompletion if the cursor is on an argument, not an option. | |
virtual void | HandleArgumentCompletion (CompletionRequest &request, OptionElementVector &opt_element_vector) |
The input array contains a parsed version of the line. | |
bool | HelpTextContainsWord (llvm::StringRef search_word, bool search_short_help=true, bool search_long_help=true, bool search_syntax=true, bool search_options=true) |
Flags & | GetFlags () |
The flags accessor. | |
const Flags & | GetFlags () const |
The flags const accessor. | |
virtual std::optional< std::string > | GetRepeatCommand (Args ¤t_command_args, uint32_t index) |
Get the command that appropriate for a "repeat" of the current command. | |
bool | HasOverrideCallback () const |
void | SetOverrideCallback (lldb::CommandOverrideCallback callback, void *baton) |
void | SetOverrideCallback (lldb_private::CommandOverrideCallbackWithResult callback, void *baton) |
bool | InvokeOverrideCallback (const char **argv, CommandReturnObject &result) |
virtual bool | Execute (const char *args_string, CommandReturnObject &result)=0 |
Static Public Member Functions | |
static const char * | GetArgumentTypeAsCString (const lldb::CommandArgumentType arg_type) |
static const char * | GetArgumentDescriptionAsCString (const lldb::CommandArgumentType arg_type) |
static lldb::CommandArgumentType | LookupArgumentName (llvm::StringRef arg_name) |
static const ArgumentTableEntry * | FindArgumentDataByType (lldb::CommandArgumentType arg_type) |
static void | GetArgumentHelp (Stream &str, lldb::CommandArgumentType arg_type, CommandInterpreter &interpreter) |
static const char * | GetArgumentName (lldb::CommandArgumentType arg_type) |
Protected Member Functions | |
bool | ParseOptionsAndNotify (Args &args, CommandReturnObject &result, OptionGroupOptions &group_options, ExecutionContext &exe_ctx) |
virtual const char * | GetInvalidTargetDescription () |
virtual const char * | GetInvalidProcessDescription () |
virtual const char * | GetInvalidThreadDescription () |
virtual const char * | GetInvalidFrameDescription () |
virtual const char * | GetInvalidRegContextDescription () |
Target & | GetSelectedOrDummyTarget (bool prefer_dummy=false) |
Target & | GetSelectedTarget () |
Target & | GetDummyTarget () |
Thread * | GetDefaultThread () |
bool | CheckRequirements (CommandReturnObject &result) |
Check the command to make sure anything required by this command is available. | |
void | Cleanup () |
Static Protected Member Functions | |
static void | AddIDsArgumentData (CommandArgumentEntry &arg, lldb::CommandArgumentType ID, lldb::CommandArgumentType IDRange) |
Protected Attributes | |
CommandInterpreter & | m_interpreter |
ExecutionContext | m_exe_ctx |
std::unique_lock< std::recursive_mutex > | m_api_locker |
std::string | m_cmd_name |
std::string | m_cmd_help_short |
std::string | m_cmd_help_long |
std::string | m_cmd_syntax |
Flags | m_flags |
std::vector< CommandArgumentEntry > | m_arguments |
lldb::CommandOverrideCallback | m_deprecated_command_override_callback |
lldb_private::CommandOverrideCallbackWithResult | m_command_override_callback |
void * | m_command_override_baton |
bool | m_is_user_command = false |
Definition at line 69 of file CommandObject.h.
typedef llvm::StringRef() lldb_private::CommandObject::ArgumentHelpCallbackFunction() |
Definition at line 71 of file CommandObject.h.
typedef std::vector<CommandArgumentData> lldb_private::CommandObject::CommandArgumentEntry |
Definition at line 108 of file CommandObject.h.
typedef std::map<std::string, lldb::CommandObjectSP> lldb_private::CommandObject::CommandMap |
Definition at line 110 of file CommandObject.h.
CommandObject::CommandObject | ( | CommandInterpreter & | interpreter, |
llvm::StringRef | name, | ||
llvm::StringRef | help = "" , |
||
llvm::StringRef | syntax = "" , |
||
uint32_t | flags = 0 |
||
) |
Definition at line 43 of file CommandObject.cpp.
References m_cmd_help_short, and m_cmd_syntax.
|
virtualdefault |
|
staticprotected |
Definition at line 643 of file CommandObject.cpp.
References lldb_private::CommandObject::CommandArgumentData::arg_repetition, lldb_private::CommandObject::CommandArgumentData::arg_type, lldb_private::eArgRepeatOptional, and ID.
Referenced by CommandObjectBreakpointDelete::CommandObjectBreakpointDelete(), CommandObjectBreakpointEnable::CommandObjectBreakpointEnable(), CommandObjectBreakpointModify::CommandObjectBreakpointModify(), CommandObjectBreakpointWrite::CommandObjectBreakpointWrite(), CommandObjectWatchpointDelete::CommandObjectWatchpointDelete(), CommandObjectWatchpointDisable::CommandObjectWatchpointDisable(), CommandObjectWatchpointEnable::CommandObjectWatchpointEnable(), CommandObjectWatchpointIgnore::CommandObjectWatchpointIgnore(), CommandObjectWatchpointList::CommandObjectWatchpointList(), and CommandObjectWatchpointModify::CommandObjectWatchpointModify().
|
protected |
Check the command to make sure anything required by this command is available.
[out] | result | A command result object, if it is not okay to run the command this will be filled in with a suitable error. |
Definition at line 147 of file CommandObject.cpp.
References lldb_private::CommandReturnObject::AppendError(), lldb::eStateAttaching, lldb::eStateConnected, lldb::eStateCrashed, lldb::eStateDetached, lldb::eStateExited, lldb::eStateInvalid, lldb::eStateLaunching, lldb::eStateRunning, lldb::eStateStepping, lldb::eStateStopped, lldb::eStateSuspended, lldb::eStateUnloaded, lldb_private::Flags::Get(), lldb_private::Target::GetAPIMutex(), lldb_private::CommandInterpreter::GetExecutionContext(), GetFlags(), lldb_private::ExecutionContext::GetFramePtr(), GetInvalidFrameDescription(), GetInvalidProcessDescription(), GetInvalidRegContextDescription(), GetInvalidTargetDescription(), GetInvalidThreadDescription(), lldb_private::ExecutionContext::GetProcessPtr(), lldb_private::ExecutionContext::GetRegisterContext(), lldb_private::Process::GetState(), lldb_private::ExecutionContext::GetTargetPtr(), lldb_private::ExecutionContext::GetThreadPtr(), lldb_private::Target::GetTrace(), lldb_private::ExecutionContext::HasFrameScope(), lldb_private::ExecutionContext::HasProcessScope(), lldb_private::ExecutionContext::HasTargetScope(), lldb_private::ExecutionContext::HasThreadScope(), m_api_locker, m_exe_ctx, and m_interpreter.
Referenced by lldb_private::CommandObjectParsed::Execute(), and lldb_private::CommandObjectRaw::Execute().
|
protected |
Definition at line 269 of file CommandObject.cpp.
References lldb_private::ExecutionContext::Clear(), m_api_locker, and m_exe_ctx.
Referenced by lldb_private::CommandObjectParsed::Execute(), lldb_private::CommandObjectRaw::Execute(), and HandleCompletion().
|
pure virtual |
Implemented in lldb_private::CommandAlias, lldb_private::CommandObjectParsed, lldb_private::CommandObjectRaw, lldb_private::CommandObjectMultiword, and lldb_private::CommandObjectProxy.
Referenced by lldb_private::CommandObjectMultiword::Execute(), lldb_private::CommandObjectProxy::Execute(), and lldb_private::CommandInterpreter::HandleCommand().
|
static |
Definition at line 369 of file CommandObject.cpp.
References lldb::eArgTypeLastArg, and lldb_private::g_argument_table.
Referenced by GetArgumentHelp(), GetArgumentName(), and lldb_private::Options::HandleOptionArgumentCompletion().
void CommandObject::FormatLongHelpText | ( | Stream & | output_strm, |
llvm::StringRef | long_help | ||
) |
Definition at line 571 of file CommandObject.cpp.
References GetCommandInterpreter(), and lldb_private::CommandInterpreter::OutputFormattedHelpText().
Referenced by GenerateHelpText().
void CommandObject::GenerateHelpText | ( | CommandReturnObject & | result | ) |
Definition at line 592 of file CommandObject.cpp.
References lldb::eReturnStatusSuccessFinishNoResult, GenerateHelpText(), lldb_private::CommandReturnObject::GetOutputStream(), and lldb_private::CommandReturnObject::SetStatus().
Referenced by lldb_private::CommandObjectHelp::DoExecute(), lldb_private::CommandObjectMultiword::Execute(), GenerateHelpText(), lldb_private::CommandObjectMultiword::GenerateHelpText(), and lldb_private::CommandObjectProxy::GenerateHelpText().
|
virtual |
Reimplemented in lldb_private::CommandObjectMultiword, and lldb_private::CommandObjectProxy.
Definition at line 598 of file CommandObject.cpp.
References FormatLongHelpText(), lldb_private::Options::GenerateOptionUsage(), GetCommandInterpreter(), GetDebugger(), GetHelp(), GetHelpLong(), GetNumArgumentEntries(), GetOptions(), GetSyntax(), IsDashDashCommand(), lldb_private::Options::NumCommandOptions(), lldb_private::CommandInterpreter::OutputFormattedHelpText(), WantsCompletion(), and WantsRawCommandString().
|
static |
Definition at line 673 of file CommandObject.cpp.
References lldb::eArgTypeLastArg, lldb_private::g_argument_table, and lldb_private::CommandObject::ArgumentTableEntry::help_text.
Referenced by lldb::SBCommandInterpreter::GetArgumentDescriptionAsCString().
CommandObject::CommandArgumentEntry * CommandObject::GetArgumentEntryAtIndex | ( | int | idx | ) |
Definition at line 361 of file CommandObject.cpp.
References m_arguments.
|
static |
Definition at line 377 of file CommandObject.cpp.
References lldb_private::CommandObject::ArgumentTableEntry::arg_name, lldb_private::CommandObject::ArgumentTableEntry::arg_type, lldb_private::CommandObject::ArgumentTableEntry::enum_values, lldb_private::Stream::EOL(), FindArgumentDataByType(), lldb_private::g_argument_table, lldb_private::StreamString::GetSize(), lldb_private::StreamString::GetString(), lldb_private::CommandObject::ArgumentTableEntry::help_function, lldb_private::CommandObject::ArgumentTableEntry::help_text, lldb_private::Stream::Indent(), lldb_private::Stream::IndentLess(), lldb_private::Stream::IndentMore(), lldb_private::CommandInterpreter::OutputFormattedHelpText(), lldb_private::CommandInterpreter::OutputHelpText(), lldb_private::Stream::Printf(), and lldb_private::CommandObject::ArgumentHelpCallback::self_formatting.
Referenced by lldb_private::CommandObjectHelp::DoExecute().
|
static |
Definition at line 426 of file CommandObject.cpp.
References lldb_private::CommandObject::ArgumentTableEntry::arg_name, lldb_private::CommandObject::ArgumentTableEntry::arg_type, FindArgumentDataByType(), and lldb_private::g_argument_table.
Referenced by GetFormattedCommandArguments(), and PrintOption().
|
static |
Definition at line 666 of file CommandObject.cpp.
References lldb_private::CommandObject::ArgumentTableEntry::arg_name, lldb::eArgTypeLastArg, and lldb_private::g_argument_table.
Referenced by lldb::SBCommandInterpreter::GetArgumentTypeAsCString().
|
inlinevirtual |
Reimplemented in lldb_private::CommandObjectMultiword, and lldb_private::CommandObjectProxy.
Definition at line 152 of file CommandObject.h.
Referenced by lldb_private::CommandInterpreter::FindCommandsForApropos(), and lldb_private::CommandObjectProxy::GetAsMultiwordCommand().
|
inline |
Definition at line 124 of file CommandObject.h.
References m_interpreter.
Referenced by CommandObjectCommandsScriptAdd::DoExecute(), CommandObjectCommandsScriptDelete::DoExecute(), CommandObjectCommandsContainerAdd::DoExecute(), CommandObjectCommandsContainerDelete::DoExecute(), lldb_private::CommandObjectDisassemble::DoExecute(), CommandObjectFrameSelect::DoExecute(), CommandObjectRegisterInfo::DoExecute(), sddarwinlog_private::EnableCommand::DoExecute(), sddarwinlog_private::StatusCommand::DoExecute(), CommandObjectPlatformShell::DoExecute(), FormatLongHelpText(), GenerateHelpText(), CommandObjectBreakpointModify::HandleArgumentCompletion(), CommandObjectBreakpointEnable::HandleArgumentCompletion(), CommandObjectBreakpointDelete::HandleArgumentCompletion(), CommandObjectBreakpointNameAdd::HandleArgumentCompletion(), CommandObjectBreakpointNameDelete::HandleArgumentCompletion(), CommandObjectBreakpointWrite::HandleArgumentCompletion(), CommandObjectCommandsSource::HandleArgumentCompletion(), CommandObjectPythonFunction::HandleArgumentCompletion(), CommandObjectScriptingObject::HandleArgumentCompletion(), CommandObjectCommandsScriptImport::HandleArgumentCompletion(), lldb_private::CommandObjectDWIMPrint::HandleArgumentCompletion(), CommandObjectFrameSelect::HandleArgumentCompletion(), CommandObjectFrameVariable::HandleArgumentCompletion(), CommandObjectPlatformFOpen::HandleArgumentCompletion(), CommandObjectPlatformGetFile::HandleArgumentCompletion(), CommandObjectPlatformProcessInfo::HandleArgumentCompletion(), CommandObjectPlatformInstall::HandleArgumentCompletion(), CommandObjectPluginLoad::HandleArgumentCompletion(), CommandObjectProcessLaunch::HandleArgumentCompletion(), CommandObjectProcessLoad::HandleArgumentCompletion(), CommandObjectProcessSaveCore::HandleArgumentCompletion(), CommandObjectRegisterRead::HandleArgumentCompletion(), CommandObjectRegisterWrite::HandleArgumentCompletion(), CommandObjectRegisterInfo::HandleArgumentCompletion(), CommandObjectSessionSave::HandleArgumentCompletion(), CommandObjectSettingsShow::HandleArgumentCompletion(), CommandObjectSettingsList::HandleArgumentCompletion(), CommandObjectSettingsRemove::HandleArgumentCompletion(), CommandObjectSettingsReplace::HandleArgumentCompletion(), CommandObjectSettingsInsertBefore::HandleArgumentCompletion(), CommandObjectSettingsInsertAfter::HandleArgumentCompletion(), CommandObjectSettingsAppend::HandleArgumentCompletion(), CommandObjectSettingsClear::HandleArgumentCompletion(), CommandObjectTargetCreate::HandleArgumentCompletion(), CommandObjectTargetModulesModuleAutoComplete::HandleArgumentCompletion(), CommandObjectTargetModulesSourceFileAutoComplete::HandleArgumentCompletion(), CommandObjectTargetModulesAdd::HandleArgumentCompletion(), CommandObjectTargetSymbolsAdd::HandleArgumentCompletion(), CommandObjectTargetStopHookDelete::HandleArgumentCompletion(), CommandObjectTargetStopHookEnableDisable::HandleArgumentCompletion(), CommandObjectThreadStepWithTypeAndScope::HandleArgumentCompletion(), CommandObjectThreadContinue::HandleArgumentCompletion(), CommandObjectThreadSelect::HandleArgumentCompletion(), CommandObjectThreadInfo::HandleArgumentCompletion(), CommandObjectThreadException::HandleArgumentCompletion(), CommandObjectThreadSiginfo::HandleArgumentCompletion(), CommandObjectTraceSave::HandleArgumentCompletion(), CommandObjectTraceLoad::HandleArgumentCompletion(), CommandObjectTypeCategoryList::HandleArgumentCompletion(), HandleCompletion(), CommandObjectPlatformSelect::HandleCompletion(), lldb_private::CommandObjectRegexCommand::HandleCompletion(), HelpTextContainsWord(), lldb_private::LanguageRuntime::InitializeCommands(), lldb_private::CommandObjectMultiword::LoadSubCommand(), lldb_private::CommandObjectMultiword::LoadUserSubcommand(), CommandObjectTargetModulesLookup::LookupInModule(), CommandObjectTypeCategoryEnable::CommandOptions::OptionParsingStarting(), and ParseOptions().
llvm::StringRef CommandObject::GetCommandName | ( | ) | const |
Definition at line 82 of file CommandObject.cpp.
References m_cmd_name.
Referenced by lldb_private::CommandInterpreter::BuildAliasCommandArgs(), lldb_private::CommandInterpreter::BuildAliasResult(), CommandObjectCommandsDelete::DoExecute(), CommandObjectCommandsSource::DoExecute(), lldb_private::CommandObjectHelp::DoExecute(), lldb_private::CommandObjectParsed::Execute(), lldb_private::CommandObjectRaw::Execute(), lldb_private::CommandObjectMultiword::Execute(), lldb_private::Options::GenerateOptionUsage(), GetSyntax(), lldb_private::CommandInterpreter::GetUserCommandObject(), lldb_private::CommandInterpreter::HandleCommand(), and lldb_private::CommandInterpreter::ResolveCommandImpl().
Debugger & CommandObject::GetDebugger | ( | ) |
Definition at line 53 of file CommandObject.cpp.
References lldb_private::CommandInterpreter::GetDebugger(), and m_interpreter.
Referenced by lldb_private::CommandObjectDisassemble::CheckRangeSize(), CommandObjectScriptingObject::CommandObjectScriptingObject(), lldb_private::CommandObjectGUI::DoExecute(), CommandObjectLogEnable::DoExecute(), CommandObjectLogDump::DoExecute(), CommandObjectPlatformSelect::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(), CommandObjectSettingsShow::DoExecute(), CommandObjectSettingsWrite::DoExecute(), CommandObjectSettingsList::DoExecute(), CommandObjectTargetList::DoExecute(), CommandObjectTargetSelect::DoExecute(), CommandObjectTargetDelete::DoExecute(), lldb_private::CommandObjectApropos::DoExecute(), CommandObjectCommandsSource::DoExecute(), CommandObjectCommandsScriptImport::DoExecute(), CommandObjectCommandsScriptAdd::DoExecute(), lldb_private::CommandObjectDisassemble::DoExecute(), CommandObjectFrameSelect::DoExecute(), CommandObjectFrameRecognizerAdd::DoExecute(), CommandObjectPlatformProcessAttach::DoExecute(), CommandObjectPluginLoad::DoExecute(), CommandObjectProcessAttach::DoExecute(), CommandObjectProcessContinue::DoExecute(), CommandObjectProcessConnect::DoExecute(), CommandObjectRegisterInfo::DoExecute(), CommandObjectSettingsClear::DoExecute(), CommandObjectSourceInfo::DoExecute(), CommandObjectSourceList::DoExecute(), CommandObjectSourceCacheDump::DoExecute(), CommandObjectSourceCacheClear::DoExecute(), CommandObjectStatsDump::DoExecute(), CommandObjectTargetCreate::DoExecute(), CommandObjectTargetModulesDumpSymtab::DoExecute(), CommandObjectTargetModulesDumpSections::DoExecute(), CommandObjectTargetModulesDumpClangAST::DoExecute(), CommandObjectTargetModulesDumpSymfile::DoExecute(), CommandObjectTargetModulesDumpLineTable::DoExecute(), CommandObjectTargetModulesList::DoExecute(), CommandObjectThreadStepWithTypeAndScope::DoExecute(), CommandObjectTraceLoad::DoExecute(), CommandObjectProcessLaunch::DoExecute(), lldb_private::CommandObjectDWIMPrint::DoExecute(), lldb_private::CommandObjectScript::DoExecute(), CommandObjectSettingsRemove::DoExecute(), CommandObjectSettingsReplace::DoExecute(), CommandObjectSettingsInsertBefore::DoExecute(), CommandObjectSettingsInsertAfter::DoExecute(), CommandObjectSettingsAppend::DoExecute(), CommandObjectPythonFunction::DoExecute(), CommandObjectScriptingObject::DoExecute(), CommandObjectPlatformShell::DoExecute(), GenerateHelpText(), CommandObjectScriptingObject::GetHelp(), CommandObjectPythonFunction::GetHelpLong(), CommandObjectScriptingObject::GetHelpLong(), CommandObjectPlatformConnect::GetOptions(), CommandObjectThreadBacktrace::HandleOneThread(), HelpTextContainsWord(), CommandObjectCommandsScriptAdd::IOHandlerInputComplete(), CommandObjectTypeSummaryAdd::IOHandlerInputComplete(), CommandObjectTypeSynthAdd::IOHandlerInputComplete(), CommandObjectTargetModulesLookup::LookupInModule(), CommandObjectTypeFilterAdd::CommandOptions::OptionParsingStarting(), and ParseOptions().
|
protected |
Definition at line 697 of file CommandObject.cpp.
References lldb_private::CommandInterpreter::GetDebugger(), lldb_private::ExecutionContext::GetProcessPtr(), lldb_private::Target::GetProcessSP(), lldb_private::Debugger::GetSelectedTarget(), lldb_private::ThreadList::GetSelectedThread(), lldb_private::ExecutionContext::GetTargetPtr(), lldb_private::Process::GetThreadList(), lldb_private::ExecutionContext::GetThreadPtr(), m_exe_ctx, and m_interpreter.
Referenced by CommandObjectProcessContinue::DoExecute(), CommandObjectThreadStepWithTypeAndScope::DoExecute(), CommandObjectThreadContinue::DoExecute(), CommandObjectThreadUntil::DoExecute(), and lldb_private::ctf::CommandObjectThreadTraceExportCTF::DoExecute().
|
protected |
Definition at line 680 of file CommandObject.cpp.
References lldb_private::CommandInterpreter::GetDebugger(), lldb_private::Debugger::GetDummyTarget(), and m_interpreter.
Referenced by CommandObjectBreakpointSet::DoExecute(), CommandObjectProcessHandle::DoExecute(), and lldb_private::CommandObjectDWIMPrint::DoExecute().
|
inline |
The flags accessor.
Definition at line 263 of file CommandObject.h.
References m_flags.
Referenced by CheckRequirements(), and CommandObjectScriptingObject::CommandObjectScriptingObject().
|
inline |
The flags const accessor.
Definition at line 269 of file CommandObject.h.
References m_flags.
void CommandObject::GetFormattedCommandArguments | ( | Stream & | str, |
uint32_t | opt_set_mask = LLDB_OPT_SET_ALL |
||
) |
Definition at line 464 of file CommandObject.cpp.
References lldb_private::eArgRepeatOptional, lldb_private::eArgRepeatPairOptional, lldb_private::eArgRepeatPairPlain, lldb_private::eArgRepeatPairPlus, lldb_private::eArgRepeatPairRange, lldb_private::eArgRepeatPairRangeOptional, lldb_private::eArgRepeatPairStar, lldb_private::eArgRepeatPlain, lldb_private::eArgRepeatPlus, lldb_private::eArgRepeatRange, lldb_private::eArgRepeatStar, GetArgumentName(), lldb_private::StreamString::GetString(), IsPairType(), LLDB_OPT_SET_ALL, m_arguments, OptSetFiltered(), and lldb_private::Stream::Printf().
Referenced by lldb_private::Options::GenerateOptionUsage(), and GetSyntax().
|
virtual |
Reimplemented in lldb_private::CommandAlias, lldb_private::CommandObjectProxy, and CommandObjectScriptingObject.
Definition at line 55 of file CommandObject.cpp.
References m_cmd_help_short.
Referenced by lldb_private::CommandInterpreter::FindCommandsForApropos(), GenerateHelpText(), lldb_private::CommandObjectProxy::GetHelp(), lldb_private::CommandInterpreter::GetUserCommandObject(), and HelpTextContainsWord().
|
virtual |
Reimplemented in lldb_private::CommandAlias, lldb_private::CommandObjectProxy, CommandObjectPythonFunction, CommandObjectScriptingObject, and CommandObjectTypeLookup.
Definition at line 57 of file CommandObject.cpp.
References m_cmd_help_long.
Referenced by GenerateHelpText(), lldb_private::CommandObjectProxy::GetHelpLong(), and HelpTextContainsWord().
|
inlineprotectedvirtual |
Definition at line 335 of file CommandObject.h.
Referenced by CheckRequirements().
|
inlineprotectedvirtual |
Definition at line 327 of file CommandObject.h.
Referenced by CheckRequirements().
|
inlineprotectedvirtual |
Definition at line 339 of file CommandObject.h.
Referenced by CheckRequirements().
|
inlineprotectedvirtual |
Definition at line 323 of file CommandObject.h.
Referenced by CheckRequirements().
|
inlineprotectedvirtual |
Definition at line 331 of file CommandObject.h.
Referenced by CheckRequirements().
int CommandObject::GetNumArgumentEntries | ( | ) |
Definition at line 358 of file CommandObject.cpp.
References m_arguments.
Referenced by GenerateHelpText().
|
virtual |
Reimplemented in lldb_private::CommandAlias, lldb_private::CommandObjectProxy, CommandObjectBreakpointSet, CommandObjectBreakpointModify, CommandObjectBreakpointList, CommandObjectBreakpointClear, CommandObjectBreakpointDelete, CommandObjectBreakpointNameConfigure, CommandObjectBreakpointNameAdd, CommandObjectBreakpointNameDelete, CommandObjectBreakpointNameList, CommandObjectBreakpointRead, CommandObjectBreakpointWrite, CommandObjectBreakpointCommandAdd, CommandObjectBreakpointCommandDelete, CommandObjectCommandsSource, CommandObjectCommandsAlias, CommandObjectCommandsAddRegex, CommandObjectCommandsScriptImport, CommandObjectCommandsScriptAdd, CommandObjectCommandsContainerAdd, CommandObjectDiagnosticsDump, lldb_private::CommandObjectDisassemble, lldb_private::CommandObjectDWIMPrint, lldb_private::CommandObjectExpression, CommandObjectFrameDiagnose, CommandObjectFrameSelect, CommandObjectFrameVariable, CommandObjectFrameRecognizerAdd, lldb_private::CommandObjectHelp, CommandObjectLogEnable, CommandObjectLogDump, CommandObjectMemoryRead, CommandObjectMemoryFind, CommandObjectMemoryWrite, CommandObjectMemoryRegion, CommandObjectMemoryTagWrite, CommandObjectPlatformSelect, CommandObjectPlatformConnect, CommandObjectPlatformSettings, CommandObjectPlatformMkDir, CommandObjectPlatformFOpen, CommandObjectPlatformFRead, CommandObjectPlatformFWrite, CommandObjectPlatformProcessLaunch, CommandObjectPlatformProcessList, CommandObjectPlatformProcessAttach, CommandObjectPlatformShell, CommandObjectProcessLaunch, CommandObjectProcessAttach, CommandObjectProcessContinue, CommandObjectProcessDetach, CommandObjectProcessConnect, CommandObjectProcessLoad, CommandObjectProcessSaveCore, CommandObjectProcessStatus, CommandObjectProcessHandle, CommandObjectRegisterRead, lldb_private::CommandObjectScript, CommandObjectSessionHistory, CommandObjectSettingsSet, CommandObjectSettingsWrite, CommandObjectSettingsRead, CommandObjectSettingsClear, CommandObjectSourceInfo, CommandObjectSourceList, CommandObjectStatsDump, CommandObjectTargetCreate, CommandObjectTargetDelete, CommandObjectTargetVariable, CommandObjectTargetModulesDumpSymtab, CommandObjectTargetModulesDumpLineTable, CommandObjectTargetModulesAdd, CommandObjectTargetModulesLoad, CommandObjectTargetModulesList, CommandObjectTargetModulesShowUnwind, CommandObjectTargetModulesLookup, CommandObjectTargetSymbolsAdd, CommandObjectTargetStopHookAdd, CommandObjectThreadBacktrace, CommandObjectThreadStepWithTypeAndScope, CommandObjectThreadUntil, CommandObjectThreadInfo, CommandObjectThreadReturn, CommandObjectThreadJump, CommandObjectThreadPlanList, CommandObjectTraceDumpFunctionCalls, CommandObjectTraceDumpInstructions, CommandObjectTraceDumpInfo, CommandObjectTraceSave, CommandObjectTraceLoad, CommandObjectTraceDump, CommandObjectTraceSchema, CommandObjectTypeSummaryAdd, CommandObjectTypeSynthAdd, CommandObjectTypeFormatAdd, CommandObjectTypeFormatterDelete, CommandObjectTypeFormatterClear, CommandObjectTypeFormatterList< FormatterType >, CommandObjectTypeCategoryDefine, CommandObjectTypeCategoryEnable, CommandObjectTypeCategoryDisable, CommandObjectTypeFilterAdd, CommandObjectTypeLookup, CommandObjectWatchpointList, CommandObjectWatchpointDelete, CommandObjectWatchpointIgnore, CommandObjectWatchpointModify, CommandObjectWatchpointSetVariable, CommandObjectWatchpointSetExpression, CommandObjectWatchpointCommandAdd, CommandObjectObjC_ClassTable_Dump, CommandObjectProcessGDBRemoteSpeedTest, CommandObjectProcessKDPPacketSend, CommandObjectProcessMinidumpDump, sddarwinlog_private::EnableCommand, lldb_private::trace_intel_pt::CommandObjectThreadTraceStartIntelPT, lldb_private::trace_intel_pt::CommandObjectProcessTraceStartIntelPT, and lldb_private::ctf::CommandObjectThreadTraceExportCTF.
Definition at line 100 of file CommandObject.cpp.
Referenced by GenerateHelpText(), lldb_private::CommandObjectProxy::GetOptions(), GetSyntax(), HandleCompletion(), HelpTextContainsWord(), ParseOptions(), and lldb_private::CommandInterpreter::ResolveCommandImpl().
|
inlinevirtual |
Get the command that appropriate for a "repeat" of the current command.
[in] | current_command_args | The command arguments. |
Reimplemented in CommandObjectThreadBacktrace, lldb_private::CommandObjectMultiword, lldb_private::CommandObjectProxy, lldb_private::CommandPluginInterfaceImplementation, CommandObjectCommandsSource, CommandObjectMemoryRead, CommandObjectMemoryHistory, CommandObjectMemoryRegion, CommandObjectProcessLaunch, CommandObjectSourceList, and CommandObjectTraceDumpInstructions.
Definition at line 282 of file CommandObject.h.
Referenced by lldb_private::CommandObjectMultiword::GetRepeatCommand(), lldb_private::CommandObjectProxy::GetRepeatCommand(), and lldb_private::CommandInterpreter::HandleCommand().
|
protected |
Definition at line 684 of file CommandObject.cpp.
References lldb_private::CommandInterpreter::GetDebugger(), lldb_private::Debugger::GetSelectedOrDummyTarget(), and m_interpreter.
Referenced by CommandObjectBreakpointSet::DoExecute(), CommandObjectBreakpointModify::DoExecute(), CommandObjectBreakpointEnable::DoExecute(), CommandObjectBreakpointList::DoExecute(), CommandObjectBreakpointClear::DoExecute(), CommandObjectBreakpointDelete::DoExecute(), CommandObjectBreakpointNameConfigure::DoExecute(), CommandObjectBreakpointNameAdd::DoExecute(), CommandObjectBreakpointNameDelete::DoExecute(), CommandObjectBreakpointNameList::DoExecute(), CommandObjectBreakpointRead::DoExecute(), CommandObjectBreakpointWrite::DoExecute(), CommandObjectBreakpointCommandDelete::DoExecute(), CommandObjectFrameVariable::DoExecute(), CommandObjectFrameRecognizerAdd::DoExecute(), CommandObjectFrameRecognizerClear::DoExecute(), CommandObjectFrameRecognizerDelete::DoExecute(), CommandObjectFrameRecognizerList::DoExecute(), CommandObjectFrameRecognizerInfo::DoExecute(), CommandObjectTargetStopHookDelete::DoExecute(), CommandObjectTargetStopHookEnableDisable::DoExecute(), CommandObjectTargetStopHookList::DoExecute(), sddarwinlog_private::EnableCommand::DoExecute(), sddarwinlog_private::StatusCommand::DoExecute(), CommandObjectProcessHandle::DoExecute(), and CommandObjectFrameRecognizerDelete::HandleArgumentCompletion().
|
protected |
Definition at line 688 of file CommandObject.cpp.
References lldb_private::Flags::AnySet(), lldb_private::CommandInterpreter::GetDebugger(), lldb_private::Debugger::GetSelectedTarget(), m_flags, and m_interpreter.
Referenced by lldb_private::CommandObjectDisassemble::CheckRangeSize(), CommandObjectTargetModulesAdd::DoExecute(), CommandObjectTargetModulesLoad::DoExecute(), CommandObjectBreakpointCommandList::DoExecute(), lldb_private::CommandObjectDisassemble::DoExecute(), CommandObjectTargetModulesSearchPathsAdd::DoExecute(), CommandObjectTargetModulesSearchPathsClear::DoExecute(), CommandObjectTargetModulesSearchPathsInsert::DoExecute(), CommandObjectTargetModulesSearchPathsList::DoExecute(), CommandObjectTargetModulesSearchPathsQuery::DoExecute(), CommandObjectTargetModulesDumpObjfile::DoExecute(), CommandObjectTargetModulesDumpSymtab::DoExecute(), CommandObjectTargetModulesDumpSections::DoExecute(), CommandObjectTargetModulesDumpClangAST::DoExecute(), CommandObjectTargetModulesDumpSymfile::DoExecute(), CommandObjectTargetModulesLookup::DoExecute(), CommandObjectTargetDumpTypesystem::DoExecute(), CommandObjectTargetDumpSectionLoadList::DoExecute(), CommandObjectThreadUntil::DoExecute(), CommandObjectWatchpointCommandDelete::DoExecute(), CommandObjectWatchpointCommandList::DoExecute(), lldb_private::CommandObjectDisassemble::GetContainingAddressRanges(), lldb_private::CommandObjectDisassemble::GetNameRanges(), CommandObjectTargetModulesLookup::LookupHere(), and CommandObjectTargetModulesLookup::LookupInModule().
|
inlinevirtual |
Reimplemented in lldb_private::CommandObjectMultiword, and lldb_private::CommandObjectProxy.
Definition at line 170 of file CommandObject.h.
Referenced by lldb_private::CommandObjectHelp::DoExecute(), lldb_private::CommandInterpreter::GetCommandObjectForCommand(), lldb_private::CommandObjectProxy::GetSubcommandObject(), and lldb_private::CommandInterpreter::ResolveCommandImpl().
|
inlinevirtual |
Reimplemented in lldb_private::CommandObjectMultiword, and lldb_private::CommandObjectProxy.
Definition at line 161 of file CommandObject.h.
Referenced by lldb_private::CommandObjectProxy::GetSubcommandSP().
|
inlinevirtual |
Reimplemented in lldb_private::CommandObjectMultiword.
Definition at line 166 of file CommandObject.h.
|
virtual |
Reimplemented in lldb_private::CommandObjectProxy.
Definition at line 59 of file CommandObject.cpp.
References GetCommandName(), GetFormattedCommandArguments(), GetOptions(), lldb_private::StreamString::GetString(), IsDashDashCommand(), m_arguments, m_cmd_syntax, lldb_private::Stream::PutCString(), and WantsRawCommandString().
Referenced by CommandObjectThreadUntil::DoExecute(), lldb_private::CommandObjectRegexCommand::DoExecute(), CommandObjectPlatformShell::DoExecute(), GenerateHelpText(), lldb_private::CommandObjectProxy::GetSyntax(), and HelpTextContainsWord().
|
inlinevirtual |
The input array contains a parsed version of the line.
We've constructed the map of options and their arguments as well if that is helpful for the completion.
[in,out] | request | The completion request that needs to be answered. |
Reimplemented in lldb_private::CommandAlias, lldb_private::CommandObjectProxy, CommandObjectBreakpointModify, CommandObjectBreakpointEnable, CommandObjectBreakpointDisable, CommandObjectBreakpointDelete, CommandObjectBreakpointNameAdd, CommandObjectBreakpointNameDelete, CommandObjectBreakpointWrite, CommandObjectCommandsSource, CommandObjectCommandsUnalias, CommandObjectCommandsDelete, CommandObjectPythonFunction, CommandObjectScriptingObject, CommandObjectCommandsScriptImport, CommandObjectCommandsScriptAdd, CommandObjectCommandsScriptDelete, CommandObjectCommandsContainerAdd, CommandObjectCommandsContainerDelete, lldb_private::CommandObjectDWIMPrint, CommandObjectFrameSelect, CommandObjectFrameVariable, CommandObjectFrameRecognizerDelete, CommandObjectLogEnable, CommandObjectLogDisable, CommandObjectLogList, CommandObjectLogDump, CommandObjectLogTimerIncrement, CommandObjectPlatformFOpen, CommandObjectPlatformGetFile, CommandObjectPlatformGetSize, CommandObjectPlatformGetPermissions, CommandObjectPlatformFileExists, CommandObjectPlatformPutFile, CommandObjectPlatformProcessInfo, CommandObjectPlatformInstall, CommandObjectPluginLoad, CommandObjectProcessLaunch, CommandObjectProcessLoad, CommandObjectProcessUnload, CommandObjectProcessSignal, CommandObjectProcessSaveCore, CommandObjectRegisterRead, CommandObjectRegisterWrite, CommandObjectRegisterInfo, CommandObjectSessionSave, CommandObjectSettingsSet, CommandObjectSettingsShow, CommandObjectSettingsList, CommandObjectSettingsRemove, CommandObjectSettingsReplace, CommandObjectSettingsInsertBefore, CommandObjectSettingsInsertAfter, CommandObjectSettingsAppend, CommandObjectSettingsClear, CommandObjectTargetCreate, CommandObjectTargetModulesSearchPathsInsert, CommandObjectTargetModulesModuleAutoComplete, CommandObjectTargetModulesSourceFileAutoComplete, CommandObjectTargetModulesAdd, CommandObjectTargetSymbolsAdd, CommandObjectTargetStopHookDelete, CommandObjectTargetStopHookEnableDisable, CommandObjectThreadStepWithTypeAndScope, CommandObjectThreadContinue, CommandObjectThreadSelect, CommandObjectThreadInfo, CommandObjectThreadException, CommandObjectThreadSiginfo, CommandObjectThreadPlanDiscard, CommandObjectTraceSave, CommandObjectTraceLoad, CommandObjectTypeFormatterDelete, CommandObjectTypeCategoryDefine, CommandObjectTypeCategoryEnable, CommandObjectTypeCategoryDelete, CommandObjectTypeCategoryDisable, CommandObjectTypeCategoryList, CommandObjectWatchpointEnable, CommandObjectWatchpointDisable, CommandObjectWatchpointDelete, CommandObjectWatchpointIgnore, CommandObjectWatchpointModify, and CommandObjectWatchpointSetVariable.
Definition at line 250 of file CommandObject.h.
Referenced by lldb_private::CommandObjectProxy::HandleArgumentCompletion(), and HandleCompletion().
|
virtual |
This default version handles calling option argument completions and then calls HandleArgumentCompletion if the cursor is on an argument, not an option.
Don't override this method, override HandleArgumentCompletion instead unless you have special reasons.
[in,out] | request | The completion request that needs to be answered. |
Reimplemented in lldb_private::CommandAlias, lldb_private::CommandObjectMultiword, lldb_private::CommandObjectProxy, lldb_private::CommandObjectExpression, lldb_private::CommandObjectHelp, CommandObjectPlatformSelect, and lldb_private::CommandObjectRegexCommand.
Definition at line 275 of file CommandObject.cpp.
References Cleanup(), GetCommandInterpreter(), lldb_private::CompletionRequest::GetCursorIndex(), lldb_private::CommandInterpreter::GetDebugger(), lldb_private::CommandInterpreter::GetExecutionContext(), GetOptions(), lldb_private::CompletionRequest::GetParsedLine(), lldb_private::Debugger::GetUseColor(), HandleArgumentCompletion(), lldb_private::Options::HandleOptionCompletion(), m_exe_ctx, m_interpreter, lldb_private::Options::ParseForCompletion(), WantsCompletion(), and WantsRawCommandString().
Referenced by lldb_private::CommandObjectMultiword::HandleCompletion(), lldb_private::CommandObjectProxy::HandleCompletion(), lldb_private::CommandObjectHelp::HandleCompletion(), and lldb_private::CommandInterpreter::HandleCompletionMatches().
|
inline |
Definition at line 286 of file CommandObject.h.
References m_command_override_callback, and m_deprecated_command_override_callback.
Referenced by lldb_private::CommandObjectParsed::Execute(), and lldb_private::CommandObjectRaw::Execute().
bool CommandObject::HelpTextContainsWord | ( | llvm::StringRef | search_word, |
bool | search_short_help = true , |
||
bool | search_long_help = true , |
||
bool | search_syntax = true , |
||
bool | search_options = true |
||
) |
Definition at line 308 of file CommandObject.cpp.
References lldb_private::StreamString::Empty(), lldb_private::Options::GenerateOptionUsage(), GetCommandInterpreter(), GetDebugger(), GetHelp(), GetHelpLong(), GetOptions(), lldb_private::StreamString::GetString(), and GetSyntax().
Referenced by lldb_private::CommandInterpreter::FindCommandsForApropos().
|
inline |
Definition at line 304 of file CommandObject.h.
References m_command_override_baton, m_command_override_callback, and m_deprecated_command_override_callback.
Referenced by lldb_private::CommandObjectParsed::Execute(), and lldb_private::CommandObjectRaw::Execute().
|
inlinevirtual |
Reimplemented in lldb_private::CommandAlias.
Definition at line 154 of file CommandObject.h.
Referenced by lldb_private::CommandInterpreter::BuildAliasResult(), lldb_private::CommandObjectHelp::DoExecute(), and lldb_private::CommandInterpreter::ResolveCommandImpl().
|
inlinevirtual |
Reimplemented in lldb_private::CommandAlias.
Definition at line 159 of file CommandObject.h.
Referenced by GenerateHelpText(), lldb_private::Options::GenerateOptionUsage(), and GetSyntax().
|
inlinevirtual |
Reimplemented in lldb_private::CommandObjectMultiword, and lldb_private::CommandObjectProxy.
Definition at line 146 of file CommandObject.h.
Referenced by lldb_private::CommandObjectHelp::DoExecute(), lldb_private::CommandInterpreter::GetCommandObjectForCommand(), lldb_private::CommandInterpreter::HandleCompletionMatches(), lldb_private::LanguageRuntime::InitializeCommands(), lldb_private::CommandObjectProxy::IsMultiwordObject(), and lldb_private::CommandInterpreter::ResolveCommandImpl().
bool CommandObject::IsPairType | ( | ArgumentRepetitionType | arg_repeat_type | ) |
Definition at line 441 of file CommandObject.cpp.
References lldb_private::eArgRepeatPairOptional, lldb_private::eArgRepeatPairPlain, lldb_private::eArgRepeatPairPlus, lldb_private::eArgRepeatPairRange, lldb_private::eArgRepeatPairRangeOptional, and lldb_private::eArgRepeatPairStar.
Referenced by GetFormattedCommandArguments().
|
inlinevirtual |
Reimplemented in lldb_private::CommandObjectMultiword, lldb_private::CommandObjectProxy, lldb_private::CommandPluginInterfaceImplementation, CommandObjectPythonFunction, CommandObjectScriptingObject, and lldb_private::CommandObjectRegexCommand.
Definition at line 144 of file CommandObject.h.
Referenced by CommandObjectCommandsUnalias::DoExecute(), and lldb_private::CommandObjectProxy::IsRemovable().
|
inline |
Definition at line 148 of file CommandObject.h.
References m_is_user_command.
Referenced by lldb_private::CommandObjectMultiword::LoadUserSubcommand().
|
inlinevirtual |
Reimplemented in lldb_private::CommandObjectMultiword, and lldb_private::CommandObjectProxy.
Definition at line 184 of file CommandObject.h.
Referenced by lldb_private::LanguageRuntime::InitializeCommands(), and lldb_private::CommandObjectProxy::LoadSubCommand().
|
inlinevirtual |
Reimplemented in lldb_private::CommandObjectMultiword.
Definition at line 189 of file CommandObject.h.
|
static |
Definition at line 559 of file CommandObject.cpp.
References lldb_private::CommandObject::ArgumentTableEntry::arg_type, lldb::eArgTypeLastArg, and lldb_private::g_argument_table.
Referenced by lldb_private::CommandObjectHelp::DoExecute().
bool CommandObject::ParseOptions | ( | Args & | args, |
CommandReturnObject & | result | ||
) |
Definition at line 106 of file CommandObject.cpp.
References lldb_private::CommandReturnObject::AppendError(), lldb::eReturnStatusFailed, error(), lldb_private::Options::GenerateOptionUsage(), GetCommandInterpreter(), GetDebugger(), lldb_private::CommandReturnObject::GetErrorStream(), lldb_private::CommandInterpreter::GetExecutionContext(), GetOptions(), lldb_private::Options::NotifyOptionParsingFinished(), lldb_private::Options::NotifyOptionParsingStarting(), lldb_private::Options::Parse(), lldb_private::CommandReturnObject::SetStatus(), and lldb_private::Options::VerifyOptions().
Referenced by lldb_private::CommandObjectScript::DoExecute(), CommandObjectSettingsRemove::DoExecute(), CommandObjectPlatformShell::DoExecute(), lldb_private::CommandObjectParsed::Execute(), and ParseOptionsAndNotify().
|
protected |
Definition at line 343 of file CommandObject.cpp.
References lldb_private::CommandReturnObject::AppendError(), error(), lldb_private::Options::NotifyOptionParsingFinished(), and ParseOptions().
Referenced by lldb_private::CommandObjectDWIMPrint::DoExecute().
void CommandObject::SetCommandName | ( | llvm::StringRef | name | ) |
Definition at line 84 of file CommandObject.cpp.
References m_cmd_name.
Referenced by CommandObjectTypeFormatterDelete::CommandObjectTypeFormatterDelete().
|
virtual |
Reimplemented in lldb_private::CommandAlias.
Definition at line 88 of file CommandObject.cpp.
References m_cmd_help_short.
Referenced by CommandObjectPythonFunction::CommandObjectPythonFunction(), CommandObjectScriptingObject::CommandObjectScriptingObject(), CommandObjectTypeFormatterDelete::CommandObjectTypeFormatterDelete(), CommandObjectScriptingObject::GetHelp(), and lldb_private::CommandAlias::SetHelp().
|
virtual |
Reimplemented in lldb_private::CommandAlias.
Definition at line 92 of file CommandObject.cpp.
References m_cmd_help_long.
Referenced by CommandObjectBreakpointCommandAdd::CommandObjectBreakpointCommandAdd(), CommandObjectBreakpointDisable::CommandObjectBreakpointDisable(), CommandObjectBreakpointName::CommandObjectBreakpointName(), CommandObjectCommandsAddRegex::CommandObjectCommandsAddRegex(), CommandObjectCommandsAlias::CommandObjectCommandsAlias(), lldb_private::CommandObjectExpression::CommandObjectExpression(), CommandObjectFrameRecognizerAdd::CommandObjectFrameRecognizerAdd(), CommandObjectFrameVariable::CommandObjectFrameVariable(), CommandObjectPlatformFileExists::CommandObjectPlatformFileExists(), CommandObjectPlatformGetFile::CommandObjectPlatformGetFile(), CommandObjectPlatformGetPermissions::CommandObjectPlatformGetPermissions(), CommandObjectPlatformGetSize::CommandObjectPlatformGetSize(), CommandObjectPlatformPutFile::CommandObjectPlatformPutFile(), CommandObjectProcessHandle::CommandObjectProcessHandle(), CommandObjectRegisterInfo::CommandObjectRegisterInfo(), CommandObjectSettingsSet::CommandObjectSettingsSet(), CommandObjectTargetStopHookAdd::CommandObjectTargetStopHookAdd(), CommandObjectTypeFormatAdd::CommandObjectTypeFormatAdd(), CommandObjectTypeFormatterDelete::CommandObjectTypeFormatterDelete(), CommandObjectTypeSummaryAdd::CommandObjectTypeSummaryAdd(), CommandObjectWatchpointCommandAdd::CommandObjectWatchpointCommandAdd(), CommandObjectPythonFunction::GetHelpLong(), CommandObjectScriptingObject::GetHelpLong(), and lldb_private::CommandAlias::SetHelpLong().
|
inline |
Definition at line 150 of file CommandObject.h.
References m_is_user_command.
|
inline |
Definition at line 291 of file CommandObject.h.
References m_command_override_baton, and m_deprecated_command_override_callback.
Referenced by lldb_private::REPL::RunLoop(), and lldb::SBCommandInterpreter::SetCommandOverrideCallback().
|
inline |
Definition at line 298 of file CommandObject.h.
References m_command_override_baton, and m_command_override_callback.
void CommandObject::SetSyntax | ( | llvm::StringRef | str | ) |
Definition at line 96 of file CommandObject.cpp.
References m_cmd_syntax.
Referenced by lldb_private::CommandInterpreter::Initialize().
|
inlinevirtual |
Reimplemented in lldb_private::CommandAlias, lldb_private::CommandObjectProxy, CommandObjectPythonFunction, CommandObjectScriptingObject, lldb_private::CommandObjectDWIMPrint, CommandObjectSettingsSet, CommandObjectSettingsRemove, CommandObjectSettingsReplace, CommandObjectSettingsInsertBefore, CommandObjectSettingsInsertAfter, CommandObjectSettingsAppend, and CommandObjectWatchpointSetExpression.
Definition at line 201 of file CommandObject.h.
References WantsRawCommandString().
Referenced by GenerateHelpText(), HandleCompletion(), and lldb_private::CommandObjectProxy::WantsCompletion().
|
pure virtual |
Implemented in lldb_private::CommandAlias, lldb_private::CommandObjectParsed, lldb_private::CommandObjectRaw, lldb_private::CommandObjectMultiword, and lldb_private::CommandObjectProxy.
Referenced by lldb_private::CommandInterpreter::BuildAliasCommandArgs(), GenerateHelpText(), lldb_private::Options::GenerateOptionUsage(), GetSyntax(), lldb_private::CommandInterpreter::HandleCommand(), HandleCompletion(), lldb_private::CommandInterpreter::ResolveCommandImpl(), WantsCompletion(), and lldb_private::CommandObjectProxy::WantsRawCommandString().
|
protected |
Definition at line 373 of file CommandObject.h.
Referenced by CheckRequirements(), and Cleanup().
|
protected |
Definition at line 379 of file CommandObject.h.
Referenced by lldb_private::CommandAlias::CommandAlias(), lldb_private::CommandObjectApropos::CommandObjectApropos(), CommandObjectBreakpointCommandDelete::CommandObjectBreakpointCommandDelete(), CommandObjectBreakpointCommandList::CommandObjectBreakpointCommandList(), CommandObjectBreakpointDelete::CommandObjectBreakpointDelete(), CommandObjectBreakpointEnable::CommandObjectBreakpointEnable(), CommandObjectBreakpointList::CommandObjectBreakpointList(), CommandObjectBreakpointModify::CommandObjectBreakpointModify(), CommandObjectBreakpointNameAdd::CommandObjectBreakpointNameAdd(), CommandObjectBreakpointNameConfigure::CommandObjectBreakpointNameConfigure(), CommandObjectBreakpointNameDelete::CommandObjectBreakpointNameDelete(), CommandObjectBreakpointWrite::CommandObjectBreakpointWrite(), CommandObjectCommandsContainerAdd::CommandObjectCommandsContainerAdd(), CommandObjectCommandsContainerDelete::CommandObjectCommandsContainerDelete(), CommandObjectCommandsDelete::CommandObjectCommandsDelete(), CommandObjectCommandsScriptAdd::CommandObjectCommandsScriptAdd(), CommandObjectCommandsScriptDelete::CommandObjectCommandsScriptDelete(), CommandObjectCommandsScriptImport::CommandObjectCommandsScriptImport(), CommandObjectCommandsSource::CommandObjectCommandsSource(), CommandObjectCommandsUnalias::CommandObjectCommandsUnalias(), lldb_private::CommandObjectDWIMPrint::CommandObjectDWIMPrint(), CommandObjectFrameDiagnose::CommandObjectFrameDiagnose(), CommandObjectFrameRecognizerDelete::CommandObjectFrameRecognizerDelete(), CommandObjectFrameRecognizerInfo::CommandObjectFrameRecognizerInfo(), CommandObjectFrameSelect::CommandObjectFrameSelect(), CommandObjectFrameVariable::CommandObjectFrameVariable(), lldb_private::CommandObjectHelp::CommandObjectHelp(), lldb_private::CommandObjectIterateOverThreads::CommandObjectIterateOverThreads(), CommandObjectLogDisable::CommandObjectLogDisable(), CommandObjectLogDump::CommandObjectLogDump(), CommandObjectLogEnable::CommandObjectLogEnable(), CommandObjectLogList::CommandObjectLogList(), CommandObjectLogTimerEnable::CommandObjectLogTimerEnable(), CommandObjectLogTimerIncrement::CommandObjectLogTimerIncrement(), CommandObjectMemoryFind::CommandObjectMemoryFind(), CommandObjectMemoryHistory::CommandObjectMemoryHistory(), CommandObjectMemoryRead::CommandObjectMemoryRead(), CommandObjectMemoryRegion::CommandObjectMemoryRegion(), CommandObjectMemoryTagRead::CommandObjectMemoryTagRead(), CommandObjectMemoryTagWrite::CommandObjectMemoryTagWrite(), lldb_private::CommandObjectMultipleThreads::CommandObjectMultipleThreads(), CommandObjectPlatformConnect::CommandObjectPlatformConnect(), CommandObjectPlatformFClose::CommandObjectPlatformFClose(), CommandObjectPlatformFOpen::CommandObjectPlatformFOpen(), CommandObjectPlatformFRead::CommandObjectPlatformFRead(), CommandObjectPlatformFWrite::CommandObjectPlatformFWrite(), CommandObjectPlatformInstall::CommandObjectPlatformInstall(), CommandObjectPlatformMkDir::CommandObjectPlatformMkDir(), CommandObjectPlatformProcessInfo::CommandObjectPlatformProcessInfo(), CommandObjectPlatformProcessLaunch::CommandObjectPlatformProcessLaunch(), CommandObjectPlatformSelect::CommandObjectPlatformSelect(), CommandObjectPlatformShell::CommandObjectPlatformShell(), CommandObjectPluginLoad::CommandObjectPluginLoad(), CommandObjectProcessConnect::CommandObjectProcessConnect(), CommandObjectProcessHandle::CommandObjectProcessHandle(), CommandObjectProcessLaunch::CommandObjectProcessLaunch(), CommandObjectProcessLoad::CommandObjectProcessLoad(), CommandObjectProcessSaveCore::CommandObjectProcessSaveCore(), CommandObjectProcessSignal::CommandObjectProcessSignal(), CommandObjectProcessUnload::CommandObjectProcessUnload(), lldb_private::CommandObjectQuit::CommandObjectQuit(), CommandObjectRegisterInfo::CommandObjectRegisterInfo(), CommandObjectRegisterWrite::CommandObjectRegisterWrite(), CommandObjectSessionSave::CommandObjectSessionSave(), CommandObjectSettingsAppend::CommandObjectSettingsAppend(), CommandObjectSettingsClear::CommandObjectSettingsClear(), CommandObjectSettingsInsertAfter::CommandObjectSettingsInsertAfter(), CommandObjectSettingsInsertBefore::CommandObjectSettingsInsertBefore(), CommandObjectSettingsList::CommandObjectSettingsList(), CommandObjectSettingsRemove::CommandObjectSettingsRemove(), CommandObjectSettingsReplace::CommandObjectSettingsReplace(), CommandObjectSettingsSet::CommandObjectSettingsSet(), CommandObjectSettingsShow::CommandObjectSettingsShow(), CommandObjectSettingsWrite::CommandObjectSettingsWrite(), CommandObjectTargetCreate::CommandObjectTargetCreate(), CommandObjectTargetDelete::CommandObjectTargetDelete(), CommandObjectTargetModulesAdd::CommandObjectTargetModulesAdd(), CommandObjectTargetModulesDumpClangPCMInfo::CommandObjectTargetModulesDumpClangPCMInfo(), CommandObjectTargetModulesList::CommandObjectTargetModulesList(), CommandObjectTargetModulesLookup::CommandObjectTargetModulesLookup(), CommandObjectTargetModulesModuleAutoComplete::CommandObjectTargetModulesModuleAutoComplete(), CommandObjectTargetModulesSearchPathsAdd::CommandObjectTargetModulesSearchPathsAdd(), CommandObjectTargetModulesSearchPathsInsert::CommandObjectTargetModulesSearchPathsInsert(), CommandObjectTargetModulesSearchPathsQuery::CommandObjectTargetModulesSearchPathsQuery(), CommandObjectTargetModulesSourceFileAutoComplete::CommandObjectTargetModulesSourceFileAutoComplete(), CommandObjectTargetSelect::CommandObjectTargetSelect(), CommandObjectTargetStopHookDelete::CommandObjectTargetStopHookDelete(), CommandObjectTargetStopHookEnableDisable::CommandObjectTargetStopHookEnableDisable(), CommandObjectTargetSymbolsAdd::CommandObjectTargetSymbolsAdd(), CommandObjectTargetVariable::CommandObjectTargetVariable(), CommandObjectThreadContinue::CommandObjectThreadContinue(), CommandObjectThreadPlanDiscard::CommandObjectThreadPlanDiscard(), CommandObjectThreadPlanPrune::CommandObjectThreadPlanPrune(), CommandObjectThreadReturn::CommandObjectThreadReturn(), CommandObjectThreadSelect::CommandObjectThreadSelect(), CommandObjectThreadStepWithTypeAndScope::CommandObjectThreadStepWithTypeAndScope(), CommandObjectThreadUntil::CommandObjectThreadUntil(), CommandObjectTraceDumpFunctionCalls::CommandObjectTraceDumpFunctionCalls(), CommandObjectTraceDumpInstructions::CommandObjectTraceDumpInstructions(), CommandObjectTraceLoad::CommandObjectTraceLoad(), CommandObjectTraceSave::CommandObjectTraceSave(), CommandObjectTraceSchema::CommandObjectTraceSchema(), CommandObjectTypeCategoryDelete::CommandObjectTypeCategoryDelete(), CommandObjectTypeCategoryList::CommandObjectTypeCategoryList(), CommandObjectTypeFormatAdd::CommandObjectTypeFormatAdd(), CommandObjectTypeFormatterClear::CommandObjectTypeFormatterClear(), CommandObjectTypeFormatterDelete::CommandObjectTypeFormatterDelete(), CommandObjectTypeFormatterList< FormatterType >::CommandObjectTypeFormatterList(), CommandObjectTypeSummaryAdd::CommandObjectTypeSummaryAdd(), CommandObjectWatchpointCommandDelete::CommandObjectWatchpointCommandDelete(), CommandObjectWatchpointCommandList::CommandObjectWatchpointCommandList(), lldb_private::CommandPluginInterfaceImplementation::CommandPluginInterfaceImplementation(), lldb_private::CommandObjectParsed::Execute(), GetArgumentEntryAtIndex(), GetFormattedCommandArguments(), GetNumArgumentEntries(), GetSyntax(), and CommandObjectTypeCategoryEnable::CommandOptions::SetOptionValue().
|
protected |
Definition at line 376 of file CommandObject.h.
Referenced by GetHelpLong(), lldb_private::CommandAlias::GetHelpLong(), and SetHelpLong().
|
protected |
Definition at line 375 of file CommandObject.h.
Referenced by CommandObject(), GetHelp(), lldb_private::CommandAlias::GetHelp(), and SetHelp().
|
protected |
Definition at line 374 of file CommandObject.h.
Referenced by CommandObjectLogEnable::DoExecute(), CommandObjectLogDisable::DoExecute(), CommandObjectLogDump::DoExecute(), CommandObjectTargetVariable::DoExecute(), CommandObjectFrameVariable::DoExecute(), CommandObjectFrameRecognizerAdd::DoExecute(), CommandObjectFrameRecognizerDelete::DoExecute(), CommandObjectFrameRecognizerInfo::DoExecute(), CommandObjectMemoryRead::DoExecute(), CommandObjectMemoryWrite::DoExecute(), CommandObjectMemoryHistory::DoExecute(), CommandObjectMemoryRegion::DoExecute(), CommandObjectProcessConnect::DoExecute(), CommandObjectProcessSignal::DoExecute(), CommandObjectProcessSaveCore::DoExecute(), CommandObjectTargetCreate::DoExecute(), CommandObjectTargetModulesDumpClangPCMInfo::DoExecute(), CommandObjectThreadSelect::DoExecute(), CommandObjectTypeFormatterDelete::DoExecute(), CommandObjectTypeCategoryDelete::DoExecute(), CommandObjectTypeCategoryList::DoExecute(), lldb_private::CommandObjectDWIMPrint::DoExecute(), lldb_private::CommandObjectRegexCommand::DoExecute(), CommandObjectTypeSummaryAdd::Execute_StringSummary(), GetCommandName(), CommandObjectMemoryRead::GetRepeatCommand(), CommandObjectMemoryHistory::GetRepeatCommand(), CommandObjectMemoryRegion::GetRepeatCommand(), CommandObjectSourceList::GetRepeatCommand(), CommandObjectTypeLookup::GuessLanguage(), and SetCommandName().
|
protected |
Definition at line 377 of file CommandObject.h.
Referenced by CommandObject(), CommandObjectLogTimerEnable::DoExecute(), CommandObjectLogTimerDisable::DoExecute(), CommandObjectLogTimerDump::DoExecute(), CommandObjectLogTimerReset::DoExecute(), CommandObjectLogTimerIncrement::DoExecute(), CommandObjectMemoryRegion::DoExecute(), CommandObjectProcessConnect::DoExecute(), CommandObjectProcessSignal::DoExecute(), CommandObjectProcessSaveCore::DoExecute(), CommandObjectThreadSelect::DoExecute(), GetSyntax(), and SetSyntax().
|
protected |
Definition at line 382 of file CommandObject.h.
Referenced by InvokeOverrideCallback(), and SetOverrideCallback().
|
protected |
Definition at line 381 of file CommandObject.h.
Referenced by HasOverrideCallback(), InvokeOverrideCallback(), and SetOverrideCallback().
|
protected |
Definition at line 380 of file CommandObject.h.
Referenced by HasOverrideCallback(), InvokeOverrideCallback(), and SetOverrideCallback().
|
protected |
Definition at line 372 of file CommandObject.h.
Referenced by CommandObjectTargetSymbolsAdd::AddSymbolsForFile(), CommandObjectTargetSymbolsAdd::AddSymbolsForFrame(), CommandObjectTargetSymbolsAdd::AddSymbolsForStack(), lldb_private::CommandObjectIterateOverThreads::BucketThread(), CheckRequirements(), Cleanup(), CommandObjectSourceList::DisplayFunctionSource(), CommandObjectPlatformProcessLaunch::DoExecute(), CommandObjectSettingsShow::DoExecute(), CommandObjectSettingsList::DoExecute(), CommandObjectTargetShowLaunchEnvironment::DoExecute(), CommandObjectTargetVariable::DoExecute(), CommandObjectTargetModulesLoad::DoExecute(), CommandObjectTargetSymbolsAdd::DoExecute(), CommandObjectThreadJump::DoExecute(), CommandObjectThreadPlanDiscard::DoExecute(), CommandObjectThreadPlanPrune::DoExecute(), CommandObjectTraceDumpFunctionCalls::DoExecute(), CommandObjectTraceDumpInstructions::DoExecute(), CommandObjectCommandsScriptImport::DoExecute(), lldb_private::CommandObjectDisassemble::DoExecute(), CommandObjectFrameDiagnose::DoExecute(), CommandObjectFrameInfo::DoExecute(), CommandObjectFrameSelect::DoExecute(), CommandObjectFrameVariable::DoExecute(), CommandObjectFrameRecognizerInfo::DoExecute(), CommandObjectMemoryRead::DoExecute(), CommandObjectMemoryFind::DoExecute(), CommandObjectMemoryWrite::DoExecute(), CommandObjectMemoryHistory::DoExecute(), CommandObjectMemoryRegion::DoExecute(), CommandObjectMemoryTagRead::DoExecute(), CommandObjectMemoryTagWrite::DoExecute(), CommandObjectProcessAttach::DoExecute(), CommandObjectProcessContinue::DoExecute(), CommandObjectProcessDetach::DoExecute(), CommandObjectProcessConnect::DoExecute(), CommandObjectProcessLoad::DoExecute(), CommandObjectProcessUnload::DoExecute(), CommandObjectProcessSignal::DoExecute(), CommandObjectProcessInterrupt::DoExecute(), CommandObjectProcessKill::DoExecute(), CommandObjectProcessSaveCore::DoExecute(), CommandObjectProcessStatus::DoExecute(), CommandObjectProcessTraceStop::DoExecute(), CommandObjectRegisterRead::DoExecute(), CommandObjectRegisterWrite::DoExecute(), CommandObjectRegisterInfo::DoExecute(), CommandObjectSettingsClear::DoExecute(), CommandObjectSourceInfo::DoExecute(), CommandObjectSourceList::DoExecute(), CommandObjectSourceCacheDump::DoExecute(), CommandObjectSourceCacheClear::DoExecute(), CommandObjectStatsDump::DoExecute(), CommandObjectTargetModulesDumpLineTable::DoExecute(), CommandObjectTargetModulesShowUnwind::DoExecute(), CommandObjectThreadStepWithTypeAndScope::DoExecute(), CommandObjectThreadContinue::DoExecute(), CommandObjectThreadUntil::DoExecute(), CommandObjectThreadSelect::DoExecute(), CommandObjectThreadList::DoExecute(), CommandObjectThreadPlanList::DoExecute(), lldb_private::CommandObjectIterateOverThreads::DoExecute(), lldb_private::CommandObjectMultipleThreads::DoExecute(), CommandObjectTraceSave::DoExecute(), lldb_private::ctf::CommandObjectThreadTraceExportCTF::DoExecute(), CommandObjectProcessLaunch::DoExecute(), lldb_private::CommandObjectDWIMPrint::DoExecute(), CommandObjectSettingsRemove::DoExecute(), CommandObjectSettingsReplace::DoExecute(), CommandObjectSettingsInsertBefore::DoExecute(), CommandObjectSettingsInsertAfter::DoExecute(), CommandObjectSettingsAppend::DoExecute(), CommandObjectThreadReturn::DoExecute(), CommandObjectPythonFunction::DoExecute(), CommandObjectScriptingObject::DoExecute(), CommandObjectTraceStop::DoExecuteOnThreads(), CommandObjectTargetSymbolsAdd::DownloadObjectAndSymbolFile(), CommandObjectSourceInfo::DumpFileLinesInCompUnit(), CommandObjectSourceInfo::DumpLinesForAddress(), CommandObjectSourceInfo::DumpLinesForFile(), CommandObjectSourceInfo::DumpLinesForFrame(), CommandObjectSourceInfo::DumpLinesInFunctions(), CommandObjectSourceInfo::DumpLinesInSymbolContexts(), CommandObjectMemoryFind::FastSearch(), lldb_private::CommandObjectDisassemble::GetCurrentFunctionRanges(), lldb_private::CommandObjectDisassemble::GetCurrentLineRanges(), CommandObjectBreakpointSet::GetDefaultFile(), GetDefaultThread(), lldb_private::CommandObjectDisassemble::GetPCRanges(), CommandObjectSourceInfo::GetSymbolContextsForAddress(), CommandObjectProcessLoad::HandleArgumentCompletion(), CommandObjectProcessUnload::HandleArgumentCompletion(), CommandObjectProcessSignal::HandleArgumentCompletion(), CommandObjectRegisterRead::HandleArgumentCompletion(), CommandObjectRegisterWrite::HandleArgumentCompletion(), CommandObjectRegisterInfo::HandleArgumentCompletion(), CommandObjectTargetModulesSearchPathsInsert::HandleArgumentCompletion(), CommandObjectThreadPlanDiscard::HandleArgumentCompletion(), HandleCompletion(), CommandObjectThreadBacktrace::HandleOneThread(), CommandObjectThreadInfo::HandleOneThread(), CommandObjectThreadException::HandleOneThread(), CommandObjectThreadSiginfo::HandleOneThread(), CommandObjectThreadPlanList::HandleOneThread(), CommandObjectTraceDumpInfo::HandleOneThread(), and CommandObjectTargetModulesLookup::LookupHere().
|
protected |
Definition at line 378 of file CommandObject.h.
Referenced by GetFlags(), GetSelectedTarget(), and CommandObjectTypeSummaryAdd::CommandOptions::OptionParsingStarting().
|
protected |
Definition at line 371 of file CommandObject.h.
Referenced by CheckRequirements(), CommandObjectCommandsUnalias::DoExecute(), CommandObjectCommandsDelete::DoExecute(), CommandObjectPlatformSelect::DoExecute(), lldb_private::CommandObjectQuit::DoExecute(), CommandObjectSessionSave::DoExecute(), CommandObjectSettingsList::DoExecute(), CommandObjectTargetVariable::DoExecute(), lldb_private::CommandPluginInterfaceImplementation::DoExecute(), lldb_private::CommandObjectApropos::DoExecute(), CommandObjectBreakpointDelete::DoExecute(), CommandObjectCommandsSource::DoExecute(), CommandObjectCommandsScriptAdd::DoExecute(), CommandObjectCommandsScriptList::DoExecute(), CommandObjectCommandsScriptClear::DoExecute(), CommandObjectCommandsScriptDelete::DoExecute(), CommandObjectFrameVariable::DoExecute(), CommandObjectFrameRecognizerDelete::DoExecute(), lldb_private::CommandObjectHelp::DoExecute(), CommandObjectProcessAttach::DoExecute(), CommandObjectProcessContinue::DoExecute(), CommandObjectProcessConnect::DoExecute(), CommandObjectSessionHistory::DoExecute(), CommandObjectSettingsRead::DoExecute(), CommandObjectTargetModulesDumpSymtab::DoExecute(), CommandObjectTargetModulesDumpSections::DoExecute(), CommandObjectTargetModulesDumpLineTable::DoExecute(), CommandObjectTargetModulesLookup::DoExecute(), CommandObjectTargetStopHookDelete::DoExecute(), CommandObjectThreadStepWithTypeAndScope::DoExecute(), CommandObjectThreadContinue::DoExecute(), CommandObjectThreadUntil::DoExecute(), CommandObjectProcessKDPPacketSend::DoExecute(), CommandObjectProcessHandle::DoExecute(), lldb_private::CommandObjectRegexCommand::DoExecute(), lldb_private::CommandObjectScript::DoExecute(), lldb_private::CommandObjectTraceProxy::DoGetProxyCommandObject(), lldb_private::CommandObjectParsed::Execute(), lldb_private::CommandObjectMultiword::GenerateHelpText(), GetCommandInterpreter(), GetDebugger(), GetDefaultThread(), CommandObjectBreakpointCommandAdd::CommandOptions::GetDefinitions(), CommandObjectProcessTraceStart::GetDelegateCommand(), CommandObjectTraceStart::GetDelegateCommand(), GetDummyTarget(), CommandObjectPlatformConnect::GetOptions(), CommandObjectProcessPlugin::GetProxyCommandObject(), GetSelectedOrDummyTarget(), GetSelectedTarget(), CommandObjectCommandsUnalias::HandleArgumentCompletion(), CommandObjectCommandsDelete::HandleArgumentCompletion(), CommandObjectCommandsScriptAdd::HandleArgumentCompletion(), CommandObjectCommandsScriptDelete::HandleArgumentCompletion(), CommandObjectCommandsContainerAdd::HandleArgumentCompletion(), CommandObjectCommandsContainerDelete::HandleArgumentCompletion(), HandleCompletion(), lldb_private::CommandObjectHelp::HandleCompletion(), CommandObjectCommandsScriptAdd::IOHandlerInputComplete(), CommandObjectTargetModulesLookup::LookupHere(), CommandObjectTargetModulesLookup::LookupInModule(), lldb_private::CommandObjectQuit::ShouldAskForConfirmation(), and CommandObjectProcessLaunchOrAttach::StopProcessIfNecessary().
|
protected |
Definition at line 383 of file CommandObject.h.
Referenced by IsUserCommand(), and SetIsUserCommand().