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 "-B\0"
27 "-chained_fixups\0"
28 "-C\0"
29 "-dyld_info\0"
30 "-D\0"
31 "-d\0"
32 "-f\0"
33 "-G\0"
34 "--help-hidden\0"
35 "--help\0"
36 "-H\0"
37 "-h\0"
38 "-I\0"
39 "-j\0"
40 "-L\0"
41 "-l\0"
42 "-mcpu=\0"
43 "-M\0"
44 "-o\0"
45 "-P\0"
46 "-p\0"
47 "-Q\0"
48 "-q\0"
49 "-R\0"
50 "-r\0"
51 "-S\0"
52 "-s\0"
53 "-T\0"
54 "-t\0"
55 "--version\0"
56 "-V\0"
57 "-v\0"
58 "-X\0"
59 "-x\0"
60 ;
61#ifdef __GNUC__
62#pragma GCC diagnostic pop
63#endif
64
65static constexpr llvm::StringTable
66OptionStrTable = OptionStrTableStorage;
67#endif // OPTTABLE_STR_TABLE_CODE
68
69/////////
70// Prefixes
71
72#ifdef OPTTABLE_PREFIXES_TABLE_CODE
73static constexpr llvm::StringTable::Offset OptionPrefixesTable[] = {
74 0 /* prefixes */,
75 1 /* prefixes */, 1 /* '-' */,
76 1 /* prefixes */, 3 /* '--' */
77};
78#endif // OPTTABLE_PREFIXES_TABLE_CODE
79
80/////////// SubCommand IDs
81
82#ifdef OPTTABLE_SUBCOMMAND_IDS_TABLE_CODE
83static constexpr unsigned OptionSubCommandIDsTable[] = {
84 0 /* subcommands */
85};
86#endif // OPTTABLE_SUBCOMMAND_IDS_TABLE_CODE
87
88/////////
89// Prefix Union
90
91#ifdef OPTTABLE_PREFIXES_UNION_CODE
92static constexpr llvm::StringTable::Offset OptionPrefixesUnion[] = {
93 1 /* '-' */, 3 /* '--' */
94};
95#endif // OPTTABLE_PREFIXES_UNION_CODE
96
97/////////
98// ValuesCode
99
100#ifdef OPTTABLE_VALUES_CODE
101#endif
102/////////
103// Groups
104
105#ifdef OPTION
106OPTION(0 /* no prefixes */, 6 /* kind */, grp_obsolete, Group, INVALID, INVALID, nullptr, 0, 0, 0,
107 "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)
108
109//////////
110// Options
111
112OPTION(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)
113OPTION(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)
114OPTION(1, 29 /* -arch */, arch, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
115 "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)
116OPTION(1, 35 /* -B */, anonymous_1, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0,
117 "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)
118OPTION(1, 38 /* -chained_fixups */, chained_fixups, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
119 "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)
120OPTION(1, 54 /* -C */, C, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
121 "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)
122OPTION(1, 57 /* -dyld_info */, dyld_info, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
123 "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)
124OPTION(1, 68 /* -D */, D, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
125 "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)
126OPTION(1, 71 /* -d */, d, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
127 "print data section", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
128OPTION(1, 74 /* -f */, f, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
129 "print universal headers", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
130OPTION(1, 77 /* -G */, G, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
131 "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)
132OPTION(3, 80 /* --help-hidden */, help_hidden, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
133 "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)
134OPTION(3, 94 /* --help */, help, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
135 "print help", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
136OPTION(1, 101 /* -H */, anonymous_2, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0,
137 "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)
138OPTION(1, 104 /* -h */, h, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
139 "print mach header", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
140OPTION(1, 107 /* -I */, I, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
141 "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)
142OPTION(1, 110 /* -j */, j, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
143 "print opcode bytes", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
144OPTION(1, 113 /* -L */, L, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
145 "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)
146OPTION(1, 116 /* -l */, l, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
147 "print load commands", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
148OPTION(1, 119 /* -mcpu= */, mcpu_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
149 "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)
150OPTION(1, 126 /* -M */, anonymous_3, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0,
151 "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)
152OPTION(1, 129 /* -o */, o, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
153 "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)
154OPTION(1, 132 /* -P */, P, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
155 "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)
156OPTION(1, 135 /* -p */, p, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
157 "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)
158OPTION(1, 138 /* -Q */, anonymous_7, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0,
159 "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)
160OPTION(1, 141 /* -q */, anonymous_0, Flag, INVALID, INVALID, nullptr, HelpHidden, DefaultVis, 0,
161 "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)
162OPTION(1, 144 /* -R */, anonymous_4, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0,
163 "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)
164OPTION(1, 147 /* -r */, r, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
165 "print relocation entries", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
166OPTION(1, 150 /* -S */, anonymous_5, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0,
167 "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)
168OPTION(1, 153 /* -s */, s, MultiArg, INVALID, INVALID, nullptr, 0, DefaultVis, 2,
169 "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)
170OPTION(1, 156 /* -T */, anonymous_6, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0,
171 "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)
172OPTION(1, 159 /* -t */, t, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
173 "print text section", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
174OPTION(3, 162 /* --version */, version, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
175 "print version", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
176OPTION(1, 172 /* -V */, V, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
177 "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)
178OPTION(1, 175 /* -v */, v, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
179 "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)
180OPTION(1, 178 /* -X */, X, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
181 "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)
182OPTION(1, 181 /* -x */, x, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
183 "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)
184#endif // OPTION
185
186#ifdef SIMPLE_ENUM_VALUE_TABLE
187
188struct SimpleEnumValue {
189 const char *Name;
190 unsigned Value;
191};
192
193struct SimpleEnumValueTable {
194 const SimpleEnumValue *Table;
195 unsigned Size;
196};
197static const SimpleEnumValueTable SimpleEnumValueTables[] = {};
198static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables);
199#endif // SIMPLE_ENUM_VALUE_TABLE
200
201/////////
202
203// SubCommands
204
205#ifdef OPTTABLE_SUBCOMMANDS_CODE
206static constexpr llvm::opt::OptTable::SubCommand OptionSubCommands[] = {
207};
208#endif // OPTTABLE_SUBCOMMANDS_CODE
209
210
211