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 , |
14 | PREFIX(prefix_0, {llvm::StringLiteral("" )}) |
15 | PREFIX(prefix_2, {llvm::StringLiteral("-" ) COMMA llvm::StringLiteral("--" ) COMMA llvm::StringLiteral("" )}) |
16 | PREFIX(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 , |
25 | PREFIX_UNION({ |
26 | llvm::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 |
39 | OPTION(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 | |
45 | OPTION(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) |
46 | OPTION(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) |
47 | OPTION(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) |
49 | OPTION(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) |
50 | OPTION(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) |
52 | OPTION(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) |
54 | OPTION(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) |
56 | OPTION(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) |
58 | OPTION(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) |
60 | OPTION(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) |
62 | OPTION(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) |
63 | OPTION(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) |
65 | OPTION(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) |
67 | OPTION(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) |
69 | OPTION(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) |
70 | OPTION(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) |
72 | OPTION(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) |
74 | OPTION(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) |
76 | OPTION(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) |
78 | OPTION(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 | |
84 | struct SimpleEnumValue { |
85 | const char *Name; |
86 | unsigned Value; |
87 | }; |
88 | |
89 | struct SimpleEnumValueTable { |
90 | const SimpleEnumValue *Table; |
91 | unsigned Size; |
92 | }; |
93 | static const SimpleEnumValueTable SimpleEnumValueTables[] = {}; |
94 | static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables); |
95 | #endif // SIMPLE_ENUM_VALUE_TABLE |
96 | |
97 | |
98 | |