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 "<input>\0"
23 "<unknown>\0"
24 "--arch=\0"
25 "--arch\0"
26 "--bitwidth=\0"
27 "--bitwidth\0"
28 "--endianness=\0"
29 "--endianness\0"
30 "--exclude=\0"
31 "--exclude\0"
32 "--help\0"
33 "--hint-ifs-target=\0"
34 "--hint-ifs-target\0"
35 "-h\0"
36 "--input-format=\0"
37 "--input-format\0"
38 "--input=\0"
39 "--input\0"
40 "--output-elf=\0"
41 "--output-elf\0"
42 "--output-format=\0"
43 "--output-format\0"
44 "--output-ifs=\0"
45 "--output-ifs\0"
46 "--output-tbd=\0"
47 "--output-tbd\0"
48 "--output=\0"
49 "--output\0"
50 "-o\0"
51 "--soname=\0"
52 "--soname\0"
53 "--strip-ifs-arch\0"
54 "--strip-ifs-bitwidth\0"
55 "--strip-ifs-endianness\0"
56 "--strip-ifs-target\0"
57 "--strip-needed\0"
58 "--strip-size\0"
59 "--strip-undefined\0"
60 "--target=\0"
61 "--target\0"
62 "--version\0"
63 "-V\0"
64 "--write-if-changed\0"
65 ;
66#ifdef __GNUC__
67#pragma GCC diagnostic pop
68#endif
69
70static constexpr llvm::StringTable
71OptionStrTable = OptionStrTableStorage;
72#endif // OPTTABLE_STR_TABLE_CODE
73
74/////////
75// Prefixes
76
77#ifdef OPTTABLE_PREFIXES_TABLE_CODE
78static constexpr llvm::StringTable::Offset OptionPrefixesTable[] = {
79 0 /* prefixes */,
80 1 /* prefixes */, 1 /* '-' */,
81 1 /* prefixes */, 3 /* '--' */
82};
83#endif // OPTTABLE_PREFIXES_TABLE_CODE
84
85/////////// SubCommand IDs
86
87#ifdef OPTTABLE_SUBCOMMAND_IDS_TABLE_CODE
88static constexpr unsigned OptionSubCommandIDsTable[] = {
89 0 /* subcommands */
90};
91#endif // OPTTABLE_SUBCOMMAND_IDS_TABLE_CODE
92
93/////////
94// Prefix Union
95
96#ifdef OPTTABLE_PREFIXES_UNION_CODE
97static constexpr llvm::StringTable::Offset OptionPrefixesUnion[] = {
98 1 /* '-' */, 3 /* '--' */
99};
100#endif // OPTTABLE_PREFIXES_UNION_CODE
101
102/////////
103// ValuesCode
104
105#ifdef OPTTABLE_VALUES_CODE
106#endif
107/////////
108// Groups
109
110#ifdef OPTION
111
112//////////
113// Options
114
115OPTION(0, 6 /* <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)
116OPTION(0, 14 /* <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)
117OPTION(3, 24 /* --arch= */, arch_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
118 "Specify the architecture, e.g. x86_64", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
119OPTION(3, 32 /* --arch */, anonymous_0, Separate, INVALID, arch_EQ, 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)
120OPTION(3, 39 /* --bitwidth= */, bitwidth_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
121 "Specify the bit width", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
122OPTION(3, 51 /* --bitwidth */, anonymous_1, Separate, INVALID, bitwidth_EQ, 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)
123OPTION(3, 62 /* --endianness= */, endianness_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
124 "Specify the endianness", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
125OPTION(3, 76 /* --endianness */, anonymous_2, Separate, INVALID, endianness_EQ, 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)
126OPTION(3, 89 /* --exclude= */, exclude_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
127 "Remove symbols which match the pattern. Can be specified multiple times", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
128OPTION(3, 100 /* --exclude */, anonymous_3, Separate, INVALID, exclude_EQ, 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)
129OPTION(3, 110 /* --help */, help, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
130 "Display this help", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
131OPTION(3, 117 /* --hint-ifs-target= */, hint_ifs_target_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
132 "When --output-format is 'IFS', this flag will hint the expected target triple for IFS output", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
133OPTION(3, 136 /* --hint-ifs-target */, anonymous_5, Separate, INVALID, hint_ifs_target_EQ, 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)
134OPTION(1, 154 /* -h */, anonymous_4, Flag, INVALID, help, nullptr, 0, DefaultVis, 0,
135 "Alias for --help", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
136OPTION(3, 157 /* --input-format= */, input_format_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
137 "Specify the input file format", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
138OPTION(3, 173 /* --input-format */, anonymous_7, Separate, INVALID, input_format_EQ, 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)
139OPTION(3, 188 /* --input= */, input_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
140 "input", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
141OPTION(3, 197 /* --input */, anonymous_6, Separate, INVALID, input_EQ, 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)
142OPTION(3, 205 /* --output-elf= */, output_elf_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
143 "Output path for ELF file", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
144OPTION(3, 219 /* --output-elf */, anonymous_10, Separate, INVALID, output_elf_EQ, 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)
145OPTION(3, 232 /* --output-format= */, output_format_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
146 "Specify the output file format **DEPRECATED**", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
147OPTION(3, 249 /* --output-format */, anonymous_11, Separate, INVALID, output_format_EQ, 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)
148OPTION(3, 265 /* --output-ifs= */, output_ifs_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
149 "Output path for IFS file", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
150OPTION(3, 279 /* --output-ifs */, anonymous_12, Separate, INVALID, output_ifs_EQ, 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)
151OPTION(3, 292 /* --output-tbd= */, output_tbd_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
152 "Output path for TBD file", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
153OPTION(3, 306 /* --output-tbd */, anonymous_13, Separate, INVALID, output_tbd_EQ, 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)
154OPTION(3, 319 /* --output= */, output_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
155 "Output file **DEPRECATED**", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
156OPTION(3, 329 /* --output */, anonymous_8, Separate, INVALID, output_EQ, 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)
157OPTION(1, 338 /* -o */, anonymous_9, Separate, INVALID, output_EQ, nullptr, 0, DefaultVis, 0,
158 "Alias for --output", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
159OPTION(3, 341 /* --soname= */, soname_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
160 "name", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
161OPTION(3, 351 /* --soname */, anonymous_14, Separate, INVALID, soname_EQ, 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)
162OPTION(3, 360 /* --strip-ifs-arch */, strip_ifs_arch, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
163 "Strip target architecture information away from IFS output", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
164OPTION(3, 377 /* --strip-ifs-bitwidth */, strip_ifs_bitwidth, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
165 "Strip target bit width information away from IFS output", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
166OPTION(3, 398 /* --strip-ifs-endianness */, strip_ifs_endianness, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
167 "Strip target endianness information away from IFS output", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
168OPTION(3, 421 /* --strip-ifs-target */, strip_ifs_target, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
169 "Strip all target information away from IFS output", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
170OPTION(3, 440 /* --strip-needed */, strip_needed, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
171 "Strip needed libs from output", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
172OPTION(3, 455 /* --strip-size */, strip_size, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
173 "Remove object size from the output", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
174OPTION(3, 468 /* --strip-undefined */, strip_undefined, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
175 "Strip undefined symbols from IFS output", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
176OPTION(3, 486 /* --target= */, target_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
177 "Specify the target triple, e.g. x86_64-linux-gnu", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
178OPTION(3, 496 /* --target */, anonymous_15, Separate, INVALID, target_EQ, 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)
179OPTION(3, 505 /* --version */, version, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
180 "Display the version", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
181OPTION(1, 515 /* -V */, anonymous_16, Flag, INVALID, version, nullptr, 0, DefaultVis, 0,
182 "Alias for --version", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
183OPTION(3, 518 /* --write-if-changed */, write_if_changed, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
184 "Write the output file only if it is new or has changed", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
185#endif // OPTION
186
187#ifdef SIMPLE_ENUM_VALUE_TABLE
188
189struct SimpleEnumValue {
190 const char *Name;
191 unsigned Value;
192};
193
194struct SimpleEnumValueTable {
195 const SimpleEnumValue *Table;
196 unsigned Size;
197};
198static const SimpleEnumValueTable SimpleEnumValueTables[] = {};
199static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables);
200#endif // SIMPLE_ENUM_VALUE_TABLE
201
202/////////
203
204// SubCommands
205
206#ifdef OPTTABLE_SUBCOMMANDS_CODE
207static constexpr llvm::opt::OptTable::SubCommand OptionSubCommands[] = {
208};
209#endif // OPTTABLE_SUBCOMMANDS_CODE
210
211
212