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 "-###\0"
25 "--codepage=\0"
26 "--codepage\0"
27 "-c\0"
28 "--define=\0"
29 "--define\0"
30 "-D\0"
31 "-F\0"
32 "--help\0"
33 "-h\0"
34 "--include-dir=\0"
35 "--include-dir\0"
36 "--include=\0"
37 "--include\0"
38 "--input-format=\0"
39 "--input-format\0"
40 "--input=\0"
41 "--input\0"
42 "-I\0"
43 "-i\0"
44 "-J\0"
45 "--language=\0"
46 "--language\0"
47 "-l\0"
48 "--no-preprocess\0"
49 "--output-format=\0"
50 "--output-format\0"
51 "--output=\0"
52 "--output\0"
53 "-O\0"
54 "-o\0"
55 "--preprocessor-arg=\0"
56 "--preprocessor-arg\0"
57 "--preprocessor=\0"
58 "--preprocessor\0"
59 "--target=\0"
60 "--target\0"
61 "--undefine=\0"
62 "--undefine\0"
63 "--use-temp-file\0"
64 "-U\0"
65 "--verbose\0"
66 "--version\0"
67 "-V\0"
68 "-v\0"
69 ;
70#ifdef __GNUC__
71#pragma GCC diagnostic pop
72#endif
73
74static constexpr llvm::StringTable
75OptionStrTable = OptionStrTableStorage;
76#endif // OPTTABLE_STR_TABLE_CODE
77
78/////////
79// Prefixes
80
81#ifdef OPTTABLE_PREFIXES_TABLE_CODE
82static constexpr llvm::StringTable::Offset OptionPrefixesTable[] = {
83 0 /* prefixes */,
84 1 /* prefixes */, 1 /* '-' */,
85 1 /* prefixes */, 3 /* '--' */
86};
87#endif // OPTTABLE_PREFIXES_TABLE_CODE
88
89/////////// SubCommand IDs
90
91#ifdef OPTTABLE_SUBCOMMAND_IDS_TABLE_CODE
92static constexpr unsigned OptionSubCommandIDsTable[] = {
93 0 /* subcommands */
94};
95#endif // OPTTABLE_SUBCOMMAND_IDS_TABLE_CODE
96
97/////////
98// Prefix Union
99
100#ifdef OPTTABLE_PREFIXES_UNION_CODE
101static constexpr llvm::StringTable::Offset OptionPrefixesUnion[] = {
102 1 /* '-' */, 3 /* '--' */
103};
104#endif // OPTTABLE_PREFIXES_UNION_CODE
105
106/////////
107// ValuesCode
108
109#ifdef OPTTABLE_VALUES_CODE
110#endif
111/////////
112// Groups
113
114#ifdef OPTION
115
116//////////
117// Options
118
119OPTION(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)
120OPTION(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)
121OPTION(1, 24 /* -### */, _HASH_HASH_HASH, Flag, 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)
122OPTION(3, 29 /* --codepage= */, codepage_eq, Joined, INVALID, codepage, nullptr, 0, DefaultVis, 0,
123 "Default codepage to use", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
124OPTION(3, 41 /* --codepage */, codepage, Separate, 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)
125OPTION(1, 52 /* -c */, codepage_short, JoinedOrSeparate, INVALID, codepage, 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, 55 /* --define= */, define_eq, Joined, INVALID, define, nullptr, 0, DefaultVis, 0,
127 "Define to pass to the preprocessor", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
128OPTION(3, 65 /* --define */, define, Separate, 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)
129OPTION(1, 74 /* -D */, define_short, JoinedOrSeparate, INVALID, define, 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)
130OPTION(1, 77 /* -F */, target_short, JoinedOrSeparate, INVALID, target, 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)
131OPTION(3, 80 /* --help */, help_long, Flag, INVALID, help, nullptr, 0, DefaultVis, 0,
132 "Display this message and exit", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
133OPTION(1, 87 /* -h */, help, Flag, 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)
134OPTION(3, 90 /* --include-dir= */, include_dir_eq, Joined, INVALID, include_dir, nullptr, 0, DefaultVis, 0,
135 "Include directory", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
136OPTION(3, 105 /* --include-dir */, include_dir, Separate, 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)
137OPTION(3, 119 /* --include= */, include_alias_eq, Joined, INVALID, include_dir, 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)
138OPTION(3, 130 /* --include */, include_alias, Separate, INVALID, include_dir, 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, 140 /* --input-format= */, input_format_eq, Joined, INVALID, input_format, nullptr, 0, DefaultVis, 0,
140 "Input format", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
141OPTION(3, 156 /* --input-format */, input_format, Separate, 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)
142OPTION(3, 171 /* --input= */, input_eq, Joined, INVALID, input, nullptr, 0, DefaultVis, 0,
143 "Input file", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
144OPTION(3, 180 /* --input */, input, Separate, 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)
145OPTION(1, 188 /* -I */, include_dir_short, JoinedOrSeparate, INVALID, include_dir, 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)
146OPTION(1, 191 /* -i */, input_short, JoinedOrSeparate, INVALID, input, 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)
147OPTION(1, 194 /* -J */, input_format_short, JoinedOrSeparate, INVALID, input_format, 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, 197 /* --language= */, language_eq, Joined, INVALID, language, nullptr, 0, DefaultVis, 0,
149 "Default language to use (0x0-0xffff)", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
150OPTION(3, 209 /* --language */, language, Separate, 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)
151OPTION(1, 220 /* -l */, language_short, JoinedOrSeparate, INVALID, language, 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)
152OPTION(3, 223 /* --no-preprocess */, no_preprocess, Flag, 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)
153OPTION(3, 239 /* --output-format= */, output_format_eq, Joined, INVALID, output_format, nullptr, 0, DefaultVis, 0,
154 "Output format", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
155OPTION(3, 256 /* --output-format */, output_format, Separate, 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)
156OPTION(3, 272 /* --output= */, output_eq, Joined, INVALID, output, nullptr, 0, DefaultVis, 0,
157 "Output file", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
158OPTION(3, 282 /* --output */, output, Separate, 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)
159OPTION(1, 291 /* -O */, output_format_short, JoinedOrSeparate, INVALID, output_format, 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)
160OPTION(1, 294 /* -o */, output_short, JoinedOrSeparate, INVALID, output, 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)
161OPTION(3, 297 /* --preprocessor-arg= */, preprocessor_arg_eq, Joined, INVALID, preprocessor_arg, nullptr, 0, DefaultVis, 0,
162 "Preprocessor command argument", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
163OPTION(3, 317 /* --preprocessor-arg */, preprocessor_arg, Separate, 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)
164OPTION(3, 336 /* --preprocessor= */, preprocessor_eq, Joined, INVALID, preprocessor, nullptr, 0, DefaultVis, 0,
165 "Custom preprocessor command", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
166OPTION(3, 352 /* --preprocessor */, preprocessor, Separate, 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)
167OPTION(3, 367 /* --target= */, target_eq, Joined, INVALID, target, nullptr, 0, DefaultVis, 0,
168 "Target BFD format name", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
169OPTION(3, 377 /* --target */, target, Separate, 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)
170OPTION(3, 386 /* --undefine= */, undef_eq, Joined, INVALID, undef, nullptr, 0, DefaultVis, 0,
171 "Undefine to pass to the preprocessor", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
172OPTION(3, 398 /* --undefine */, undef, Separate, 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)
173OPTION(3, 409 /* --use-temp-file */, use_temp_file, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
174 "Mimic GNU windres preprocessor option handling (don't unescape preprocessor options)", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
175OPTION(1, 425 /* -U */, undef_short, JoinedOrSeparate, INVALID, undef, 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)
176OPTION(3, 428 /* --verbose */, verbose_long, Flag, INVALID, verbose, nullptr, 0, DefaultVis, 0,
177 "Enable verbose output", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
178OPTION(3, 438 /* --version */, version_long, Flag, INVALID, version, nullptr, 0, DefaultVis, 0,
179 "Display version", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
180OPTION(1, 448 /* -V */, version, Flag, 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)
181OPTION(1, 451 /* -v */, verbose, Flag, 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)
182#endif // OPTION
183
184#ifdef SIMPLE_ENUM_VALUE_TABLE
185
186struct SimpleEnumValue {
187 const char *Name;
188 unsigned Value;
189};
190
191struct SimpleEnumValueTable {
192 const SimpleEnumValue *Table;
193 unsigned Size;
194};
195static const SimpleEnumValueTable SimpleEnumValueTables[] = {};
196static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables);
197#endif // SIMPLE_ENUM_VALUE_TABLE
198
199/////////
200
201// SubCommands
202
203#ifdef OPTTABLE_SUBCOMMANDS_CODE
204static constexpr llvm::opt::OptTable::SubCommand OptionSubCommands[] = {
205};
206#endif // OPTTABLE_SUBCOMMANDS_CODE
207
208
209