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_2, {llvm::StringLiteral("--" ) COMMA llvm::StringLiteral("" )}) |
17 | PREFIX(prefix_1, {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 | |
41 | ////////// |
42 | // Options |
43 | |
44 | 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) |
45 | 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) |
46 | OPTION(prefix_1, "--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::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
47 | OPTION(prefix_1, "--build-accelerator" , build_accelerator, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
48 | "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::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), "[none,DWARF]" , nullptr) |
49 | OPTION(prefix_2, "--garbage-collection" , garbage_collection, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
50 | "Do garbage collection for debug info(default)" , (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_2, "--help" , help, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
52 | "Prints this help output" , (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, "-h" , h, Flag, INVALID, help, nullptr, 0, DefaultVis, 0, |
54 | "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) |
55 | OPTION(prefix_3, "-j" , anonymous_3, Separate, INVALID, threads, nullptr, 0, DefaultVis, 0, |
56 | "Alias for --num-threads" , (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_1, "--linker=" , anonymous_1, Joined, INVALID, linker, 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) |
58 | OPTION(prefix_1, "--linker" , linker, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
59 | "Specify the desired type of DWARF linker. Defaults to 'classic'" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), "<DWARF linker type>" , nullptr) |
60 | OPTION(prefix_2, "--no-garbage-collection" , no_garbage_collection, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
61 | "Don`t do garbage collection for debug info" , (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_2, "--no-odr-deduplication" , no_odr_deduplication, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
63 | "Don`t do ODR deduplication for debug types" , (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_2, "--no-odr" , no_odr, Flag, INVALID, no_odr_deduplication, nullptr, 0, DefaultVis, 0, |
65 | "Alias for --no-odr-deduplication" , (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_2, "--no-separate-debug-file" , no_separate_debug_file, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
67 | "Create single output file, containing debug tables(default)" , (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_1, "--num-threads" , threads, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
69 | "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::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), "<threads>" , nullptr) |
70 | OPTION(prefix_2, "--odr-deduplication" , odr_deduplication, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
71 | "Do ODR deduplication for debug types(default)" , (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_2, "--odr" , odr, Flag, INVALID, odr_deduplication, nullptr, 0, DefaultVis, 0, |
73 | "Alias for --odr-deduplication" , (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_2, "--separate-debug-file" , separate_debug_file, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
75 | "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::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
76 | OPTION(prefix_1, "--tombstone=" , anonymous_2, Joined, INVALID, tombstone, 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) |
77 | OPTION(prefix_1, "--tombstone" , tombstone, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
78 | "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::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), "[bfd,maxpc,exec,universal]" , nullptr) |
79 | OPTION(prefix_2, "--verbose" , verbose, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
80 | "Enable verbose logging" , (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_2, "--verify" , verify, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
82 | "Run the DWARF verifier on the resulting debug info" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
83 | OPTION(prefix_2, "--version" , version, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
84 | "Print the version and exit" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
85 | OPTION(prefix_3, "-V" , V, Flag, INVALID, version, nullptr, 0, DefaultVis, 0, |
86 | "Alias for --version" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
87 | #endif // OPTION |
88 | |
89 | #ifdef SIMPLE_ENUM_VALUE_TABLE |
90 | |
91 | struct SimpleEnumValue { |
92 | const char *Name; |
93 | unsigned Value; |
94 | }; |
95 | |
96 | struct SimpleEnumValueTable { |
97 | const SimpleEnumValue *Table; |
98 | unsigned Size; |
99 | }; |
100 | static const SimpleEnumValueTable SimpleEnumValueTables[] = {}; |
101 | static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables); |
102 | #endif // SIMPLE_ENUM_VALUE_TABLE |
103 | |
104 | |
105 | |