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_3, {llvm::StringLiteral("-" ) COMMA llvm::StringLiteral("" )}) |
16 | PREFIX(prefix_1, {llvm::StringLiteral("--" ) COMMA llvm::StringLiteral("" )}) |
17 | PREFIX(prefix_2, {llvm::StringLiteral("--" ) COMMA llvm::StringLiteral("-" ) COMMA llvm::StringLiteral("" )}) |
18 | #undef COMMA |
19 | #endif // PREFIX |
20 | |
21 | ///////// |
22 | // Prefix Union |
23 | |
24 | #ifdef PREFIX_UNION |
25 | #define COMMA , |
26 | PREFIX_UNION({ |
27 | llvm::StringLiteral("-" ) COMMA llvm::StringLiteral("--" ) COMMA llvm::StringLiteral("" )}) |
28 | #undef COMMA |
29 | #endif // PREFIX_UNION |
30 | |
31 | ///////// |
32 | // ValuesCode |
33 | |
34 | #ifdef OPTTABLE_VALUES_CODE |
35 | #endif |
36 | ///////// |
37 | // Groups |
38 | |
39 | #ifdef OPTION |
40 | OPTION(llvm::ArrayRef<llvm::StringLiteral>(), "kind" , grp_mach_o, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
41 | "OPTIONS (Mach-O specific)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
42 | |
43 | ////////// |
44 | // Options |
45 | |
46 | 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) |
47 | 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) |
48 | OPTION(prefix_1, "--arch=" , arch_EQ, Joined, grp_mach_o, INVALID, nullptr, 0, DefaultVis, 0, |
49 | "architecture(s) from a Mach-O file to dump" , (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, "--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) |
51 | OPTION(prefix_3, "-A" , anonymous_3, Flag, INVALID, format_EQ, "sysv\0" , 0, DefaultVis, 0, |
52 | "Alias for --format" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
53 | OPTION(prefix_3, "-B" , anonymous_4, Flag, INVALID, format_EQ, "berkeley\0" , 0, DefaultVis, 0, |
54 | "Alias for --format" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
55 | OPTION(prefix_1, "--common" , common, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
56 | "Print common symbols in the ELF file. When using Berkeley format, this is added to bss" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
57 | OPTION(prefix_3, "-d" , anonymous_5, Flag, INVALID, radix_EQ, "10\0" , 0, DefaultVis, 0, |
58 | "Alias for --radix=10" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
59 | OPTION(prefix_1, "--format=" , format_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
60 | "Specify output format" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
61 | OPTION(prefix_1, "--format" , anonymous_0, Separate, INVALID, format_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) |
62 | OPTION(prefix_1, "--help" , help, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
63 | "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) |
64 | OPTION(prefix_3, "-h" , anonymous_6, Flag, INVALID, help, nullptr, 0, DefaultVis, 0, |
65 | "Alias for --help" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
66 | OPTION(prefix_3, "-l" , l, Flag, grp_mach_o, INVALID, nullptr, 0, DefaultVis, 0, |
67 | "When format is darwin, use long format to include addresses and offsets" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
68 | OPTION(prefix_3, "-m" , anonymous_7, Flag, INVALID, format_EQ, "darwin\0" , 0, DefaultVis, 0, |
69 | "Alias for --format" , (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_3, "-o" , anonymous_8, Flag, INVALID, radix_EQ, "8\0" , 0, DefaultVis, 0, |
71 | "Alias for --radix=8" , (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_1, "--radix=" , radix_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
73 | "Print size in radix" , (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_1, "--radix" , anonymous_1, Separate, INVALID, radix_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) |
75 | OPTION(prefix_1, "--totals" , totals, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
76 | "Print totals of all objects - Berkeley format only" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
77 | OPTION(prefix_3, "-t" , anonymous_9, Flag, INVALID, totals, nullptr, 0, DefaultVis, 0, |
78 | "Alias for --totals" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
79 | OPTION(prefix_1, "--version" , version, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
80 | "Display the version" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
81 | OPTION(prefix_3, "-x" , anonymous_10, Flag, INVALID, radix_EQ, "16\0" , 0, DefaultVis, 0, |
82 | "Alias for --radix=16" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
83 | #endif // OPTION |
84 | |
85 | #ifdef SIMPLE_ENUM_VALUE_TABLE |
86 | |
87 | struct SimpleEnumValue { |
88 | const char *Name; |
89 | unsigned Value; |
90 | }; |
91 | |
92 | struct SimpleEnumValueTable { |
93 | const SimpleEnumValue *Table; |
94 | unsigned Size; |
95 | }; |
96 | static const SimpleEnumValueTable SimpleEnumValueTables[] = {}; |
97 | static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables); |
98 | #endif // SIMPLE_ENUM_VALUE_TABLE |
99 | |
100 | |
101 | |