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 |
18 | static constexpr char OptionStrTableStorage[] = |
19 | "\0" |
20 | "-\0" |
21 | "--\0" |
22 | "kind\0" |
23 | "<input>\0" |
24 | "<unknown>\0" |
25 | "--arch=\0" |
26 | "--arch\0" |
27 | "-A\0" |
28 | "-B\0" |
29 | "--common\0" |
30 | "-d\0" |
31 | "--format=\0" |
32 | "--format\0" |
33 | "--help\0" |
34 | "-h\0" |
35 | "-l\0" |
36 | "-m\0" |
37 | "-o\0" |
38 | "--radix=\0" |
39 | "--radix\0" |
40 | "--totals\0" |
41 | "-t\0" |
42 | "--version\0" |
43 | "-x\0" |
44 | ; |
45 | #ifdef __GNUC__ |
46 | #pragma GCC diagnostic pop |
47 | #endif |
48 | |
49 | static constexpr llvm::StringTable OptionStrTable = |
50 | OptionStrTableStorage; |
51 | #endif // OPTTABLE_STR_TABLE_CODE |
52 | |
53 | ///////// |
54 | // Prefixes |
55 | |
56 | #ifdef OPTTABLE_PREFIXES_TABLE_CODE |
57 | static constexpr llvm::StringTable::Offset OptionPrefixesTable[] = { |
58 | 0 /* prefixes */, |
59 | 1 /* prefixes */, 1 /* '-' */, |
60 | 1 /* prefixes */, 3 /* '--' */, |
61 | 2 /* prefixes */, 3 /* '--' */, 1 /* '-' */ |
62 | }; |
63 | #endif // OPTTABLE_PREFIXES_TABLE_CODE |
64 | |
65 | ///////// |
66 | // Prefix Union |
67 | |
68 | #ifdef OPTTABLE_PREFIXES_UNION_CODE |
69 | static constexpr llvm::StringTable::Offset OptionPrefixesUnion[] = { |
70 | 1 /* '-' */, 3 /* '--' */ |
71 | }; |
72 | #endif // OPTTABLE_PREFIXES_UNION_CODE |
73 | |
74 | ///////// |
75 | // ValuesCode |
76 | |
77 | #ifdef OPTTABLE_VALUES_CODE |
78 | #endif |
79 | ///////// |
80 | // Groups |
81 | |
82 | #ifdef OPTION |
83 | OPTION(0 /* no prefixes */, 6 /* kind */, grp_mach_o, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
84 | "OPTIONS (Mach-O specific)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
85 | |
86 | ////////// |
87 | // Options |
88 | |
89 | OPTION(0, 11 /* <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) |
90 | OPTION(0, 19 /* <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) |
91 | OPTION(3, 29 /* --arch= */, arch_EQ, Joined, grp_mach_o, INVALID, nullptr, 0, DefaultVis, 0, |
92 | "architecture(s) from a Mach-O file to dump" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
93 | OPTION(5, 37 /* --arch */, anonymous_2, Separate, INVALID, arch_EQ, 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) |
94 | OPTION(1, 44 /* -A */, anonymous_3, Flag, INVALID, format_EQ, "sysv\0" , 0, DefaultVis, 0, |
95 | "Alias for --format" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
96 | OPTION(1, 47 /* -B */, anonymous_4, Flag, INVALID, format_EQ, "berkeley\0" , 0, DefaultVis, 0, |
97 | "Alias for --format" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
98 | OPTION(3, 50 /* --common */, common, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
99 | "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::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
100 | OPTION(1, 59 /* -d */, anonymous_5, Flag, INVALID, radix_EQ, "10\0" , 0, DefaultVis, 0, |
101 | "Alias for --radix=10" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
102 | OPTION(3, 62 /* --format= */, format_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
103 | "Specify output format" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
104 | OPTION(3, 72 /* --format */, anonymous_0, Separate, INVALID, format_EQ, 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) |
105 | OPTION(3, 81 /* --help */, help, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
106 | "Display this help" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
107 | OPTION(1, 88 /* -h */, anonymous_6, Flag, INVALID, help, nullptr, 0, DefaultVis, 0, |
108 | "Alias for --help" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
109 | OPTION(1, 91 /* -l */, l, Flag, grp_mach_o, INVALID, nullptr, 0, DefaultVis, 0, |
110 | "When format is darwin, use long format to include addresses and offsets" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
111 | OPTION(1, 94 /* -m */, anonymous_7, Flag, INVALID, format_EQ, "darwin\0" , 0, DefaultVis, 0, |
112 | "Alias for --format" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
113 | OPTION(1, 97 /* -o */, anonymous_8, Flag, INVALID, radix_EQ, "8\0" , 0, DefaultVis, 0, |
114 | "Alias for --radix=8" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
115 | OPTION(3, 100 /* --radix= */, radix_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
116 | "Print size in radix" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
117 | OPTION(3, 109 /* --radix */, anonymous_1, Separate, INVALID, radix_EQ, 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) |
118 | OPTION(3, 117 /* --totals */, totals, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
119 | "Print totals of all objects - Berkeley format only" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
120 | OPTION(1, 126 /* -t */, anonymous_9, Flag, INVALID, totals, nullptr, 0, DefaultVis, 0, |
121 | "Alias for --totals" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
122 | OPTION(3, 129 /* --version */, version, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
123 | "Display the version" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
124 | OPTION(1, 139 /* -x */, anonymous_10, Flag, INVALID, radix_EQ, "16\0" , 0, DefaultVis, 0, |
125 | "Alias for --radix=16" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
126 | #endif // OPTION |
127 | |
128 | #ifdef SIMPLE_ENUM_VALUE_TABLE |
129 | |
130 | struct SimpleEnumValue { |
131 | const char *Name; |
132 | unsigned Value; |
133 | }; |
134 | |
135 | struct SimpleEnumValueTable { |
136 | const SimpleEnumValue *Table; |
137 | unsigned Size; |
138 | }; |
139 | static const SimpleEnumValueTable SimpleEnumValueTables[] = {}; |
140 | static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables); |
141 | #endif // SIMPLE_ENUM_VALUE_TABLE |
142 | |
143 | |
144 | |