LLDB  mainline
CommandOptionArgumentTable.h
Go to the documentation of this file.
1 //===-- CommandOptionArgumentTable.h ----------------------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef LLDB_INTERPRETER_COMMANDOPTIONARGUMENTTABLE_H
10 #define LLDB_INTERPRETER_COMMANDOPTIONARGUMENTTABLE_H
11 
13 
14 namespace lldb_private {
15 
16 static constexpr OptionEnumValueElement g_corefile_save_style[] = {
17  {lldb::eSaveCoreFull, "full", "Create a core file with all memory saved"},
18  {lldb::eSaveCoreDirtyOnly, "modified-memory",
19  "Create a corefile with only modified memory saved"},
20  {lldb::eSaveCoreStackOnly, "stack",
21  "Create a corefile with only stack memory saved"},
22 };
23 
24 static constexpr OptionEnumValueElement g_description_verbosity_type[] = {
25  {
27  "compact",
28  "Only show the description string",
29  },
30  {
32  "full",
33  "Show the full output, including persistent variable's name and type",
34  },
35 };
36 
37 static constexpr OptionEnumValueElement g_sort_option_enumeration[] = {
38  {
40  "none",
41  "No sorting, use the original symbol table order.",
42  },
43  {
45  "address",
46  "Sort output by symbol address.",
47  },
48  {
50  "name",
51  "Sort output by symbol name.",
52  },
53 };
54 
55 // Note that the negation in the argument name causes a slightly confusing
56 // mapping of the enum values.
57 static constexpr OptionEnumValueElement g_dependents_enumeration[] = {
58  {
60  "default",
61  "Only load dependents when the target is an executable.",
62  },
63  {
65  "true",
66  "Don't load dependents, even if the target is an executable.",
67  },
68  {
70  "false",
71  "Load dependents, even if the target is not an executable.",
72  },
73 };
74 
75 // FIXME: "script-type" needs to have its contents determined dynamically, so
76 // somebody can add a new scripting language to lldb and have it pickable here
77 // without having to change this enumeration by hand and rebuild lldb proper.
78 static constexpr OptionEnumValueElement g_script_option_enumeration[] = {
79  {
81  "command",
82  "Commands are in the lldb command interpreter language",
83  },
84  {
86  "python",
87  "Commands are in the Python language.",
88  },
89  {
91  "lua",
92  "Commands are in the Lua language.",
93  },
94  {
96  "default",
97  "Commands are in the default scripting language.",
98  },
99 };
100 
101 static constexpr OptionEnumValueElement g_log_handler_type[] = {
102  {
104  "default",
105  "Use the default (stream) log handler",
106  },
107  {
109  "stream",
110  "Write log messages to the debugger output stream or to a file if one "
111  "is specified. A buffer size (in bytes) can be specified with -b. If "
112  "no buffer size is specified the output is unbuffered.",
113  },
114  {
116  "circular",
117  "Write log messages to a fixed size circular buffer. A buffer size "
118  "(number of messages) must be specified with -b.",
119  },
120  {
122  "os",
123  "Write log messages to the operating system log.",
124  },
125 };
126 
127 static constexpr OptionEnumValueElement g_script_synchro_type[] = {
128  {
130  "synchronous",
131  "Run synchronous",
132  },
133  {
135  "asynchronous",
136  "Run asynchronous",
137  },
138  {
140  "current",
141  "Do not alter current setting",
142  },
143 };
144 
145 static constexpr OptionEnumValueElement g_running_mode[] = {
146  {lldb::eOnlyThisThread, "this-thread", "Run only this thread"},
147  {lldb::eAllThreads, "all-threads", "Run all threads"},
148  {lldb::eOnlyDuringStepping, "while-stepping",
149  "Run only this thread while stepping"},
150 };
151 
152 llvm::StringRef RegisterNameHelpTextCallback();
153 llvm::StringRef BreakpointIDHelpTextCallback();
154 llvm::StringRef BreakpointIDRangeHelpTextCallback();
155 llvm::StringRef BreakpointNameHelpTextCallback();
156 llvm::StringRef GDBFormatHelpTextCallback();
157 llvm::StringRef FormatHelpTextCallback();
158 llvm::StringRef LanguageTypeHelpTextCallback();
159 llvm::StringRef SummaryStringHelpTextCallback();
160 llvm::StringRef ExprPathHelpTextCallback();
161 llvm::StringRef arch_helper();
162 
164  // clang-format off
165  { lldb::eArgTypeAddress, "address", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "A valid address in the target program's execution space." },
166  { lldb::eArgTypeAddressOrExpression, "address-expression", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "An expression that resolves to an address." },
167  { lldb::eArgTypeAliasName, "alias-name", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "The name of an abbreviation (alias) for a debugger command." },
168  { lldb::eArgTypeAliasOptions, "options-for-aliased-command", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "Command options to be used as part of an alias (abbreviation) definition. (See 'help commands alias' for more information.)" },
169  { lldb::eArgTypeArchitecture, "arch", CommandCompletions::eArchitectureCompletion, {}, { arch_helper, true }, "The architecture name, e.g. i386 or x86_64." },
170  { lldb::eArgTypeBoolean, "boolean", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "A Boolean value: 'true' or 'false'" },
174  { lldb::eArgTypeByteSize, "byte-size", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "Number of bytes to use." },
175  { lldb::eArgTypeClassName, "class-name", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "Then name of a class from the debug information in the program." },
176  { lldb::eArgTypeCommandName, "cmd-name", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "A debugger command (may be multiple words), without any options or arguments." },
177  { lldb::eArgTypeCount, "count", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "An unsigned integer." },
178  { lldb::eArgTypeDescriptionVerbosity, "description-verbosity", CommandCompletions::eNoCompletion, g_description_verbosity_type, { nullptr, false }, "How verbose the output of 'po' should be." },
179  { lldb::eArgTypeDirectoryName, "directory", CommandCompletions::eDiskDirectoryCompletion, {}, { nullptr, false }, "A directory name." },
180  { lldb::eArgTypeDisassemblyFlavor, "disassembly-flavor", CommandCompletions::eDisassemblyFlavorCompletion, {}, { nullptr, false }, "A disassembly flavor recognized by your disassembly plugin. Currently the only valid options are \"att\" and \"intel\" for Intel targets" },
181  { lldb::eArgTypeEndAddress, "end-address", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "Help text goes here." },
182  { lldb::eArgTypeExpression, "expr", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "Help text goes here." },
184  { lldb::eArgTypeExprFormat, "expression-format", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "[ [bool|b] | [bin] | [char|c] | [oct|o] | [dec|i|d|u] | [hex|x] | [float|f] | [cstr|s] ]" },
185  { lldb::eArgTypeFileLineColumn, "linespec", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "A source specifier in the form file:line[:column]" },
186  { lldb::eArgTypeFilename, "filename", CommandCompletions::eDiskFileCompletion, {}, { nullptr, false }, "The name of a file (can include path)." },
188  { lldb::eArgTypeFrameIndex, "frame-index", CommandCompletions::eFrameIndexCompletion, {}, { nullptr, false }, "Index into a thread's list of frames." },
189  { lldb::eArgTypeFullName, "fullname", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "Help text goes here." },
190  { lldb::eArgTypeFunctionName, "function-name", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "The name of a function." },
191  { lldb::eArgTypeFunctionOrSymbol, "function-or-symbol", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "The name of a function or symbol." },
193  { lldb::eArgTypeHelpText, "help-text", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "Text to be used as help for some other entity in LLDB" },
194  { lldb::eArgTypeIndex, "index", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "An index into a list." },
196  { lldb::eArgTypeLineNum, "linenum", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "Line number in a source file." },
197  { lldb::eArgTypeLogCategory, "log-category", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "The name of a category within a log channel, e.g. all (try \"log list\" to see a list of all channels and their categories." },
198  { lldb::eArgTypeLogChannel, "log-channel", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "The name of a log channel, e.g. process.gdb-remote (try \"log list\" to see a list of all channels and their categories)." },
199  { lldb::eArgTypeMethod, "method", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "A C++ method name." },
200  { lldb::eArgTypeName, "name", CommandCompletions::eTypeCategoryNameCompletion, {}, { nullptr, false }, "Help text goes here." },
201  { lldb::eArgTypeNewPathPrefix, "new-path-prefix", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "Help text goes here." },
202  { lldb::eArgTypeNumLines, "num-lines", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "The number of lines to use." },
203  { lldb::eArgTypeNumberPerLine, "number-per-line", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "The number of items per line to display." },
204  { lldb::eArgTypeOffset, "offset", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "Help text goes here." },
205  { lldb::eArgTypeOldPathPrefix, "old-path-prefix", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "Help text goes here." },
206  { lldb::eArgTypeOneLiner, "one-line-command", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "A command that is entered as a single line of text." },
207  { lldb::eArgTypePath, "path", CommandCompletions::eDiskFileCompletion, {}, { nullptr, false }, "Path." },
208  { lldb::eArgTypePermissionsNumber, "perms-numeric", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "Permissions given as an octal number (e.g. 755)." },
209  { lldb::eArgTypePermissionsString, "perms=string", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "Permissions given as a string value (e.g. rw-r-xr--)." },
210  { lldb::eArgTypePid, "pid", CommandCompletions::eProcessIDCompletion, {}, { nullptr, false }, "The process ID number." },
211  { lldb::eArgTypePlugin, "plugin", CommandCompletions::eProcessPluginCompletion, {}, { nullptr, false }, "Help text goes here." },
212  { lldb::eArgTypeProcessName, "process-name", CommandCompletions::eProcessNameCompletion, {}, { nullptr, false }, "The name of the process." },
213  { lldb::eArgTypePythonClass, "python-class", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "The name of a Python class." },
214  { lldb::eArgTypePythonFunction, "python-function", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "The name of a Python function." },
215  { lldb::eArgTypePythonScript, "python-script", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "Source code written in Python." },
216  { lldb::eArgTypeQueueName, "queue-name", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "The name of the thread queue." },
218  { lldb::eArgTypeRegularExpression, "regular-expression", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "A POSIX-compliant extended regular expression." },
219  { lldb::eArgTypeRunArgs, "run-args", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "Arguments to be passed to the target program when it starts executing." },
220  { lldb::eArgTypeRunMode, "run-mode", CommandCompletions::eNoCompletion, g_running_mode, { nullptr, false }, "Help text goes here." },
221  { lldb::eArgTypeScriptedCommandSynchronicity, "script-cmd-synchronicity", CommandCompletions::eNoCompletion, g_script_synchro_type, { nullptr, false }, "The synchronicity to use to run scripted commands with regard to LLDB event system." },
222  { lldb::eArgTypeScriptLang, "script-language", CommandCompletions::eNoCompletion, g_script_option_enumeration, { nullptr, false }, "The scripting language to be used for script-based commands. Supported languages are python and lua." },
223  { lldb::eArgTypeSearchWord, "search-word", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "Any word of interest for search purposes." },
224  { lldb::eArgTypeSelector, "selector", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "An Objective-C selector name." },
225  { lldb::eArgTypeSettingIndex, "setting-index", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "An index into a settings variable that is an array (try 'settings list' to see all the possible settings variables and their types)." },
226  { lldb::eArgTypeSettingKey, "setting-key", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "A key into a settings variables that is a dictionary (try 'settings list' to see all the possible settings variables and their types)." },
227  { lldb::eArgTypeSettingPrefix, "setting-prefix", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "The name of a settable internal debugger variable up to a dot ('.'), e.g. 'target.process.'" },
228  { lldb::eArgTypeSettingVariableName, "setting-variable-name", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "The name of a settable internal debugger variable. Type 'settings list' to see a complete list of such variables." },
229  { lldb::eArgTypeShlibName, "shlib-name", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "The name of a shared library." },
230  { lldb::eArgTypeSourceFile, "source-file", CommandCompletions::eSourceFileCompletion, {}, { nullptr, false }, "The name of a source file.." },
231  { lldb::eArgTypeSortOrder, "sort-order", CommandCompletions::eNoCompletion, g_sort_option_enumeration, { nullptr, false }, "Specify a sort order when dumping lists." },
232  { lldb::eArgTypeStartAddress, "start-address", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "Help text goes here." },
234  { lldb::eArgTypeSymbol, "symbol", CommandCompletions::eSymbolCompletion, {}, { nullptr, false }, "Any symbol name (function name, variable, argument, etc.)" },
235  { lldb::eArgTypeThreadID, "thread-id", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "Thread ID number." },
236  { lldb::eArgTypeThreadIndex, "thread-index", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "Index into the process' list of threads." },
237  { lldb::eArgTypeThreadName, "thread-name", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "The thread's name." },
238  { lldb::eArgTypeTypeName, "type-name", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "A type name." },
239  { lldb::eArgTypeUnsignedInteger, "unsigned-integer", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "An unsigned integer." },
240  { lldb::eArgTypeUnixSignal, "unix-signal", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "A valid Unix signal name or number (e.g. SIGKILL, KILL or 9)." },
241  { lldb::eArgTypeVarName, "variable-name", CommandCompletions::eNoCompletion, {} ,{ nullptr, false }, "The name of a variable in your program." },
242  { lldb::eArgTypeValue, "value", CommandCompletions::eNoCompletion, g_dependents_enumeration, { nullptr, false }, "A value could be anything, depending on where and how it is used." },
243  { lldb::eArgTypeWidth, "width", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "Help text goes here." },
244  { lldb::eArgTypeNone, "none", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "No help available for this." },
245  { lldb::eArgTypePlatform, "platform-name", CommandCompletions::ePlatformPluginCompletion, {}, { nullptr, false }, "The name of an installed platform plug-in . Type 'platform list' to see a complete list of installed platforms." },
246  { lldb::eArgTypeWatchpointID, "watchpt-id", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "Watchpoint IDs are positive integers." },
247  { lldb::eArgTypeWatchpointIDRange, "watchpt-id-list", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "For example, '1-3' or '1 to 3'." },
248  { lldb::eArgTypeWatchType, "watch-type", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "Specify the type for a watchpoint." },
249  { lldb::eArgRawInput, "raw-input", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "Free-form text passed to a command without prior interpretation, allowing spaces without requiring quotes. To pass arguments and free form text put two dashes ' -- ' between the last argument and any raw input." },
250  { lldb::eArgTypeCommand, "command", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "An LLDB Command line command element." },
251  { lldb::eArgTypeColumnNum, "column", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "Column number in a source file." },
252  { lldb::eArgTypeModuleUUID, "module-uuid", CommandCompletions::eModuleUUIDCompletion, {}, { nullptr, false }, "A module UUID value." },
253  { lldb::eArgTypeSaveCoreStyle, "corefile-style", CommandCompletions::eNoCompletion, g_corefile_save_style, { nullptr, false }, "The type of corefile that lldb will try to create, dependant on this target's capabilities." },
254  { lldb::eArgTypeLogHandler, "log-handler", CommandCompletions::eNoCompletion, g_log_handler_type ,{ nullptr, false }, "The log handle that will be used to write out log messages." },
255  { lldb::eArgTypeSEDStylePair, "substitution-pair", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "A sed-style pattern and target pair." },
256  { lldb::eArgTypeRecognizerID, "frame-recognizer-id", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "The ID for a stack frame recognizer." },
257  { lldb::eArgTypeConnectURL, "process-connect-url", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "A URL-style specification for a remote connection." },
258  { lldb::eArgTypeTargetID, "target-id", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "The index ID for an lldb Target." },
259  { lldb::eArgTypeStopHookID, "stop-hook-id", CommandCompletions::eNoCompletion, {}, { nullptr, false }, "The ID you receive when you create a stop-hook." },
260  // clang-format on
261 };
262 
263 static_assert((sizeof(g_argument_table) /
264  sizeof(CommandObject::ArgumentTableEntry)) ==
266  "number of elements in g_argument_table doesn't match "
267  "CommandArgumentType enumeration");
268 
269 } // namespace lldb_private
270 
271 #endif // LLDB_INTERPRETER_COMMANDOPTIONARGUMENTTABLE_H
lldb::eArgTypeThreadID
@ eArgTypeThreadID
Definition: lldb-enumerations.h:590
lldb::eArgTypeRegisterName
@ eArgTypeRegisterName
Definition: lldb-enumerations.h:572
lldb::eArgTypeColumnNum
@ eArgTypeColumnNum
Definition: lldb-enumerations.h:606
lldb::eArgTypeThreadIndex
@ eArgTypeThreadIndex
Definition: lldb-enumerations.h:591
lldb_private::CommandCompletions::ePlatformPluginCompletion
@ ePlatformPluginCompletion
Definition: CommandCompletions.h:35
lldb_private::eSortOrderByAddress
@ eSortOrderByAddress
Definition: lldb-private-enumerations.h:110
lldb_private::eLogHandlerSystem
@ eLogHandlerSystem
Definition: lldb-private-enumerations.h:224
lldb::eArgTypeSettingKey
@ eArgTypeSettingKey
Definition: lldb-enumerations.h:581
lldb::eArgTypeAddress
@ eArgTypeAddress
Definition: lldb-enumerations.h:520
lldb::eArgTypeExprFormat
@ eArgTypeExprFormat
Definition: lldb-enumerations.h:539
lldb::eArgTypeHelpText
@ eArgTypeHelpText
Definition: lldb-enumerations.h:548
lldb_private::CommandCompletions::eProcessPluginCompletion
@ eProcessPluginCompletion
Definition: CommandCompletions.h:40
lldb::eArgTypeSummaryString
@ eArgTypeSummaryString
Definition: lldb-enumerations.h:588
lldb::eArgTypeQueueName
@ eArgTypeQueueName
Definition: lldb-enumerations.h:571
lldb_private::RegisterNameHelpTextCallback
llvm::StringRef RegisterNameHelpTextCallback()
Definition: CommandOptionArgumentTable.cpp:18
lldb::eArgTypeRunMode
@ eArgTypeRunMode
Definition: lldb-enumerations.h:575
lldb::eArgTypeLogHandler
@ eArgTypeLogHandler
Definition: lldb-enumerations.h:609
lldb::eArgTypeWatchpointIDRange
@ eArgTypeWatchpointIDRange
Definition: lldb-enumerations.h:602
lldb_private::CommandCompletions::eModuleUUIDCompletion
@ eModuleUUIDCompletion
Definition: CommandCompletions.h:44
lldb_private::LanguageTypeHelpTextCallback
llvm::StringRef LanguageTypeHelpTextCallback()
Definition: CommandOptionArgumentTable.cpp:163
lldb::eArgTypeStopHookID
@ eArgTypeStopHookID
Definition: lldb-enumerations.h:614
lldb::eArgTypeBreakpointName
@ eArgTypeBreakpointName
Definition: lldb-enumerations.h:528
lldb::eArgTypeAliasOptions
@ eArgTypeAliasOptions
Definition: lldb-enumerations.h:523
lldb::eArgTypeCommand
@ eArgTypeCommand
Definition: lldb-enumerations.h:605
lldb::eArgTypeAddressOrExpression
@ eArgTypeAddressOrExpression
Definition: lldb-enumerations.h:521
lldb_private::g_description_verbosity_type
static constexpr OptionEnumValueElement g_description_verbosity_type[]
Definition: CommandOptionArgumentTable.h:24
lldb::eArgTypeLogChannel
@ eArgTypeLogChannel
Definition: lldb-enumerations.h:553
lldb::eArgTypeCommandName
@ eArgTypeCommandName
Definition: lldb-enumerations.h:531
lldb_private::SummaryStringHelpTextCallback
llvm::StringRef SummaryStringHelpTextCallback()
Definition: CommandOptionArgumentTable.cpp:181
lldb_private::CommandCompletions::eProcessNameCompletion
@ eProcessNameCompletion
Definition: CommandCompletions.h:50
lldb::eArgTypeOldPathPrefix
@ eArgTypeOldPathPrefix
Definition: lldb-enumerations.h:560
lldb_private::eLoadDependentsDefault
@ eLoadDependentsDefault
Definition: lldb-private-enumerations.h:229
lldb::eArgTypeExpression
@ eArgTypeExpression
Definition: lldb-enumerations.h:537
lldb::eArgTypeDescriptionVerbosity
@ eArgTypeDescriptionVerbosity
Definition: lldb-enumerations.h:533
lldb::eArgTypeFilename
@ eArgTypeFilename
Definition: lldb-enumerations.h:541
lldb::eArgTypeRunArgs
@ eArgTypeRunArgs
Definition: lldb-enumerations.h:574
lldb::eArgTypeProcessName
@ eArgTypeProcessName
Definition: lldb-enumerations.h:567
lldb::eArgTypeSettingPrefix
@ eArgTypeSettingPrefix
Definition: lldb-enumerations.h:582
lldb_private::CommandCompletions::eProcessIDCompletion
@ eProcessIDCompletion
Definition: CommandCompletions.h:49
lldb::eArgTypeValue
@ eArgTypeValue
Definition: lldb-enumerations.h:597
lldb::eArgTypeScriptLang
@ eArgTypeScriptLang
Definition: lldb-enumerations.h:577
lldb::eArgTypePythonFunction
@ eArgTypePythonFunction
Definition: lldb-enumerations.h:569
lldb_private::arch_helper
llvm::StringRef arch_helper()
Definition: CommandOptionArgumentTable.cpp:291
lldb::eArgTypeTypeName
@ eArgTypeTypeName
Definition: lldb-enumerations.h:593
lldb::eArgTypeLineNum
@ eArgTypeLineNum
Definition: lldb-enumerations.h:551
lldb_private::CommandCompletions::eTypeCategoryNameCompletion
@ eTypeCategoryNameCompletion
Definition: CommandCompletions.h:53
lldb_private::g_log_handler_type
static constexpr OptionEnumValueElement g_log_handler_type[]
Definition: CommandOptionArgumentTable.h:101
lldb::eArgTypePath
@ eArgTypePath
Definition: lldb-enumerations.h:562
lldb_private::eSortOrderNone
@ eSortOrderNone
Definition: lldb-private-enumerations.h:110
lldb::eSaveCoreStackOnly
@ eSaveCoreStackOnly
Definition: lldb-enumerations.h:1171
lldb::eArgTypeArchitecture
@ eArgTypeArchitecture
Definition: lldb-enumerations.h:524
lldb::eScriptLanguageNone
@ eScriptLanguageNone
Definition: lldb-enumerations.h:218
lldb_private::BreakpointNameHelpTextCallback
llvm::StringRef BreakpointNameHelpTextCallback()
Definition: CommandOptionArgumentTable.cpp:74
lldb_private::CommandCompletions::eFrameIndexCompletion
@ eFrameIndexCompletion
Definition: CommandCompletions.h:43
lldb::eArgTypeVarName
@ eArgTypeVarName
Definition: lldb-enumerations.h:596
lldb::eArgTypeThreadName
@ eArgTypeThreadName
Definition: lldb-enumerations.h:592
lldb::eArgTypeShlibName
@ eArgTypeShlibName
Definition: lldb-enumerations.h:584
lldb::eArgTypeByteSize
@ eArgTypeByteSize
Definition: lldb-enumerations.h:529
lldb::eArgTypeDisassemblyFlavor
@ eArgTypeDisassemblyFlavor
Definition: lldb-enumerations.h:535
lldb::eArgTypeFunctionName
@ eArgTypeFunctionName
Definition: lldb-enumerations.h:545
lldb::eArgTypeNumberPerLine
@ eArgTypeNumberPerLine
Definition: lldb-enumerations.h:558
lldb_private::CommandCompletions::eSourceFileCompletion
@ eSourceFileCompletion
Definition: CommandCompletions.h:29
lldb::eArgTypeSEDStylePair
@ eArgTypeSEDStylePair
Definition: lldb-enumerations.h:610
lldb::eArgTypeCount
@ eArgTypeCount
Definition: lldb-enumerations.h:532
lldb::eArgTypeLastArg
@ eArgTypeLastArg
Definition: lldb-enumerations.h:615
lldb_private::eScriptedCommandSynchronicityAsynchronous
@ eScriptedCommandSynchronicityAsynchronous
Definition: lldb-private-enumerations.h:148
lldb::eSaveCoreDirtyOnly
@ eSaveCoreDirtyOnly
Definition: lldb-enumerations.h:1170
lldb::eArgTypeConnectURL
@ eArgTypeConnectURL
Definition: lldb-enumerations.h:612
lldb::eArgTypeSourceFile
@ eArgTypeSourceFile
Definition: lldb-enumerations.h:585
lldb_private::eLoadDependentsNo
@ eLoadDependentsNo
Definition: lldb-private-enumerations.h:231
lldb::eArgTypePythonClass
@ eArgTypePythonClass
Definition: lldb-enumerations.h:568
lldb_private::g_script_synchro_type
static constexpr OptionEnumValueElement g_script_synchro_type[]
Definition: CommandOptionArgumentTable.h:127
lldb_private::eLogHandlerCircular
@ eLogHandlerCircular
Definition: lldb-private-enumerations.h:223
lldb::eArgTypeIndex
@ eArgTypeIndex
Definition: lldb-enumerations.h:549
lldb::eArgTypeBreakpointID
@ eArgTypeBreakpointID
Definition: lldb-enumerations.h:526
lldb_private::CommandCompletions::eNoCompletion
@ eNoCompletion
Definition: CommandCompletions.h:28
lldb::eArgTypeEndAddress
@ eArgTypeEndAddress
Definition: lldb-enumerations.h:536
lldb::eArgTypeTargetID
@ eArgTypeTargetID
Definition: lldb-enumerations.h:613
lldb::eArgTypePlatform
@ eArgTypePlatform
Definition: lldb-enumerations.h:600
lldb_private::g_dependents_enumeration
static constexpr OptionEnumValueElement g_dependents_enumeration[]
Definition: CommandOptionArgumentTable.h:57
lldb::eArgTypeFrameIndex
@ eArgTypeFrameIndex
Definition: lldb-enumerations.h:543
lldb::eScriptLanguagePython
@ eScriptLanguagePython
Definition: lldb-enumerations.h:219
lldb::eArgTypeAliasName
@ eArgTypeAliasName
Definition: lldb-enumerations.h:522
lldb::eArgTypeNumLines
@ eArgTypeNumLines
Definition: lldb-enumerations.h:557
lldb::eArgTypeRegularExpression
@ eArgTypeRegularExpression
Definition: lldb-enumerations.h:573
lldb_private::FormatHelpTextCallback
llvm::StringRef FormatHelpTextCallback()
Definition: CommandOptionArgumentTable.cpp:136
lldb::eArgTypeRecognizerID
@ eArgTypeRecognizerID
Definition: lldb-enumerations.h:611
lldb::eArgTypeSymbol
@ eArgTypeSymbol
Definition: lldb-enumerations.h:589
lldb::eArgTypeUnixSignal
@ eArgTypeUnixSignal
Definition: lldb-enumerations.h:595
lldb::eArgTypeWidth
@ eArgTypeWidth
Definition: lldb-enumerations.h:598
lldb::eArgTypeGDBFormat
@ eArgTypeGDBFormat
Definition: lldb-enumerations.h:547
lldb_private::BreakpointIDRangeHelpTextCallback
llvm::StringRef BreakpointIDRangeHelpTextCallback()
Definition: CommandOptionArgumentTable.cpp:55
lldb::eArgTypeStartAddress
@ eArgTypeStartAddress
Definition: lldb-enumerations.h:587
lldb_private::g_sort_option_enumeration
static constexpr OptionEnumValueElement g_sort_option_enumeration[]
Definition: CommandOptionArgumentTable.h:37
lldb::eArgTypeOneLiner
@ eArgTypeOneLiner
Definition: lldb-enumerations.h:561
lldb_private::eScriptedCommandSynchronicitySynchronous
@ eScriptedCommandSynchronicitySynchronous
Definition: lldb-private-enumerations.h:147
lldb::eArgTypePermissionsNumber
@ eArgTypePermissionsNumber
Definition: lldb-enumerations.h:563
lldb_private::eLogHandlerDefault
@ eLogHandlerDefault
Definition: lldb-private-enumerations.h:225
lldb_private::ExprPathHelpTextCallback
llvm::StringRef ExprPathHelpTextCallback()
Definition: CommandOptionArgumentTable.cpp:256
lldb::eArgTypeSaveCoreStyle
@ eArgTypeSaveCoreStyle
Definition: lldb-enumerations.h:608
lldb_private::CommandCompletions::eDiskDirectoryCompletion
@ eDiskDirectoryCompletion
Definition: CommandCompletions.h:31
lldb_private::eLoadDependentsYes
@ eLoadDependentsYes
Definition: lldb-private-enumerations.h:230
lldb::eArgTypeSelector
@ eArgTypeSelector
Definition: lldb-enumerations.h:579
lldb::eArgTypePythonScript
@ eArgTypePythonScript
Definition: lldb-enumerations.h:570
lldb_private::eLogHandlerStream
@ eLogHandlerStream
Definition: lldb-private-enumerations.h:221
lldb_private::CommandCompletions::eDisassemblyFlavorCompletion
@ eDisassemblyFlavorCompletion
Definition: CommandCompletions.h:41
lldb::eArgTypePlugin
@ eArgTypePlugin
Definition: lldb-enumerations.h:566
lldb::eArgTypeLanguage
@ eArgTypeLanguage
Definition: lldb-enumerations.h:550
lldb_private::g_running_mode
static constexpr OptionEnumValueElement g_running_mode[]
Definition: CommandOptionArgumentTable.h:145
lldb::eSaveCoreFull
@ eSaveCoreFull
Definition: lldb-enumerations.h:1169
lldb_private::CommandCompletions::eBreakpointNameCompletion
@ eBreakpointNameCompletion
Definition: CommandCompletions.h:48
lldb::eArgTypeFunctionOrSymbol
@ eArgTypeFunctionOrSymbol
Definition: lldb-enumerations.h:546
lldb::eArgTypePid
@ eArgTypePid
Definition: lldb-enumerations.h:565
CommandObject.h
lldb_private::GDBFormatHelpTextCallback
llvm::StringRef GDBFormatHelpTextCallback()
Definition: CommandOptionArgumentTable.cpp:99
lldb::eArgTypeWatchpointID
@ eArgTypeWatchpointID
Definition: lldb-enumerations.h:601
lldb_private::eLanguageRuntimeDescriptionDisplayVerbosityFull
@ eLanguageRuntimeDescriptionDisplayVerbosityFull
Definition: lldb-private-enumerations.h:158
lldb::eOnlyDuringStepping
@ eOnlyDuringStepping
Definition: lldb-enumerations.h:136
lldb::eArgTypeNone
@ eArgTypeNone
Definition: lldb-enumerations.h:599
lldb_private::eScriptedCommandSynchronicityCurrentValue
@ eScriptedCommandSynchronicityCurrentValue
Definition: lldb-private-enumerations.h:149
lldb::eArgTypeMethod
@ eArgTypeMethod
Definition: lldb-enumerations.h:554
lldb::eArgTypeName
@ eArgTypeName
Definition: lldb-enumerations.h:555
lldb::eArgTypeModuleUUID
@ eArgTypeModuleUUID
Definition: lldb-enumerations.h:607
lldb::eArgTypeBreakpointIDRange
@ eArgTypeBreakpointIDRange
Definition: lldb-enumerations.h:527
lldb_private::BreakpointIDHelpTextCallback
llvm::StringRef BreakpointIDHelpTextCallback()
Definition: CommandOptionArgumentTable.cpp:36
lldb::eArgTypeWatchType
@ eArgTypeWatchType
Definition: lldb-enumerations.h:603
lldb::eArgTypeSearchWord
@ eArgTypeSearchWord
Definition: lldb-enumerations.h:578
lldb::eArgTypeUnsignedInteger
@ eArgTypeUnsignedInteger
Definition: lldb-enumerations.h:594
lldb::eArgTypeScriptedCommandSynchronicity
@ eArgTypeScriptedCommandSynchronicity
Definition: lldb-enumerations.h:576
lldb::eArgTypeFullName
@ eArgTypeFullName
Definition: lldb-enumerations.h:544
lldb_private::CommandObject::ArgumentTableEntry
Entries in the main argument information table.
Definition: CommandObject.h:82
lldb::eArgTypeBoolean
@ eArgTypeBoolean
Definition: lldb-enumerations.h:525
lldb::eArgTypeLogCategory
@ eArgTypeLogCategory
Definition: lldb-enumerations.h:552
lldb::eArgTypeSettingVariableName
@ eArgTypeSettingVariableName
Definition: lldb-enumerations.h:583
lldb::eArgTypeSettingIndex
@ eArgTypeSettingIndex
Definition: lldb-enumerations.h:580
lldb::eArgTypeFormat
@ eArgTypeFormat
Definition: lldb-enumerations.h:542
lldb_private::CommandCompletions::eTypeLanguageCompletion
@ eTypeLanguageCompletion
Definition: CommandCompletions.h:42
lldb::eArgTypeFileLineColumn
@ eArgTypeFileLineColumn
Definition: lldb-enumerations.h:540
lldb::eArgTypeNewPathPrefix
@ eArgTypeNewPathPrefix
Definition: lldb-enumerations.h:556
lldb_private::g_corefile_save_style
static constexpr OptionEnumValueElement g_corefile_save_style[]
Definition: CommandOptionArgumentTable.h:16
lldb_private
A class that represents a running process on the host machine.
Definition: SBCommandInterpreterRunOptions.h:16
lldb_private::g_script_option_enumeration
static constexpr OptionEnumValueElement g_script_option_enumeration[]
Definition: CommandOptionArgumentTable.h:78
lldb::eArgTypeClassName
@ eArgTypeClassName
Definition: lldb-enumerations.h:530
lldb::eAllThreads
@ eAllThreads
Definition: lldb-enumerations.h:136
lldb_private::eSortOrderByName
@ eSortOrderByName
Definition: lldb-private-enumerations.h:110
lldb::eScriptLanguageLua
@ eScriptLanguageLua
Definition: lldb-enumerations.h:220
lldb::eArgTypeSortOrder
@ eArgTypeSortOrder
Definition: lldb-enumerations.h:586
lldb_private::g_argument_table
static constexpr CommandObject::ArgumentTableEntry g_argument_table[]
Definition: CommandOptionArgumentTable.h:163
lldb_private::CommandCompletions::eArchitectureCompletion
@ eArchitectureCompletion
Definition: CommandCompletions.h:36
lldb::eArgRawInput
@ eArgRawInput
Definition: lldb-enumerations.h:604
lldb::eArgTypeDirectoryName
@ eArgTypeDirectoryName
Definition: lldb-enumerations.h:534
lldb_private::eLanguageRuntimeDescriptionDisplayVerbosityCompact
@ eLanguageRuntimeDescriptionDisplayVerbosityCompact
Definition: lldb-private-enumerations.h:155
lldb::eArgTypeExpressionPath
@ eArgTypeExpressionPath
Definition: lldb-enumerations.h:538
lldb_private::CommandCompletions::eDiskFileCompletion
@ eDiskFileCompletion
Definition: CommandCompletions.h:30
lldb::eArgTypePermissionsString
@ eArgTypePermissionsString
Definition: lldb-enumerations.h:564
lldb::eArgTypeOffset
@ eArgTypeOffset
Definition: lldb-enumerations.h:559
lldb::eOnlyThisThread
@ eOnlyThisThread
Definition: lldb-enumerations.h:136
lldb_private::CommandCompletions::eSymbolCompletion
@ eSymbolCompletion
Definition: CommandCompletions.h:32