1/*===- TableGen'erated file -------------------------------------*- C++ -*-===*\
2|* *|
3|* Option Parsing Definitions *|
4|* *|
5|* Automatically generated file, do not edit! *|
6|* *|
7\*===----------------------------------------------------------------------===*/
8
9/////////
10// String table
11
12#ifdef OPTTABLE_STR_TABLE_CODE
13
14#ifdef __GNUC__
15#pragma GCC diagnostic push
16#pragma GCC diagnostic ignored "-Woverlength-strings"
17#endif
18static constexpr char OptionStrTableStorage[] =
19 "\0"
20 "-\0"
21 "--\0"
22 "kind\0"
23 "<input>\0"
24 "<unknown>\0"
25 "-arch\0"
26 "-a\0"
27 "-B\0"
28 "-chained_fixups\0"
29 "-C\0"
30 "-dyld_info\0"
31 "-D\0"
32 "-d\0"
33 "-f\0"
34 "-G\0"
35 "--help-hidden\0"
36 "--help\0"
37 "-H\0"
38 "-h\0"
39 "-I\0"
40 "-j\0"
41 "-L\0"
42 "-l\0"
43 "-mcpu=\0"
44 "-M\0"
45 "-m\0"
46 "-o\0"
47 "-P\0"
48 "-p\0"
49 "-Q\0"
50 "-q\0"
51 "-R\0"
52 "-r\0"
53 "-S\0"
54 "-s\0"
55 "-T\0"
56 "-t\0"
57 "--version\0"
58 "-V\0"
59 "-v\0"
60 "-X\0"
61 "-x\0"
62 ;
63#ifdef __GNUC__
64#pragma GCC diagnostic pop
65#endif
66
67static constexpr llvm::StringTable
68OptionStrTable = OptionStrTableStorage;
69#endif // OPTTABLE_STR_TABLE_CODE
70
71/////////
72// Prefixes
73
74#ifdef OPTTABLE_PREFIXES_TABLE_CODE
75static constexpr llvm::StringTable::Offset OptionPrefixesTable[] = {
76 0 /* prefixes */,
77 1 /* prefixes */, 1 /* '-' */,
78 1 /* prefixes */, 3 /* '--' */
79};
80#endif // OPTTABLE_PREFIXES_TABLE_CODE
81
82/////////// SubCommand IDs
83
84#ifdef OPTTABLE_SUBCOMMAND_IDS_TABLE_CODE
85static constexpr unsigned OptionSubCommandIDsTable[] = {
86 0 /* subcommands */
87};
88#endif // OPTTABLE_SUBCOMMAND_IDS_TABLE_CODE
89
90/////////
91// Prefix Union
92
93#ifdef OPTTABLE_PREFIXES_UNION_CODE
94static constexpr llvm::StringTable::Offset OptionPrefixesUnion[] = {
95 1 /* '-' */, 3 /* '--' */
96};
97#endif // OPTTABLE_PREFIXES_UNION_CODE
98
99/////////
100// ValuesCode
101
102#ifdef OPTTABLE_VALUES_CODE
103#endif
104/////////
105// Groups
106
107#ifdef OPTION
108OPTION(0 /* no prefixes */, 6 /* kind */, grp_obsolete, Group, INVALID, INVALID, nullptr, 0, 0, 0,
109 "Obsolete and unsupported flags", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
110
111//////////
112// Options
113
114OPTION(0, 11 /* <input> */, INPUT, Input, INVALID, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
115OPTION(0, 19 /* <unknown> */, UNKNOWN, Unknown, INVALID, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
116OPTION(1, 29 /* -arch */, arch, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
117 "select slice of universal Mach-O file", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
118OPTION(1, 35 /* -a */, a, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
119 "print archive header", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
120OPTION(1, 38 /* -B */, anonymous_1, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0,
121 "force Thum disassembly (ARM 32-bit objects only)", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
122OPTION(1, 41 /* -chained_fixups */, chained_fixups, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
123 "print chained fixup information", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
124OPTION(1, 57 /* -C */, C, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
125 "print linker optimization hints", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
126OPTION(1, 60 /* -dyld_info */, dyld_info, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
127 "print bind and rebase information", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
128OPTION(1, 71 /* -D */, D, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
129 "print shared library id", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
130OPTION(1, 74 /* -d */, d, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
131 "print data section", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
132OPTION(1, 77 /* -f */, f, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
133 "print universal headers", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
134OPTION(1, 80 /* -G */, G, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
135 "print data-in-code table", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
136OPTION(3, 83 /* --help-hidden */, help_hidden, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
137 "print help for hidden flags", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
138OPTION(3, 97 /* --help */, help, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
139 "print help", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
140OPTION(1, 104 /* -H */, anonymous_2, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0,
141 "print two-level hints table", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
142OPTION(1, 107 /* -h */, h, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
143 "print mach header", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
144OPTION(1, 110 /* -I */, I, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
145 "print indirect symbol table", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
146OPTION(1, 113 /* -j */, j, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
147 "print opcode bytes", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
148OPTION(1, 116 /* -L */, L, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
149 "print used shared libraries", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
150OPTION(1, 119 /* -l */, l, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
151 "print load commands", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
152OPTION(1, 122 /* -mcpu= */, mcpu_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
153 "select cpu for disassembly", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
154OPTION(1, 129 /* -M */, anonymous_3, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0,
155 "print module table of shared library", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
156OPTION(1, 132 /* -m */, m, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
157 "don't use archive(member) syntax", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
158OPTION(1, 135 /* -o */, o, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
159 "print Objective-C segment", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
160OPTION(1, 138 /* -P */, P, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
161 "print __TEXT,__info_plist section as strings", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
162OPTION(1, 141 /* -p */, p, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
163 "start disassembly at <function name>", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<function name>", nullptr, 0)
164OPTION(1, 144 /* -Q */, anonymous_7, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0,
165 "llvm-otool cannot use otool-classic's disassembler", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
166OPTION(1, 147 /* -q */, anonymous_0, Flag, INVALID, INVALID, nullptr, HelpHidden, DefaultVis, 0,
167 "use LLVM's disassembler (default)", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
168OPTION(1, 150 /* -R */, anonymous_4, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0,
169 "print reference table of shared library", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
170OPTION(1, 153 /* -r */, r, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
171 "print relocation entries", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
172OPTION(1, 156 /* -S */, anonymous_5, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0,
173 "print table of contents of library", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
174OPTION(1, 159 /* -s */, s, MultiArg, INVALID, INVALID, nullptr, 0, DefaultVis, 2,
175 "print contents of section", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<segname> <sectname>", nullptr, 0)
176OPTION(1, 162 /* -T */, anonymous_6, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0,
177 "print table of contents of shared library", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
178OPTION(1, 165 /* -t */, t, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
179 "print text section", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
180OPTION(3, 168 /* --version */, version, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
181 "print version", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
182OPTION(1, 178 /* -V */, V, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
183 "symbolize disassembled operands (implies -v)", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
184OPTION(1, 181 /* -v */, v, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
185 "verbose output / disassemble when printing text sections", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
186OPTION(1, 184 /* -X */, X, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
187 "omit leading addresses or headers", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
188OPTION(1, 187 /* -x */, x, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
189 "print all text sections", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
190#endif // OPTION
191
192#ifdef SIMPLE_ENUM_VALUE_TABLE
193
194struct SimpleEnumValue {
195 const char *Name;
196 unsigned Value;
197};
198
199struct SimpleEnumValueTable {
200 const SimpleEnumValue *Table;
201 unsigned Size;
202};
203static const SimpleEnumValueTable SimpleEnumValueTables[] = {};
204static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables);
205#endif // SIMPLE_ENUM_VALUE_TABLE
206
207/////////
208
209// SubCommands
210
211#ifdef OPTTABLE_SUBCOMMANDS_CODE
212static constexpr llvm::opt::OptTable::SubCommand OptionSubCommands[] = {
213};
214#endif // OPTTABLE_SUBCOMMANDS_CODE
215
216
217