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 | "<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 | |
51 | static constexpr llvm::StringTable OptionStrTable = |
52 | OptionStrTableStorage; |
53 | #endif // OPTTABLE_STR_TABLE_CODE |
54 | |
55 | ///////// |
56 | // Prefixes |
57 | |
58 | #ifdef OPTTABLE_PREFIXES_TABLE_CODE |
59 | static 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 | ///////// |
68 | // Prefix Union |
69 | |
70 | #ifdef OPTTABLE_PREFIXES_UNION_CODE |
71 | static constexpr llvm::StringTable::Offset OptionPrefixesUnion[] = { |
72 | 1 /* '-' */, 3 /* '--' */ |
73 | }; |
74 | #endif // OPTTABLE_PREFIXES_UNION_CODE |
75 | |
76 | ///////// |
77 | // ValuesCode |
78 | |
79 | #ifdef OPTTABLE_VALUES_CODE |
80 | #endif |
81 | ///////// |
82 | // Groups |
83 | |
84 | #ifdef OPTION |
85 | |
86 | ////////// |
87 | // Options |
88 | |
89 | OPTION(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) |
90 | OPTION(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) |
91 | OPTION(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) |
92 | OPTION(5, 45 /* --build-accelerator */, build_accelerator, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
93 | "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) |
94 | OPTION(3, 65 /* --garbage-collection */, garbage_collection, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
95 | "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) |
96 | OPTION(3, 86 /* --help */, help, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
97 | "Prints this help output" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
98 | OPTION(1, 93 /* -h */, h, Flag, INVALID, help, nullptr, 0, DefaultVis, 0, |
99 | "Alias for --help" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
100 | OPTION(1, 96 /* -j */, anonymous_3, Separate, INVALID, threads, nullptr, 0, DefaultVis, 0, |
101 | "Alias for --num-threads" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
102 | OPTION(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) |
103 | OPTION(5, 109 /* --linker */, linker, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
104 | "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) |
105 | OPTION(3, 118 /* --no-garbage-collection */, no_garbage_collection, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
106 | "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) |
107 | OPTION(3, 142 /* --no-odr-deduplication */, no_odr_deduplication, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
108 | "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) |
109 | OPTION(3, 165 /* --no-odr */, no_odr, Flag, INVALID, no_odr_deduplication, nullptr, 0, DefaultVis, 0, |
110 | "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) |
111 | OPTION(3, 174 /* --no-separate-debug-file */, no_separate_debug_file, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
112 | "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) |
113 | OPTION(5, 199 /* --num-threads */, threads, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
114 | "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) |
115 | OPTION(3, 213 /* --odr-deduplication */, odr_deduplication, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
116 | "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) |
117 | OPTION(3, 233 /* --odr */, odr, Flag, INVALID, odr_deduplication, nullptr, 0, DefaultVis, 0, |
118 | "Alias for --odr-deduplication" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
119 | OPTION(3, 239 /* --separate-debug-file */, separate_debug_file, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
120 | "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) |
121 | OPTION(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) |
122 | OPTION(5, 274 /* --tombstone */, tombstone, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
123 | "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) |
124 | OPTION(3, 286 /* --verbose */, verbose, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
125 | "Enable verbose logging" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
126 | OPTION(3, 296 /* --verify */, verify, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
127 | "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) |
128 | OPTION(3, 305 /* --version */, version, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
129 | "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) |
130 | OPTION(1, 315 /* -V */, V, Flag, INVALID, version, nullptr, 0, DefaultVis, 0, |
131 | "Alias for --version" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
132 | #endif // OPTION |
133 | |
134 | #ifdef SIMPLE_ENUM_VALUE_TABLE |
135 | |
136 | struct SimpleEnumValue { |
137 | const char *Name; |
138 | unsigned Value; |
139 | }; |
140 | |
141 | struct SimpleEnumValueTable { |
142 | const SimpleEnumValue *Table; |
143 | unsigned Size; |
144 | }; |
145 | static const SimpleEnumValueTable SimpleEnumValueTables[] = {}; |
146 | static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables); |
147 | #endif // SIMPLE_ENUM_VALUE_TABLE |
148 | |
149 | |
150 | |