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 "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
50static constexpr llvm::StringTable
51OptionStrTable = OptionStrTableStorage;
52#endif // OPTTABLE_STR_TABLE_CODE
53
54/////////
55// Prefixes
56
57#ifdef OPTTABLE_PREFIXES_TABLE_CODE
58static 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/////////// SubCommand IDs
66
67#ifdef OPTTABLE_SUBCOMMAND_IDS_TABLE_CODE
68static constexpr unsigned OptionSubCommandIDsTable[] = {
69 0 /* subcommands */
70};
71#endif // OPTTABLE_SUBCOMMAND_IDS_TABLE_CODE
72
73/////////
74// Prefix Union
75
76#ifdef OPTTABLE_PREFIXES_UNION_CODE
77static constexpr llvm::StringTable::Offset OptionPrefixesUnion[] = {
78 1 /* '-' */, 3 /* '--' */
79};
80#endif // OPTTABLE_PREFIXES_UNION_CODE
81
82/////////
83// ValuesCode
84
85#ifdef OPTTABLE_VALUES_CODE
86#endif
87/////////
88// Groups
89
90#ifdef OPTION
91OPTION(0 /* no prefixes */, 6 /* action group */, action_group, Group, INVALID, INVALID, nullptr, 0, 0, 0,
92 "COMMANDS", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
93
94//////////
95// Options
96
97OPTION(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, 0)
98OPTION(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, 0)
99OPTION(4, 37 /* --arch= */, arch_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
100 "specify the <architecture>", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<architecture>", nullptr, 0)
101OPTION(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, 0)
102OPTION(1, 51 /* -compact */, compact, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
103 "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, 0)
104OPTION(1, 60 /* -compare */, compare, Flag, action_group, INVALID, nullptr, 0, DefaultVis, 0,
105 "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, 0)
106OPTION(1, 69 /* -delete-input */, delete_input, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
107 "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, 0)
108OPTION(1, 83 /* -delete-private-libraries */, delete_private_libraries, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
109 "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, 0)
110OPTION(1, 109 /* -extract */, extract, Flag, action_group, INVALID, nullptr, 0, DefaultVis, 0,
111 "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, 0)
112OPTION(4, 118 /* --filetype= */, filetype_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
113 "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, 0)
114OPTION(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, 0)
115OPTION(1, 140 /* -help */, help, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
116 "display this help", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
117OPTION(4, 146 /* --ignore-arch= */, ignore_arch_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
118 "<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, 0)
119OPTION(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, 0)
120OPTION(1, 174 /* -merge */, merge, Flag, action_group, INVALID, nullptr, 0, DefaultVis, 0,
121 "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, 0)
122OPTION(4, 181 /* --o= */, output_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
123 "write output to <file>", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<file>", nullptr, 0)
124OPTION(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, 0)
125OPTION(1, 189 /* -remove */, remove, Flag, action_group, INVALID, nullptr, 0, DefaultVis, 0,
126 "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, 0)
127OPTION(1, 197 /* -stubify */, stubify, Flag, action_group, INVALID, nullptr, 0, DefaultVis, 0,
128 "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, 0)
129OPTION(1, 206 /* -t */, t, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
130 "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, 0)
131OPTION(1, 209 /* -version */, version, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
132 "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, 0)
133OPTION(1, 218 /* -v */, v, Flag, INVALID, version, nullptr, 0, DefaultVis, 0,
134 "alias for --version", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
135#endif // OPTION
136
137#ifdef SIMPLE_ENUM_VALUE_TABLE
138
139struct SimpleEnumValue {
140 const char *Name;
141 unsigned Value;
142};
143
144struct SimpleEnumValueTable {
145 const SimpleEnumValue *Table;
146 unsigned Size;
147};
148static const SimpleEnumValueTable SimpleEnumValueTables[] = {};
149static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables);
150#endif // SIMPLE_ENUM_VALUE_TABLE
151
152/////////
153
154// SubCommands
155
156#ifdef OPTTABLE_SUBCOMMANDS_CODE
157static constexpr llvm::opt::OptTable::SubCommand OptionSubCommands[] = {
158};
159#endif // OPTTABLE_SUBCOMMANDS_CODE
160
161
162