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
18static 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 "--exclude-pagezero\0"
32 "--format=\0"
33 "--format\0"
34 "--help\0"
35 "-h\0"
36 "-l\0"
37 "-m\0"
38 "-o\0"
39 "--radix=\0"
40 "--radix\0"
41 "--totals\0"
42 "-t\0"
43 "--version\0"
44 "-x\0"
45 ;
46#ifdef __GNUC__
47#pragma GCC diagnostic pop
48#endif
49
50static constexpr llvm::StringTable
51OptionStrTable = OptionStrTableStorage;
52#endif // OPTTABLE_STR_TABLE_CODE
53
54/////////
55// Prefixes
56
57#ifdef OPTTABLE_PREFIXES_TABLE_CODE
58static constexpr llvm::StringTable::Offset OptionPrefixesTable[] = {
59 0 /* prefixes */,
60 1 /* prefixes */, 1 /* '-' */,
61 1 /* prefixes */, 3 /* '--' */,
62 2 /* prefixes */, 3 /* '--' */, 1 /* '-' */
63};
64#endif // OPTTABLE_PREFIXES_TABLE_CODE
65
66/////////// SubCommand IDs
67
68#ifdef OPTTABLE_SUBCOMMAND_IDS_TABLE_CODE
69static constexpr unsigned OptionSubCommandIDsTable[] = {
70 0 /* subcommands */
71};
72#endif // OPTTABLE_SUBCOMMAND_IDS_TABLE_CODE
73
74/////////
75// Prefix Union
76
77#ifdef OPTTABLE_PREFIXES_UNION_CODE
78static constexpr llvm::StringTable::Offset OptionPrefixesUnion[] = {
79 1 /* '-' */, 3 /* '--' */
80};
81#endif // OPTTABLE_PREFIXES_UNION_CODE
82
83/////////
84// ValuesCode
85
86#ifdef OPTTABLE_VALUES_CODE
87#endif
88/////////
89// Groups
90
91#ifdef OPTION
92OPTION(0 /* no prefixes */, 6 /* kind */, grp_mach_o, Group, INVALID, INVALID, nullptr, 0, 0, 0,
93 "OPTIONS (Mach-O specific)", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
94
95//////////
96// Options
97
98OPTION(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, 0)
99OPTION(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, 0)
100OPTION(3, 29 /* --arch= */, arch_EQ, Joined, grp_mach_o, INVALID, nullptr, 0, DefaultVis, 0,
101 "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, 0)
102OPTION(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, 0)
103OPTION(1, 44 /* -A */, anonymous_3, Flag, INVALID, format_EQ, "sysv\0", 0, DefaultVis, 0,
104 "Alias for --format", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
105OPTION(1, 47 /* -B */, anonymous_4, Flag, INVALID, format_EQ, "berkeley\0", 0, DefaultVis, 0,
106 "Alias for --format", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
107OPTION(3, 50 /* --common */, common, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
108 "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, 0)
109OPTION(1, 59 /* -d */, anonymous_5, Flag, INVALID, radix_EQ, "10\0", 0, DefaultVis, 0,
110 "Alias for --radix=10", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
111OPTION(3, 62 /* --exclude-pagezero */, exclude_pagezero, Flag, grp_mach_o, INVALID, nullptr, 0, DefaultVis, 0,
112 "Do not include __PAGEZERO segment in totals", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
113OPTION(3, 81 /* --format= */, format_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
114 "Specify output format", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
115OPTION(3, 91 /* --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, 0)
116OPTION(3, 100 /* --help */, help, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
117 "Display this help", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
118OPTION(1, 107 /* -h */, anonymous_6, Flag, INVALID, help, nullptr, 0, DefaultVis, 0,
119 "Alias for --help", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
120OPTION(1, 110 /* -l */, l, Flag, grp_mach_o, INVALID, nullptr, 0, DefaultVis, 0,
121 "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, 0)
122OPTION(1, 113 /* -m */, anonymous_7, Flag, INVALID, format_EQ, "darwin\0", 0, DefaultVis, 0,
123 "Alias for --format", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
124OPTION(1, 116 /* -o */, anonymous_8, Flag, INVALID, radix_EQ, "8\0", 0, DefaultVis, 0,
125 "Alias for --radix=8", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
126OPTION(3, 119 /* --radix= */, radix_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
127 "Print size in radix", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
128OPTION(3, 128 /* --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, 0)
129OPTION(3, 136 /* --totals */, totals, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
130 "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, 0)
131OPTION(1, 145 /* -t */, anonymous_9, Flag, INVALID, totals, nullptr, 0, DefaultVis, 0,
132 "Alias for --totals", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
133OPTION(3, 148 /* --version */, version, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
134 "Display the version", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
135OPTION(1, 158 /* -x */, anonymous_10, Flag, INVALID, radix_EQ, "16\0", 0, DefaultVis, 0,
136 "Alias for --radix=16", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
137#endif // OPTION
138
139#ifdef SIMPLE_ENUM_VALUE_TABLE
140
141struct SimpleEnumValue {
142 const char *Name;
143 unsigned Value;
144};
145
146struct SimpleEnumValueTable {
147 const SimpleEnumValue *Table;
148 unsigned Size;
149};
150static const SimpleEnumValueTable SimpleEnumValueTables[] = {};
151static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables);
152#endif // SIMPLE_ENUM_VALUE_TABLE
153
154/////////
155
156// SubCommands
157
158#ifdef OPTTABLE_SUBCOMMANDS_CODE
159static constexpr llvm::opt::OptTable::SubCommand OptionSubCommands[] = {
160};
161#endif // OPTTABLE_SUBCOMMANDS_CODE
162
163
164