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 | "--as-flags\0" |
25 | "--as\0" |
26 | "--dllname\0" |
27 | "-D\0" |
28 | "-d\0" |
29 | "-f\0" |
30 | "--identify-strict\0" |
31 | "--identify\0" |
32 | "--input-def\0" |
33 | "--input-native-def\0" |
34 | "-I\0" |
35 | "--kill-at\0" |
36 | "-k\0" |
37 | "-l\0" |
38 | "--machine\0" |
39 | "-m\0" |
40 | "--no-leading-underscore\0" |
41 | "-N\0" |
42 | "--output-lib\0" |
43 | "-S\0" |
44 | "--temp-prefix\0" |
45 | "-t\0" |
46 | ; |
47 | #ifdef __GNUC__ |
48 | #pragma GCC diagnostic pop |
49 | #endif |
50 | |
51 | static constexpr llvm::StringTable OptionStrTable = |
52 | OptionStrTableStorage; |
53 | #endif // OPTTABLE_STR_TABLE_CODE |
54 | |
55 | ///////// |
56 | // Prefixes |
57 | |
58 | #ifdef OPTTABLE_PREFIXES_TABLE_CODE |
59 | static constexpr llvm::StringTable::Offset OptionPrefixesTable[] = { |
60 | 0 /* prefixes */, |
61 | 1 /* prefixes */, 1 /* '-' */, |
62 | 1 /* prefixes */, 3 /* '--' */ |
63 | }; |
64 | #endif // OPTTABLE_PREFIXES_TABLE_CODE |
65 | |
66 | ///////// |
67 | // Prefix Union |
68 | |
69 | #ifdef OPTTABLE_PREFIXES_UNION_CODE |
70 | static constexpr llvm::StringTable::Offset OptionPrefixesUnion[] = { |
71 | 1 /* '-' */, 3 /* '--' */ |
72 | }; |
73 | #endif // OPTTABLE_PREFIXES_UNION_CODE |
74 | |
75 | ///////// |
76 | // ValuesCode |
77 | |
78 | #ifdef OPTTABLE_VALUES_CODE |
79 | #endif |
80 | ///////// |
81 | // Groups |
82 | |
83 | #ifdef OPTION |
84 | |
85 | ////////// |
86 | // Options |
87 | |
88 | 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) |
89 | 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) |
90 | OPTION(3, 24 /* --as-flags */, f_alias, JoinedOrSeparate, INVALID, f, 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) |
91 | OPTION(3, 35 /* --as */, S_alias, JoinedOrSeparate, INVALID, S, 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) |
92 | OPTION(3, 40 /* --dllname */, D_long, JoinedOrSeparate, INVALID, D, 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) |
93 | OPTION(1, 50 /* -D */, D, JoinedOrSeparate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
94 | "Specify the input DLL Name" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
95 | OPTION(1, 53 /* -d */, d, JoinedOrSeparate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
96 | "Input .def File" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
97 | OPTION(1, 56 /* -f */, f, JoinedOrSeparate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
98 | "Assembler Flags" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
99 | OPTION(3, 59 /* --identify-strict */, identify_strict, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
100 | "Error out if the --identify option detects more than one DLL" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
101 | OPTION(3, 77 /* --identify */, I_long, JoinedOrSeparate, INVALID, I, 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) |
102 | OPTION(3, 88 /* --input-def */, d_long, JoinedOrSeparate, INVALID, d, 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) |
103 | OPTION(3, 100 /* --input-native-def */, N_long, JoinedOrSeparate, INVALID, N, 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) |
104 | OPTION(1, 119 /* -I */, I, JoinedOrSeparate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
105 | "Identify DLL name from import library" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
106 | OPTION(3, 122 /* --kill-at */, k_alias, Flag, INVALID, k, 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) |
107 | OPTION(1, 132 /* -k */, k, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
108 | "Kill @n Symbol from export" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
109 | OPTION(1, 135 /* -l */, l, JoinedOrSeparate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
110 | "Generate an import lib" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
111 | OPTION(3, 138 /* --machine */, m_long, JoinedOrSeparate, INVALID, m, 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(1, 148 /* -m */, m, JoinedOrSeparate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
113 | "Set target machine" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
114 | OPTION(3, 151 /* --no-leading-underscore */, no_leading_underscore, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
115 | "Don't add leading underscores on symbols" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
116 | OPTION(1, 175 /* -N */, N, JoinedOrSeparate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
117 | "Input native .def File on ARM64EC" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
118 | OPTION(3, 178 /* --output-lib */, l_long, JoinedOrSeparate, INVALID, l, 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) |
119 | OPTION(1, 191 /* -S */, S, JoinedOrSeparate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
120 | "Assembler" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
121 | OPTION(3, 194 /* --temp-prefix */, t_alias, JoinedOrSeparate, INVALID, t, 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) |
122 | OPTION(1, 208 /* -t */, t, JoinedOrSeparate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
123 | "Prefix for temporary files (ignored)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
124 | #endif // OPTION |
125 | |
126 | #ifdef SIMPLE_ENUM_VALUE_TABLE |
127 | |
128 | struct SimpleEnumValue { |
129 | const char *Name; |
130 | unsigned Value; |
131 | }; |
132 | |
133 | struct SimpleEnumValueTable { |
134 | const SimpleEnumValue *Table; |
135 | unsigned Size; |
136 | }; |
137 | static const SimpleEnumValueTable SimpleEnumValueTables[] = {}; |
138 | static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables); |
139 | #endif // SIMPLE_ENUM_VALUE_TABLE |
140 | |
141 | |
142 | |