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_2, {llvm::StringLiteral("-" ) COMMA llvm::StringLiteral("" )}) |
16 | PREFIX(prefix_1, {llvm::StringLiteral("--" ) COMMA llvm::StringLiteral("" )}) |
17 | #undef COMMA |
18 | #endif // PREFIX |
19 | |
20 | ///////// |
21 | // Prefix Union |
22 | |
23 | #ifdef PREFIX_UNION |
24 | #define COMMA , |
25 | PREFIX_UNION({ |
26 | llvm::StringLiteral("-" ) COMMA llvm::StringLiteral("--" ) COMMA llvm::StringLiteral("" )}) |
27 | #undef COMMA |
28 | #endif // PREFIX_UNION |
29 | |
30 | ///////// |
31 | // ValuesCode |
32 | |
33 | #ifdef OPTTABLE_VALUES_CODE |
34 | #endif |
35 | ///////// |
36 | // Groups |
37 | |
38 | #ifdef OPTION |
39 | |
40 | ////////// |
41 | // Options |
42 | |
43 | 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) |
44 | 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) |
45 | OPTION(prefix_1, "--address=" , address_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
46 | "Lookup an address in a GSYM file" , (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, "--addresses-from-stdin" , addresses_from_stdin, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
48 | "Lookup addresses in a GSYM file that are read from stdin\nEach input line is expected to be of the following format: <addr> <gsym-path>" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
49 | OPTION(prefix_1, "--address" , anonymous_8, Separate, INVALID, address_EQ, 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) |
50 | OPTION(prefix_1, "--arch=" , arch_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
51 | "Process debug information for the specified CPU architecture only.\nArchitectures may be specified by name or by number.\nThis option can be specified multiple times, once for each desired architecture" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
52 | OPTION(prefix_1, "--arch" , anonymous_3, Separate, INVALID, arch_EQ, 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) |
53 | OPTION(prefix_1, "--convert=" , convert_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
54 | "Convert the specified file to the GSYM format.\nSupported files include ELF and mach-o files that will have their debug info (DWARF) and symbol table converted" , (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_1, "--convert" , anonymous_0, Separate, INVALID, convert_EQ, 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) |
56 | OPTION(prefix_1, "--help" , help, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
57 | "Display this help" , (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_2, "-h" , anonymous_1, Flag, INVALID, help, nullptr, 0, DefaultVis, 0, |
59 | "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) |
60 | OPTION(prefix_1, "--json-summary-file=" , json_summary_file_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
61 | "Output a categorized summary of errors into the JSON file specified." , (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_1, "--json-summary-file" , anonymous_9, Separate, INVALID, json_summary_file_EQ, 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) |
63 | OPTION(prefix_1, "--num-threads=" , num_threads_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
64 | "Specify the maximum number (n) of simultaneous threads to use when converting files to GSYM.\nDefaults 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) }}), nullptr, nullptr) |
65 | OPTION(prefix_1, "--num-threads" , anonymous_6, Separate, INVALID, num_threads_EQ, 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) |
66 | OPTION(prefix_1, "--out-file=" , out_file_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
67 | "Specify the path where the converted GSYM file will be saved.\nWhen not specified, a '.gsym' extension will be appended to the file name specified in the --convert option" , (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, "--out-file" , anonymous_4, Separate, INVALID, out_file_EQ, 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) |
69 | OPTION(prefix_2, "-o" , anonymous_5, Separate, INVALID, out_file_EQ, nullptr, 0, DefaultVis, 0, |
70 | "Alias for --out-file" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
71 | OPTION(prefix_1, "--quiet" , quiet, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
72 | "Do not output warnings about the debug information" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
73 | OPTION(prefix_1, "--segment-size=" , segment_size_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
74 | "Specify the size in bytes of the size the final GSYM file should be segmented into. This allows GSYM files to be split across multiple files" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
75 | OPTION(prefix_1, "--segment-size" , anonymous_7, Separate, INVALID, segment_size_EQ, 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) |
76 | OPTION(prefix_1, "--verbose" , verbose, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
77 | "Enable verbose logging and encoding details" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
78 | OPTION(prefix_1, "--verify" , verify, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
79 | "Verify the generated GSYM file against the information in the file that was converted" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
80 | OPTION(prefix_1, "--version" , version, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
81 | "Display the version" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
82 | OPTION(prefix_2, "-v" , anonymous_2, Flag, INVALID, version, nullptr, 0, DefaultVis, 0, |
83 | "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) |
84 | #endif // OPTION |
85 | |
86 | #ifdef SIMPLE_ENUM_VALUE_TABLE |
87 | |
88 | struct SimpleEnumValue { |
89 | const char *Name; |
90 | unsigned Value; |
91 | }; |
92 | |
93 | struct SimpleEnumValueTable { |
94 | const SimpleEnumValue *Table; |
95 | unsigned Size; |
96 | }; |
97 | static const SimpleEnumValueTable SimpleEnumValueTables[] = {}; |
98 | static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables); |
99 | #endif // SIMPLE_ENUM_VALUE_TABLE |
100 | |
101 | |
102 | |