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 "<input>\0"
23 "<unknown>\0"
24 "--build-accelerator=\0"
25 "--build-accelerator\0"
26 "--garbage-collection\0"
27 "--help\0"
28 "-h\0"
29 "-j\0"
30 "--linker=\0"
31 "--linker\0"
32 "--no-garbage-collection\0"
33 "--no-odr-deduplication\0"
34 "--no-odr\0"
35 "--no-separate-debug-file\0"
36 "--num-threads\0"
37 "--odr-deduplication\0"
38 "--odr\0"
39 "--separate-debug-file\0"
40 "--tombstone=\0"
41 "--tombstone\0"
42 "--verbose\0"
43 "--verify\0"
44 "--version\0"
45 "-V\0"
46 ;
47#ifdef __GNUC__
48#pragma GCC diagnostic pop
49#endif
50
51static constexpr llvm::StringTable
52OptionStrTable = OptionStrTableStorage;
53#endif // OPTTABLE_STR_TABLE_CODE
54
55/////////
56// Prefixes
57
58#ifdef OPTTABLE_PREFIXES_TABLE_CODE
59static constexpr llvm::StringTable::Offset OptionPrefixesTable[] = {
60 0 /* prefixes */,
61 1 /* prefixes */, 1 /* '-' */,
62 1 /* prefixes */, 3 /* '--' */,
63 2 /* prefixes */, 3 /* '--' */, 1 /* '-' */
64};
65#endif // OPTTABLE_PREFIXES_TABLE_CODE
66
67/////////// SubCommand IDs
68
69#ifdef OPTTABLE_SUBCOMMAND_IDS_TABLE_CODE
70static constexpr unsigned OptionSubCommandIDsTable[] = {
71 0 /* subcommands */
72};
73#endif // OPTTABLE_SUBCOMMAND_IDS_TABLE_CODE
74
75/////////
76// Prefix Union
77
78#ifdef OPTTABLE_PREFIXES_UNION_CODE
79static constexpr llvm::StringTable::Offset OptionPrefixesUnion[] = {
80 1 /* '-' */, 3 /* '--' */
81};
82#endif // OPTTABLE_PREFIXES_UNION_CODE
83
84/////////
85// ValuesCode
86
87#ifdef OPTTABLE_VALUES_CODE
88#endif
89/////////
90// Groups
91
92#ifdef OPTION
93
94//////////
95// Options
96
97OPTION(0, 6 /* <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)
98OPTION(0, 14 /* <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)
99OPTION(5, 24 /* --build-accelerator= */, anonymous_0, Joined, INVALID, build_accelerator, 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(5, 45 /* --build-accelerator */, build_accelerator, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
101 "Build accelerator tables(default: none)\n =none - Do not build accelerators\n =DWARF - .debug_names are generated for all DWARF versions\n", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "[none,DWARF]", nullptr, 0)
102OPTION(3, 65 /* --garbage-collection */, garbage_collection, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
103 "Do garbage collection for debug info(default)", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
104OPTION(3, 86 /* --help */, help, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
105 "Prints this help output", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
106OPTION(1, 93 /* -h */, h, Flag, INVALID, help, nullptr, 0, DefaultVis, 0,
107 "Alias for --help", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
108OPTION(1, 96 /* -j */, anonymous_3, Separate, INVALID, threads, nullptr, 0, DefaultVis, 0,
109 "Alias for --num-threads", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
110OPTION(5, 99 /* --linker= */, anonymous_1, Joined, INVALID, linker, 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)
111OPTION(5, 109 /* --linker */, linker, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
112 "Specify the desired type of DWARF linker. Defaults to 'classic'", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<DWARF linker type>", nullptr, 0)
113OPTION(3, 118 /* --no-garbage-collection */, no_garbage_collection, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
114 "Don`t do garbage collection for debug info", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
115OPTION(3, 142 /* --no-odr-deduplication */, no_odr_deduplication, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
116 "Don`t do ODR deduplication for debug types", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
117OPTION(3, 165 /* --no-odr */, no_odr, Flag, INVALID, no_odr_deduplication, nullptr, 0, DefaultVis, 0,
118 "Alias for --no-odr-deduplication", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
119OPTION(3, 174 /* --no-separate-debug-file */, no_separate_debug_file, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
120 "Create single output file, containing debug tables(default)", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
121OPTION(5, 199 /* --num-threads */, threads, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
122 "Number of available threads for multi-threaded execution. Defaults to the number of cores on the current machine", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<threads>", nullptr, 0)
123OPTION(3, 213 /* --odr-deduplication */, odr_deduplication, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
124 "Do ODR deduplication for debug types(default)", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
125OPTION(3, 233 /* --odr */, odr, Flag, INVALID, odr_deduplication, nullptr, 0, DefaultVis, 0,
126 "Alias for --odr-deduplication", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
127OPTION(3, 239 /* --separate-debug-file */, separate_debug_file, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
128 "Create two output files: file w/o debug tables and file with debug tables", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
129OPTION(5, 261 /* --tombstone= */, anonymous_2, Joined, INVALID, tombstone, 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)
130OPTION(5, 274 /* --tombstone */, tombstone, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
131 "Tombstone value used as a marker of invalid address(default: universal)\n =bfd - Zero for all addresses and [1,1] for DWARF v4 (or less) address ranges and exec\n =maxpc - Minus 1 for all addresses and minus 2 for DWARF v4 (or less) address ranges\n =exec - Match with address ranges of executable sections\n =universal - Both: bfd and maxpc", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "[bfd,maxpc,exec,universal]", nullptr, 0)
132OPTION(3, 286 /* --verbose */, verbose, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
133 "Enable verbose logging", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
134OPTION(3, 296 /* --verify */, verify, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
135 "Run the DWARF verifier on the resulting debug info", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
136OPTION(3, 305 /* --version */, version, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
137 "Print the version and exit", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
138OPTION(1, 315 /* -V */, V, Flag, INVALID, version, nullptr, 0, DefaultVis, 0,
139 "Alias for --version", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
140#endif // OPTION
141
142#ifdef SIMPLE_ENUM_VALUE_TABLE
143
144struct SimpleEnumValue {
145 const char *Name;
146 unsigned Value;
147};
148
149struct SimpleEnumValueTable {
150 const SimpleEnumValue *Table;
151 unsigned Size;
152};
153static const SimpleEnumValueTable SimpleEnumValueTables[] = {};
154static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables);
155#endif // SIMPLE_ENUM_VALUE_TABLE
156
157/////////
158
159// SubCommands
160
161#ifdef OPTTABLE_SUBCOMMANDS_CODE
162static constexpr llvm::opt::OptTable::SubCommand OptionSubCommands[] = {
163};
164#endif // OPTTABLE_SUBCOMMANDS_CODE
165
166
167