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 | "action group\0" |
23 | "<input>\0" |
24 | "<unknown>\0" |
25 | "--arch=\0" |
26 | "-arch\0" |
27 | "-compact\0" |
28 | "-compare\0" |
29 | "-delete-input\0" |
30 | "-delete-private-libraries\0" |
31 | "-extract\0" |
32 | "--filetype=\0" |
33 | "-filetype\0" |
34 | "-help\0" |
35 | "--ignore-arch=\0" |
36 | "-ignore-arch\0" |
37 | "-merge\0" |
38 | "--o=\0" |
39 | "-o\0" |
40 | "-remove\0" |
41 | "-stubify\0" |
42 | "-t\0" |
43 | "-version\0" |
44 | "-v\0" |
45 | ; |
46 | #ifdef __GNUC__ |
47 | #pragma GCC diagnostic pop |
48 | #endif |
49 | |
50 | static constexpr llvm::StringTable OptionStrTable = |
51 | OptionStrTableStorage; |
52 | #endif // OPTTABLE_STR_TABLE_CODE |
53 | |
54 | ///////// |
55 | // Prefixes |
56 | |
57 | #ifdef OPTTABLE_PREFIXES_TABLE_CODE |
58 | static constexpr llvm::StringTable::Offset OptionPrefixesTable[] = { |
59 | 0 /* prefixes */, |
60 | 2 /* prefixes */, 1 /* '-' */, 3 /* '--' */, |
61 | 1 /* prefixes */, 3 /* '--' */ |
62 | }; |
63 | #endif // OPTTABLE_PREFIXES_TABLE_CODE |
64 | |
65 | ///////// |
66 | // Prefix Union |
67 | |
68 | #ifdef OPTTABLE_PREFIXES_UNION_CODE |
69 | static constexpr llvm::StringTable::Offset OptionPrefixesUnion[] = { |
70 | 1 /* '-' */, 3 /* '--' */ |
71 | }; |
72 | #endif // OPTTABLE_PREFIXES_UNION_CODE |
73 | |
74 | ///////// |
75 | // ValuesCode |
76 | |
77 | #ifdef OPTTABLE_VALUES_CODE |
78 | #endif |
79 | ///////// |
80 | // Groups |
81 | |
82 | #ifdef OPTION |
83 | OPTION(0 /* no prefixes */, 6 /* action group */, action_group, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
84 | "COMMANDS" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
85 | |
86 | ////////// |
87 | // Options |
88 | |
89 | OPTION(0, 19 /* <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) |
90 | OPTION(0, 27 /* <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) |
91 | OPTION(4, 37 /* --arch= */, arch_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
92 | "specify the <architecture>" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<architecture>" , nullptr) |
93 | OPTION(1, 45 /* -arch */, anonymous_2, 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) |
94 | OPTION(1, 51 /* -compact */, compact, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
95 | "write compact tapi output file" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
96 | OPTION(1, 60 /* -compare */, compare, Flag, action_group, INVALID, nullptr, 0, DefaultVis, 0, |
97 | "compare tapi files for library differences" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
98 | OPTION(1, 69 /* -delete-input */, delete_input, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
99 | "delete and replace input file on success" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
100 | OPTION(1, 83 /* -delete-private-libraries */, delete_private_libraries, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
101 | "delete private system dynamic libraries and frameworks" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
102 | OPTION(1, 109 /* -extract */, extract, Flag, action_group, INVALID, nullptr, 0, DefaultVis, 0, |
103 | "extract <architecture> from input file" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
104 | OPTION(4, 118 /* --filetype= */, filetype_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
105 | "specify the output file type (tbd-v3, tbd-v4 or tbd-v5)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<value>" , nullptr) |
106 | OPTION(1, 130 /* -filetype */, anonymous_1, Separate, INVALID, filetype_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) |
107 | OPTION(1, 140 /* -help */, help, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
108 | "display this help" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
109 | OPTION(4, 146 /* --ignore-arch= */, ignore_arch_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
110 | "<architecture> slice to ignore for comparison" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<architecture>" , nullptr) |
111 | OPTION(1, 161 /* -ignore-arch */, anonymous_3, Separate, INVALID, ignore_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(1, 174 /* -merge */, merge, Flag, action_group, INVALID, nullptr, 0, DefaultVis, 0, |
113 | "merge the input files that represent the same library" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
114 | OPTION(4, 181 /* --o= */, output_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
115 | "write output to <file>" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<file>" , nullptr) |
116 | OPTION(1, 186 /* -o */, anonymous_0, 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) |
117 | OPTION(1, 189 /* -remove */, remove, Flag, action_group, INVALID, nullptr, 0, DefaultVis, 0, |
118 | "remove <architecture> from input file" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
119 | OPTION(1, 197 /* -stubify */, stubify, Flag, action_group, INVALID, nullptr, 0, DefaultVis, 0, |
120 | "create a tapi file from a dynamic library or framework" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
121 | OPTION(1, 206 /* -t */, t, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
122 | "logs each library loaded, useful for debugging problems with search paths where the wrong library is loaded" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
123 | OPTION(1, 209 /* -version */, version, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
124 | "print the llvm-readtapi version" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
125 | OPTION(1, 218 /* -v */, v, Flag, INVALID, version, nullptr, 0, DefaultVis, 0, |
126 | "alias for --version" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
127 | #endif // OPTION |
128 | |
129 | #ifdef SIMPLE_ENUM_VALUE_TABLE |
130 | |
131 | struct SimpleEnumValue { |
132 | const char *Name; |
133 | unsigned Value; |
134 | }; |
135 | |
136 | struct SimpleEnumValueTable { |
137 | const SimpleEnumValue *Table; |
138 | unsigned Size; |
139 | }; |
140 | static const SimpleEnumValueTable SimpleEnumValueTables[] = {}; |
141 | static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables); |
142 | #endif // SIMPLE_ENUM_VALUE_TABLE |
143 | |
144 | |
145 | |