1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
| /*===- TableGen'erated file -------------------------------------*- C++ -*-===*\
|* *|
|* Option Parsing Definitions *|
|* *|
|* Automatically generated file, do not edit! *|
|* *|
\*===----------------------------------------------------------------------===*/
/////////
// Prefixes
#ifdef PREFIX
#define COMMA ,
PREFIX(prefix_0, {nullptr})
PREFIX(prefix_2, {"-" COMMA nullptr})
PREFIX(prefix_3, {"--" COMMA nullptr})
PREFIX(prefix_1, {"--" COMMA "-" COMMA nullptr})
#undef COMMA
#endif // PREFIX
/////////
// Groups
#ifdef OPTION
OPTION(nullptr, "attaching", grp_attach, Group, INVALID, INVALID, nullptr, 0, 0,
"ATTACHING", nullptr, nullptr)
OPTION(nullptr, "command", grp_command, Group, INVALID, INVALID, nullptr, 0, 0,
"COMMANDS", nullptr, nullptr)
OPTION(nullptr, "repl", grp_repl, Group, INVALID, INVALID, nullptr, 0, 0,
"REPL", nullptr, nullptr)
OPTION(nullptr, "scripting", grp_scripting, Group, INVALID, INVALID, nullptr, 0, 0,
"SCRIPTING", nullptr, nullptr)
//////////
// Options
OPTION(prefix_0, "<input>", INPUT, Input, INVALID, INVALID, nullptr, 0, 0, nullptr, nullptr, nullptr)
OPTION(prefix_0, "<unknown>", UNKNOWN, Unknown, INVALID, INVALID, nullptr, 0, 0, nullptr, nullptr, nullptr)
OPTION(prefix_1, "arch", arch, Separate, INVALID, INVALID, nullptr, 0, 0,
"Tells the debugger to use the specified architecture when starting and running the program.", "<architecture>", nullptr)
OPTION(prefix_1, "attach-name", attach_name, Separate, grp_attach, INVALID, nullptr, 0, 0,
"Tells the debugger to attach to a process with the given name.", "<name>", nullptr)
OPTION(prefix_1, "attach-pid", attach_pid, Separate, grp_attach, INVALID, nullptr, 0, 0,
"Tells the debugger to attach to a process with the given pid.", "<pid>", nullptr)
OPTION(prefix_2, "a", anonymous_23, Separate, INVALID, arch, nullptr, 0, 0,
"Alias for --arch", nullptr, nullptr)
OPTION(prefix_1, "batch", batch, Flag, grp_command, INVALID, nullptr, 0, 0,
"Tells the debugger to run the commands from -s, -S, -o & -O, and then quit.", nullptr, nullptr)
OPTION(prefix_2, "b", anonymous_9, Flag, grp_command, batch, nullptr, 0, 0,
"Alias for --batch", nullptr, nullptr)
OPTION(prefix_1, "capture-path", capture_path, Separate, INVALID, INVALID, nullptr, 0, 0,
"Tells the debugger to use the given filename for the reproducer.", "<filename>", nullptr)
OPTION(prefix_1, "capture", capture, Flag, INVALID, INVALID, nullptr, 0, 0,
"Tells the debugger to capture a reproducer.", nullptr, nullptr)
OPTION(prefix_1, "core", core, Separate, INVALID, INVALID, nullptr, 0, 0,
"Tells the debugger to use the full path to <filename> as the core file.", "<filename>", nullptr)
OPTION(prefix_2, "c", anonymous_19, Separate, INVALID, core, nullptr, 0, 0,
"Alias for --core", nullptr, nullptr)
OPTION(prefix_1, "debug", debug, Flag, INVALID, INVALID, nullptr, 0, 0,
"Tells the debugger to print out extra information for debugging itself.", nullptr, nullptr)
OPTION(prefix_2, "d", anonymous_24, Flag, INVALID, debug, nullptr, 0, 0,
"Alias for --debug", nullptr, nullptr)
OPTION(prefix_1, "editor", editor, Flag, INVALID, INVALID, nullptr, 0, 0,
"Tells the debugger to open source files using the host's \"external editor\" mechanism.", nullptr, nullptr)
OPTION(prefix_2, "e", anonymous_20, Flag, INVALID, editor, nullptr, 0, 0,
"Alias for --editor", nullptr, nullptr)
OPTION(prefix_1, "file", file, Separate, INVALID, INVALID, nullptr, 0, 0,
"Tells the debugger to use the file <filename> as the program to be debugged.", "<filename>", nullptr)
OPTION(prefix_2, "f", anonymous_22, Separate, INVALID, file, nullptr, 0, 0,
"Alias for --file", nullptr, nullptr)
OPTION(prefix_1, "help", help, Flag, INVALID, INVALID, nullptr, 0, 0,
"Prints out the usage information for the LLDB debugger.", nullptr, nullptr)
OPTION(prefix_2, "h", anonymous_18, Flag, INVALID, help, nullptr, 0, 0,
"Alias for --help", nullptr, nullptr)
OPTION(prefix_2, "K", anonymous_12, Separate, grp_command, source_on_crash, nullptr, 0, 0,
"Alias for --source-on-crash", nullptr, nullptr)
OPTION(prefix_2, "k", anonymous_11, Separate, grp_command, one_line_on_crash, nullptr, 0, 0,
"Alias for --one-line-on-crash", nullptr, nullptr)
OPTION(prefix_1, "local-lldbinit", local_lldbinit, Flag, grp_command, INVALID, nullptr, 0, 0,
"Allow the debugger to parse the .lldbinit files in the current working directory, unless --no-lldbinit is passed.", nullptr, nullptr)
OPTION(prefix_2, "l", anonymous_4, Separate, grp_scripting, script_language, nullptr, 0, 0,
"Alias for --script-language", nullptr, nullptr)
OPTION(prefix_1, "no-lldbinit", no_lldbinit, Flag, grp_command, INVALID, nullptr, 0, 0,
"Do not automatically parse any '.lldbinit' files.", nullptr, nullptr)
OPTION(prefix_1, "no-use-colors", no_use_colors, Flag, INVALID, INVALID, nullptr, 0, 0,
"Do not use colors.", nullptr, nullptr)
OPTION(prefix_2, "n", anonymous_0, Separate, grp_attach, attach_name, nullptr, 0, 0,
"Alias for --attach-name", nullptr, nullptr)
OPTION(prefix_1, "one-line-before-file", one_line_before_file, Separate, grp_command, INVALID, nullptr, 0, 0,
"Tells the debugger to execute this one-line lldb command before any file provided on the command line has been loaded.", "<command>", nullptr)
OPTION(prefix_1, "one-line-on-crash", one_line_on_crash, Separate, grp_command, INVALID, nullptr, 0, 0,
"When in batch mode, tells the debugger to source this file of lldb commands if the target crashes.", "<command>", nullptr)
OPTION(prefix_1, "one-line", one_line, Separate, grp_command, INVALID, nullptr, 0, 0,
"Tells the debugger to execute this one-line lldb command after any file provided on the command line has been loaded.", "<command>", nullptr)
OPTION(prefix_2, "O", anonymous_16, Separate, grp_command, one_line_before_file, nullptr, 0, 0,
"Alias for --one-line-before-file", nullptr, nullptr)
OPTION(prefix_2, "o", anonymous_15, Separate, grp_command, one_line, nullptr, 0, 0,
"Alias for --one-line", nullptr, nullptr)
OPTION(prefix_1, "python-path", python_path, Flag, grp_scripting, INVALID, nullptr, 0, 0,
"Prints out the path to the lldb.py file for this version of lldb.", nullptr, nullptr)
OPTION(prefix_2, "P", anonymous_3, Flag, grp_scripting, python_path, nullptr, 0, 0,
"Alias for --python-path", nullptr, nullptr)
OPTION(prefix_2, "p", anonymous_2, Separate, grp_attach, attach_pid, nullptr, 0, 0,
"Alias for --attach-pid", nullptr, nullptr)
OPTION(prefix_2, "Q", anonymous_10, Flag, grp_command, source_quietly, nullptr, 0, 0,
"Alias for --source-quietly", nullptr, nullptr)
OPTION(prefix_2, "r=", anonymous_6, Joined, grp_repl, repl_, nullptr, 0, 0,
"Alias for --repl=<flags>", "<flags>", nullptr)
OPTION(prefix_1, "repl-language", repl_language, Separate, grp_repl, INVALID, nullptr, 0, 0,
"Chooses the language for the REPL.", "<language>", nullptr)
OPTION(prefix_1, "repl=", repl_, Joined, grp_repl, INVALID, nullptr, 0, 0,
"Runs lldb in REPL mode with a stub process with the given flags.", "<flags>", nullptr)
OPTION(prefix_1, "replay", replay, Separate, INVALID, INVALID, nullptr, 0, 0,
"Tells the debugger to replay a reproducer from <filename>.", "<filename>", nullptr)
OPTION(prefix_1, "repl", repl, Flag, grp_repl, INVALID, nullptr, 0, 0,
"Runs lldb in REPL mode with a stub process.", nullptr, nullptr)
OPTION(prefix_2, "R", anonymous_7, Separate, grp_repl, repl_language, nullptr, 0, 0,
"Alias for --repl-language", nullptr, nullptr)
OPTION(prefix_2, "r", anonymous_5, Flag, grp_repl, repl, nullptr, 0, 0,
"Alias for --repl", nullptr, nullptr)
OPTION(prefix_1, "script-language", script_language, Separate, grp_scripting, INVALID, nullptr, 0, 0,
"Tells the debugger to use the specified scripting language for user-defined scripts.", "<language>", nullptr)
OPTION(prefix_1, "source-before-file", source_before_file, Separate, grp_command, INVALID, nullptr, 0, 0,
"Tells the debugger to read in and execute the lldb commands in the given file, before any file has been loaded.", "<file>", nullptr)
OPTION(prefix_1, "source-on-crash", source_on_crash, Separate, grp_command, INVALID, nullptr, 0, 0,
"When in batch mode, tells the debugger to source this file of lldb commands if the target crashes.", "<file>", nullptr)
OPTION(prefix_1, "source-quietly", source_quietly, Flag, grp_command, INVALID, nullptr, 0, 0,
"Tells the debugger to execute this one-line lldb command before any file has been loaded.", nullptr, nullptr)
OPTION(prefix_1, "source", source, Separate, grp_command, INVALID, nullptr, 0, 0,
"Tells the debugger to read in and execute the lldb commands in the given file, after any file has been loaded.", "<file>", nullptr)
OPTION(prefix_2, "S", anonymous_14, Separate, grp_command, source_before_file, nullptr, 0, 0,
"Alias for --source-before-file", nullptr, nullptr)
OPTION(prefix_2, "s", anonymous_13, Separate, grp_command, source, nullptr, 0, 0,
"Alias for --source", nullptr, nullptr)
OPTION(prefix_1, "version", version, Flag, INVALID, INVALID, nullptr, 0, 0,
"Prints out the current version number of the LLDB debugger.", nullptr, nullptr)
OPTION(prefix_2, "v", anonymous_17, Flag, INVALID, version, nullptr, 0, 0,
"Alias for --version", nullptr, nullptr)
OPTION(prefix_1, "wait-for", wait_for, Flag, grp_attach, INVALID, nullptr, 0, 0,
"Tells the debugger to wait for a process with the given pid or name to launch before attaching.", nullptr, nullptr)
OPTION(prefix_2, "w", anonymous_1, Flag, grp_attach, wait_for, nullptr, 0, 0,
"Alias for --wait-for", nullptr, nullptr)
OPTION(prefix_2, "X", anonymous_21, Flag, INVALID, no_use_colors, nullptr, 0, 0,
"Alias for --no-use-color", nullptr, nullptr)
OPTION(prefix_2, "x", anonymous_8, Flag, grp_command, no_lldbinit, nullptr, 0, 0,
"Alias for --no-lldbinit", nullptr, nullptr)
OPTION(prefix_3, "", REM, RemainingArgs, INVALID, INVALID, nullptr, 0, 0, nullptr, nullptr, nullptr)
#endif // OPTION
#ifdef OPTTABLE_ARG_INIT
//////////
// Option Values
#endif // OPTTABLE_ARG_INIT
|