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 OptionStrTable =
75 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/////////
90// Prefix Union
91
92#ifdef OPTTABLE_PREFIXES_UNION_CODE
93static constexpr llvm::StringTable::Offset OptionPrefixesUnion[] = {
94 1 /* '-' */, 3 /* '--' */
95};
96#endif // OPTTABLE_PREFIXES_UNION_CODE
97
98/////////
99// ValuesCode
100
101#ifdef OPTTABLE_VALUES_CODE
102#endif
103/////////
104// Groups
105
106#ifdef OPTION
107
108//////////
109// Options
110
111OPTION(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)
112OPTION(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)
113OPTION(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)
114OPTION(3, 29 /* --codepage= */, codepage_eq, Joined, INVALID, codepage, nullptr, 0, DefaultVis, 0,
115 "Default codepage to use", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
116OPTION(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)
117OPTION(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)
118OPTION(3, 55 /* --define= */, define_eq, Joined, INVALID, define, nullptr, 0, DefaultVis, 0,
119 "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)
120OPTION(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)
121OPTION(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)
122OPTION(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)
123OPTION(3, 80 /* --help */, help_long, Flag, INVALID, help, nullptr, 0, DefaultVis, 0,
124 "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)
125OPTION(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)
126OPTION(3, 90 /* --include-dir= */, include_dir_eq, Joined, INVALID, include_dir, nullptr, 0, DefaultVis, 0,
127 "Include directory", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
128OPTION(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)
129OPTION(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)
130OPTION(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)
131OPTION(3, 140 /* --input-format= */, input_format_eq, Joined, INVALID, input_format, nullptr, 0, DefaultVis, 0,
132 "Input format", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
133OPTION(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)
134OPTION(3, 171 /* --input= */, input_eq, Joined, INVALID, input, nullptr, 0, DefaultVis, 0,
135 "Input file", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
136OPTION(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)
137OPTION(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)
138OPTION(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)
139OPTION(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)
140OPTION(3, 197 /* --language= */, language_eq, Joined, INVALID, language, nullptr, 0, DefaultVis, 0,
141 "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)
142OPTION(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)
143OPTION(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)
144OPTION(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)
145OPTION(3, 239 /* --output-format= */, output_format_eq, Joined, INVALID, output_format, nullptr, 0, DefaultVis, 0,
146 "Output format", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
147OPTION(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)
148OPTION(3, 272 /* --output= */, output_eq, Joined, INVALID, output, nullptr, 0, DefaultVis, 0,
149 "Output file", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
150OPTION(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)
151OPTION(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)
152OPTION(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)
153OPTION(3, 297 /* --preprocessor-arg= */, preprocessor_arg_eq, Joined, INVALID, preprocessor_arg, nullptr, 0, DefaultVis, 0,
154 "Preprocessor command argument", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
155OPTION(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)
156OPTION(3, 336 /* --preprocessor= */, preprocessor_eq, Joined, INVALID, preprocessor, nullptr, 0, DefaultVis, 0,
157 "Custom preprocessor command", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
158OPTION(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)
159OPTION(3, 367 /* --target= */, target_eq, Joined, INVALID, target, nullptr, 0, DefaultVis, 0,
160 "Target BFD format name", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
161OPTION(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)
162OPTION(3, 386 /* --undefine= */, undef_eq, Joined, INVALID, undef, nullptr, 0, DefaultVis, 0,
163 "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)
164OPTION(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)
165OPTION(3, 409 /* --use-temp-file */, use_temp_file, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
166 "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)
167OPTION(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)
168OPTION(3, 428 /* --verbose */, verbose_long, Flag, INVALID, verbose, nullptr, 0, DefaultVis, 0,
169 "Enable verbose output", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
170OPTION(3, 438 /* --version */, version_long, Flag, INVALID, version, nullptr, 0, DefaultVis, 0,
171 "Display version", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
172OPTION(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)
173OPTION(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)
174#endif // OPTION
175
176#ifdef SIMPLE_ENUM_VALUE_TABLE
177
178struct SimpleEnumValue {
179 const char *Name;
180 unsigned Value;
181};
182
183struct SimpleEnumValueTable {
184 const SimpleEnumValue *Table;
185 unsigned Size;
186};
187static const SimpleEnumValueTable SimpleEnumValueTables[] = {};
188static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables);
189#endif // SIMPLE_ENUM_VALUE_TABLE
190
191
192