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 |
18 | static 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 | |
70 | static constexpr llvm::StringTable OptionStrTable = |
71 | OptionStrTableStorage; |
72 | #endif // OPTTABLE_STR_TABLE_CODE |
73 | |
74 | ///////// |
75 | // Prefixes |
76 | |
77 | #ifdef OPTTABLE_PREFIXES_TABLE_CODE |
78 | static 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 | ///////// |
86 | // Prefix Union |
87 | |
88 | #ifdef OPTTABLE_PREFIXES_UNION_CODE |
89 | static constexpr llvm::StringTable::Offset OptionPrefixesUnion[] = { |
90 | 1 /* '-' */, 3 /* '--' */ |
91 | }; |
92 | #endif // OPTTABLE_PREFIXES_UNION_CODE |
93 | |
94 | ///////// |
95 | // ValuesCode |
96 | |
97 | #ifdef OPTTABLE_VALUES_CODE |
98 | #endif |
99 | ///////// |
100 | // Groups |
101 | |
102 | #ifdef OPTION |
103 | |
104 | ////////// |
105 | // Options |
106 | |
107 | OPTION(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) |
108 | OPTION(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) |
109 | OPTION(3, 24 /* --arch= */, arch_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
110 | "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) |
111 | OPTION(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) |
112 | OPTION(3, 39 /* --bitwidth= */, bitwidth_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
113 | "Specify the bit width" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
114 | OPTION(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) |
115 | OPTION(3, 62 /* --endianness= */, endianness_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
116 | "Specify the endianness" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
117 | OPTION(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) |
118 | OPTION(3, 89 /* --exclude= */, exclude_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
119 | "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) |
120 | OPTION(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) |
121 | OPTION(3, 110 /* --help */, help, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
122 | "Display this help" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
123 | OPTION(3, 117 /* --hint-ifs-target= */, hint_ifs_target_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
124 | "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) |
125 | OPTION(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) |
126 | OPTION(1, 154 /* -h */, anonymous_4, Flag, INVALID, help, nullptr, 0, DefaultVis, 0, |
127 | "Alias for --help" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
128 | OPTION(3, 157 /* --input-format= */, input_format_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
129 | "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) |
130 | OPTION(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) |
131 | OPTION(3, 188 /* --input= */, input_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
132 | "input" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
133 | OPTION(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) |
134 | OPTION(3, 205 /* --output-elf= */, output_elf_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
135 | "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) |
136 | OPTION(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) |
137 | OPTION(3, 232 /* --output-format= */, output_format_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
138 | "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) |
139 | OPTION(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) |
140 | OPTION(3, 265 /* --output-ifs= */, output_ifs_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
141 | "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) |
142 | OPTION(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) |
143 | OPTION(3, 292 /* --output-tbd= */, output_tbd_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
144 | "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) |
145 | OPTION(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) |
146 | OPTION(3, 319 /* --output= */, output_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
147 | "Output file **DEPRECATED**" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
148 | OPTION(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) |
149 | OPTION(1, 338 /* -o */, anonymous_9, Separate, INVALID, output_EQ, nullptr, 0, DefaultVis, 0, |
150 | "Alias for --output" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
151 | OPTION(3, 341 /* --soname= */, soname_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
152 | "name" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
153 | OPTION(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) |
154 | OPTION(3, 360 /* --strip-ifs-arch */, strip_ifs_arch, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
155 | "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) |
156 | OPTION(3, 377 /* --strip-ifs-bitwidth */, strip_ifs_bitwidth, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
157 | "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) |
158 | OPTION(3, 398 /* --strip-ifs-endianness */, strip_ifs_endianness, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
159 | "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) |
160 | OPTION(3, 421 /* --strip-ifs-target */, strip_ifs_target, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
161 | "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) |
162 | OPTION(3, 440 /* --strip-needed */, strip_needed, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
163 | "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) |
164 | OPTION(3, 455 /* --strip-size */, strip_size, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
165 | "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) |
166 | OPTION(3, 468 /* --strip-undefined */, strip_undefined, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
167 | "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) |
168 | OPTION(3, 486 /* --target= */, target_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
169 | "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) |
170 | OPTION(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) |
171 | OPTION(3, 505 /* --version */, version, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
172 | "Display the version" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
173 | OPTION(1, 515 /* -V */, anonymous_16, Flag, INVALID, version, nullptr, 0, DefaultVis, 0, |
174 | "Alias for --version" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
175 | OPTION(3, 518 /* --write-if-changed */, write_if_changed, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
176 | "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) |
177 | #endif // OPTION |
178 | |
179 | #ifdef SIMPLE_ENUM_VALUE_TABLE |
180 | |
181 | struct SimpleEnumValue { |
182 | const char *Name; |
183 | unsigned Value; |
184 | }; |
185 | |
186 | struct SimpleEnumValueTable { |
187 | const SimpleEnumValue *Table; |
188 | unsigned Size; |
189 | }; |
190 | static const SimpleEnumValueTable SimpleEnumValueTables[] = {}; |
191 | static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables); |
192 | #endif // SIMPLE_ENUM_VALUE_TABLE |
193 | |
194 | |
195 | |