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 "-add_rpath\0"
25 "-change\0"
26 "-delete_all_rpaths\0"
27 "-delete_rpath\0"
28 "--help\0"
29 "-h\0"
30 "-id\0"
31 "--output\0"
32 "-o\0"
33 "-prepend_rpath\0"
34 "-rpath\0"
35 "--version\0"
36 "-V\0"
37 ;
38#ifdef __GNUC__
39#pragma GCC diagnostic pop
40#endif
41
42static constexpr llvm::StringTable
43OptionStrTable = OptionStrTableStorage;
44#endif // OPTTABLE_STR_TABLE_CODE
45
46/////////
47// Prefixes
48
49#ifdef OPTTABLE_PREFIXES_TABLE_CODE
50static constexpr llvm::StringTable::Offset OptionPrefixesTable[] = {
51 0 /* prefixes */,
52 1 /* prefixes */, 1 /* '-' */,
53 2 /* prefixes */, 1 /* '-' */, 3 /* '--' */,
54 1 /* prefixes */, 3 /* '--' */
55};
56#endif // OPTTABLE_PREFIXES_TABLE_CODE
57
58/////////// SubCommand IDs
59
60#ifdef OPTTABLE_SUBCOMMAND_IDS_TABLE_CODE
61static constexpr unsigned OptionSubCommandIDsTable[] = {
62 0 /* subcommands */
63};
64#endif // OPTTABLE_SUBCOMMAND_IDS_TABLE_CODE
65
66/////////
67// Prefix Union
68
69#ifdef OPTTABLE_PREFIXES_UNION_CODE
70static 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
88OPTION(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)
89OPTION(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)
90OPTION(3, 24 /* -add_rpath */, add_rpath, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
91 "Add new rpath", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
92OPTION(3, 35 /* -change */, change, MultiArg, INVALID, INVALID, nullptr, 0, DefaultVis, 2,
93 "Change dependent shared library install name", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
94OPTION(3, 43 /* -delete_all_rpaths */, delete_all_rpaths, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
95 "Delete all rpath directives", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
96OPTION(3, 62 /* -delete_rpath */, delete_rpath, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
97 "Delete specified rpath", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
98OPTION(6, 76 /* --help */, 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)
99OPTION(1, 83 /* -h */, h, Flag, INVALID, help, 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)
100OPTION(3, 86 /* -id */, id, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
101 "Change dynamic shared library id", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
102OPTION(6, 90 /* --output */, output, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
103 "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)
104OPTION(1, 99 /* -o */, o, JoinedOrSeparate, INVALID, output, nullptr, 0, DefaultVis, 0,
105 "Alias for --output", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<file>", nullptr, 0)
106OPTION(3, 102 /* -prepend_rpath */, prepend_rpath, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
107 "Add new rpath before other rpaths", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
108OPTION(3, 117 /* -rpath */, rpath, MultiArg, INVALID, INVALID, nullptr, 0, DefaultVis, 2,
109 "Change rpath path name", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
110OPTION(6, 124 /* --version */, version, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
111 "Print the version and exit.", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
112OPTION(1, 134 /* -V */, V, Flag, INVALID, version, nullptr, 0, DefaultVis, 0,
113 "Alias for --version", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
114#endif // OPTION
115
116#ifdef SIMPLE_ENUM_VALUE_TABLE
117
118struct SimpleEnumValue {
119 const char *Name;
120 unsigned Value;
121};
122
123struct SimpleEnumValueTable {
124 const SimpleEnumValue *Table;
125 unsigned Size;
126};
127static const SimpleEnumValueTable SimpleEnumValueTables[] = {};
128static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables);
129#endif // SIMPLE_ENUM_VALUE_TABLE
130
131/////////
132
133// SubCommands
134
135#ifdef OPTTABLE_SUBCOMMANDS_CODE
136static constexpr llvm::opt::OptTable::SubCommand OptionSubCommands[] = {
137};
138#endif // OPTTABLE_SUBCOMMANDS_CODE
139
140
141