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 "-archs\0"
26 "-arch\0"
27 "-create\0"
28 "-extract\0"
29 "-fat64\0"
30 "-help\0"
31 "-h\0"
32 "-info\0"
33 "-output\0"
34 "-o\0"
35 "-replace\0"
36 "-segalign\0"
37 "-thin\0"
38 "-verify_arch\0"
39 "-version\0"
40 ;
41#ifdef __GNUC__
42#pragma GCC diagnostic pop
43#endif
44
45static constexpr llvm::StringTable OptionStrTable =
46 OptionStrTableStorage;
47#endif // OPTTABLE_STR_TABLE_CODE
48
49/////////
50// Prefixes
51
52#ifdef OPTTABLE_PREFIXES_TABLE_CODE
53static constexpr llvm::StringTable::Offset OptionPrefixesTable[] = {
54 0 /* prefixes */,
55 1 /* prefixes */, 1 /* '-' */,
56 2 /* prefixes */, 1 /* '-' */, 3 /* '--' */
57};
58#endif // OPTTABLE_PREFIXES_TABLE_CODE
59
60/////////
61// Prefix Union
62
63#ifdef OPTTABLE_PREFIXES_UNION_CODE
64static constexpr llvm::StringTable::Offset OptionPrefixesUnion[] = {
65 1 /* '-' */, 3 /* '--' */
66};
67#endif // OPTTABLE_PREFIXES_UNION_CODE
68
69/////////
70// ValuesCode
71
72#ifdef OPTTABLE_VALUES_CODE
73#endif
74/////////
75// Groups
76
77#ifdef OPTION
78OPTION(0 /* no prefixes */, 6 /* action group */, action_group, Group, INVALID, INVALID, nullptr, 0, 0, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
79
80//////////
81// Options
82
83OPTION(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)
84OPTION(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)
85OPTION(3, 37 /* -archs */, archs, Flag, action_group, INVALID, nullptr, 0, DefaultVis, 0,
86 "Display the arch_types present in the input file", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
87OPTION(3, 44 /* -arch */, arch, MultiArg, INVALID, INVALID, nullptr, 0, DefaultVis, 2,
88 "Specifies the architecture and the corresponding input file", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
89OPTION(3, 50 /* -create */, create, Flag, action_group, INVALID, nullptr, 0, DefaultVis, 0,
90 "Create a universal binary output file from the input files. Requires -output option", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
91OPTION(3, 58 /* -extract */, extract, Separate, action_group, INVALID, nullptr, 0, DefaultVis, 0,
92 "Create a universal output file containing only the specified arch_type from the fat input file. Requires -output option", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
93OPTION(3, 67 /* -fat64 */, fat64, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
94 "Use 64 bits Universal Mach-O format", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
95OPTION(3, 74 /* -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)
96OPTION(1, 80 /* -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)
97OPTION(3, 83 /* -info */, info, Flag, action_group, INVALID, nullptr, 0, DefaultVis, 0,
98 "Display descriptions of each input file including filename and arch_types. Groups universal binaries together followed by thin files", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
99OPTION(3, 89 /* -output */, output, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
100 "Create output file with specified name", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
101OPTION(1, 97 /* -o */, o, 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)
102OPTION(3, 100 /* -replace */, replace, MultiArg, action_group, INVALID, nullptr, 0, DefaultVis, 2,
103 "Replace the specified arch type with the contents of the input_file in a universal binary. Requires -output option", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
104OPTION(3, 109 /* -segalign */, segalign, MultiArg, INVALID, INVALID, nullptr, 0, DefaultVis, 2,
105 "Specifies the segment alignment for the specified architecture when creating a universal binary file. The alignment is a hexadecimal number that is a power of 2.", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
106OPTION(3, 119 /* -thin */, thin, Separate, action_group, INVALID, nullptr, 0, DefaultVis, 0,
107 "Create a thin output file of specified arch_type from the fat input file. Requires -output option", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
108OPTION(3, 125 /* -verify_arch */, verify_arch, RemainingArgs, action_group, INVALID, nullptr, 0, DefaultVis, 0,
109 "Verify that the specified arch_types are present in the input file", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
110OPTION(3, 138 /* -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)
112#endif // OPTION
113
114#ifdef SIMPLE_ENUM_VALUE_TABLE
115
116struct SimpleEnumValue {
117 const char *Name;
118 unsigned Value;
119};
120
121struct SimpleEnumValueTable {
122 const SimpleEnumValue *Table;
123 unsigned Size;
124};
125static const SimpleEnumValueTable SimpleEnumValueTables[] = {};
126static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables);
127#endif // SIMPLE_ENUM_VALUE_TABLE
128
129
130