1/*===- TableGen'erated file -------------------------------------*- C++ -*-===*\
2|* *|
3|* Option Parsing Definitions *|
4|* *|
5|* Automatically generated file, do not edit! *|
6|* *|
7\*===----------------------------------------------------------------------===*/
8
9/////////
10// Prefixes
11
12#ifdef PREFIX
13#define COMMA ,
14PREFIX(prefix_0, {llvm::StringLiteral("")})
15PREFIX(prefix_2, {llvm::StringLiteral("-") COMMA llvm::StringLiteral("")})
16PREFIX(prefix_1, {llvm::StringLiteral("-") COMMA llvm::StringLiteral("--") COMMA llvm::StringLiteral("")})
17#undef COMMA
18#endif // PREFIX
19
20/////////
21// Prefix Union
22
23#ifdef PREFIX_UNION
24#define COMMA ,
25PREFIX_UNION({
26llvm::StringLiteral("-") COMMA llvm::StringLiteral("--") COMMA llvm::StringLiteral("")})
27#undef COMMA
28#endif // PREFIX_UNION
29
30/////////
31// ValuesCode
32
33#ifdef OPTTABLE_VALUES_CODE
34#endif
35/////////
36// Groups
37
38#ifdef OPTION
39OPTION(llvm::ArrayRef<llvm::StringLiteral>(), "action group", action_group, Group, INVALID, INVALID, nullptr, 0, 0, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
40
41//////////
42// Options
43
44OPTION(prefix_0, "<input>", INPUT, Input, INVALID, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
45OPTION(prefix_0, "<unknown>", UNKNOWN, Unknown, INVALID, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
46OPTION(prefix_1, "-archs", archs, Flag, action_group, INVALID, nullptr, 0, DefaultVis, 0,
47 "Display the arch_types present in the input file", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
48OPTION(prefix_1, "-arch", arch, MultiArg, INVALID, INVALID, nullptr, 0, DefaultVis, 2,
49 "Specifies the architecture and the corresponding input file", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
50OPTION(prefix_1, "-create", create, Flag, action_group, INVALID, nullptr, 0, DefaultVis, 0,
51 "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::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
52OPTION(prefix_1, "-extract", extract, Separate, action_group, INVALID, nullptr, 0, DefaultVis, 0,
53 "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::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
54OPTION(prefix_1, "-fat64", fat64, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
55 "Use 64 bits Universal Mach-O format", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
56OPTION(prefix_1, "-help", help, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
57OPTION(prefix_2, "-h", h, Flag, INVALID, help, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
58OPTION(prefix_1, "-info", info, Flag, action_group, INVALID, nullptr, 0, DefaultVis, 0,
59 "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::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
60OPTION(prefix_1, "-output", output, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
61 "Create output file with specified name", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
62OPTION(prefix_2, "-o", o, JoinedOrSeparate, INVALID, output, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
63OPTION(prefix_1, "-replace", replace, MultiArg, action_group, INVALID, nullptr, 0, DefaultVis, 2,
64 "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::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
65OPTION(prefix_1, "-segalign", segalign, MultiArg, INVALID, INVALID, nullptr, 0, DefaultVis, 2,
66 "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::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
67OPTION(prefix_1, "-thin", thin, Separate, action_group, INVALID, nullptr, 0, DefaultVis, 0,
68 "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::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
69OPTION(prefix_1, "-verify_arch", verify_arch, RemainingArgs, action_group, INVALID, nullptr, 0, DefaultVis, 0,
70 "Verify that the specified arch_types are present in the input file", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
71OPTION(prefix_1, "-version", version, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
72 "Print the version and exit.", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
73#endif // OPTION
74
75#ifdef SIMPLE_ENUM_VALUE_TABLE
76
77struct SimpleEnumValue {
78 const char *Name;
79 unsigned Value;
80};
81
82struct SimpleEnumValueTable {
83 const SimpleEnumValue *Table;
84 unsigned Size;
85};
86static const SimpleEnumValueTable SimpleEnumValueTables[] = {};
87static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables);
88#endif // SIMPLE_ENUM_VALUE_TABLE
89
90
91