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("--") COMMA llvm::StringLiteral("")})
16PREFIX(prefix_1, {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,
40 "COMMANDS", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
41
42//////////
43// Options
44
45OPTION(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)
46OPTION(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)
47OPTION(prefix_1, "--arch=", arch_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
48 "specify the <architecture>", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), "<architecture>", nullptr)
49OPTION(prefix_2, "-arch", anonymous_2, Separate, INVALID, arch_EQ, 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)
50OPTION(prefix_2, "-compact", compact, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
51 "write compact tapi output file", (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_2, "-compare", compare, Flag, action_group, INVALID, nullptr, 0, DefaultVis, 0,
53 "compare tapi files for library differences", (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_2, "-delete-input", delete_input, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
55 "delete and replace input file on success", (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_2, "-delete-private-libraries", delete_private_libraries, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
57 "delete private system dynamic libraries and frameworks", (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_2, "-extract", extract, Flag, action_group, INVALID, nullptr, 0, DefaultVis, 0,
59 "extract <architecture> from 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)
60OPTION(prefix_1, "--filetype=", filetype_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
61 "specify the output file type (tbd-v3, tbd-v4 or tbd-v5)", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), "<value>", nullptr)
62OPTION(prefix_2, "-filetype", anonymous_1, Separate, INVALID, filetype_EQ, 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_2, "-help", help, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
64 "display this help", (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_2, "-merge", merge, Flag, action_group, INVALID, nullptr, 0, DefaultVis, 0,
66 "merge the input files that represent the same library", (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, "--o=", output_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
68 "write output to <file>", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), "<file>", nullptr)
69OPTION(prefix_2, "-o", anonymous_0, Separate, INVALID, output_EQ, 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)
70OPTION(prefix_2, "-remove", remove, Flag, action_group, INVALID, nullptr, 0, DefaultVis, 0,
71 "remove <architecture> from 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)
72OPTION(prefix_2, "-stubify", stubify, Flag, action_group, INVALID, nullptr, 0, DefaultVis, 0,
73 "create a tapi file from a dynamic library or framework", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
74OPTION(prefix_2, "-t", t, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
75 "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::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
76OPTION(prefix_2, "-version", version, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
77 "print the llvm-readtapi version", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
78OPTION(prefix_2, "-v", v, Flag, INVALID, version, nullptr, 0, DefaultVis, 0,
79 "alias for --version", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
80#endif // OPTION
81
82#ifdef SIMPLE_ENUM_VALUE_TABLE
83
84struct SimpleEnumValue {
85 const char *Name;
86 unsigned Value;
87};
88
89struct SimpleEnumValueTable {
90 const SimpleEnumValue *Table;
91 unsigned Size;
92};
93static const SimpleEnumValueTable SimpleEnumValueTables[] = {};
94static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables);
95#endif // SIMPLE_ENUM_VALUE_TABLE
96
97
98