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 "--address=\0"
25 "--addresses-from-stdin\0"
26 "--address\0"
27 "--arch=\0"
28 "--arch\0"
29 "--benchmark-reader=\0"
30 "--benchmark-reader\0"
31 "--callsites-yaml-file=\0"
32 "--callsites-yaml-file\0"
33 "--convert=\0"
34 "--convert\0"
35 "--dwarf-callsites\0"
36 "--help\0"
37 "-h\0"
38 "--json-summary-file=\0"
39 "--json-summary-file\0"
40 "--merged-functions-filter=\0"
41 "--merged-functions-filter\0"
42 "--merged-functions\0"
43 "--num-threads=\0"
44 "--num-threads\0"
45 "--out-file=\0"
46 "--out-file\0"
47 "--output-version=\0"
48 "--output-version\0"
49 "-o\0"
50 "--quiet\0"
51 "--segment-size=\0"
52 "--segment-size\0"
53 "--statistics=\0"
54 "--statistics\0"
55 "--symtab-file=\0"
56 "--symtab-file\0"
57 "--verbose\0"
58 "--verify\0"
59 "--version\0"
60 "-v\0"
61 ;
62#ifdef __GNUC__
63#pragma GCC diagnostic pop
64#endif
65
66static constexpr llvm::StringTable
67OptionStrTable = OptionStrTableStorage;
68#endif // OPTTABLE_STR_TABLE_CODE
69
70/////////
71// Prefixes
72
73#ifdef OPTTABLE_PREFIXES_TABLE_CODE
74static constexpr llvm::StringTable::Offset OptionPrefixesTable[] = {
75 0 /* prefixes */,
76 1 /* prefixes */, 1 /* '-' */,
77 1 /* prefixes */, 3 /* '--' */
78};
79#endif // OPTTABLE_PREFIXES_TABLE_CODE
80
81/////////// SubCommand IDs
82
83#ifdef OPTTABLE_SUBCOMMAND_IDS_TABLE_CODE
84static constexpr unsigned OptionSubCommandIDsTable[] = {
85 0 /* subcommands */
86};
87#endif // OPTTABLE_SUBCOMMAND_IDS_TABLE_CODE
88
89/////////
90// Prefix Union
91
92#ifdef OPTTABLE_PREFIXES_UNION_CODE
93static constexpr llvm::StringTable::Offset OptionPrefixesUnion[] = {
94 1 /* '-' */, 3 /* '--' */
95};
96#endif // OPTTABLE_PREFIXES_UNION_CODE
97
98/////////
99// ValuesCode
100
101#ifdef OPTTABLE_VALUES_CODE
102#endif
103/////////
104// Groups
105
106#ifdef OPTION
107
108//////////
109// Options
110
111OPTION(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)
112OPTION(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)
113OPTION(3, 24 /* --address= */, address_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
114 "Lookup an address in a GSYM file", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
115OPTION(3, 35 /* --addresses-from-stdin */, addresses_from_stdin, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
116 "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::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
117OPTION(3, 58 /* --address */, anonymous_10, Separate, INVALID, address_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)
118OPTION(3, 68 /* --arch= */, arch_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
119 "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::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
120OPTION(3, 76 /* --arch */, anonymous_5, 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)
121OPTION(3, 83 /* --benchmark-reader= */, benchmark_reader, Joined, INVALID, INVALID, nullptr, HelpHidden, DefaultVis, 0,
122 "Benchmark reader with start,stride (default: 0,1 = every address)", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
123OPTION(3, 103 /* --benchmark-reader */, benchmark_reader_all, Flag, INVALID, INVALID, nullptr, HelpHidden, DefaultVis, 0,
124 "Benchmark reader by looking up every address", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
125OPTION(3, 122 /* --callsites-yaml-file= */, callsites_yaml_file_EQ, Joined, INVALID, INVALID, nullptr, HelpHidden, DefaultVis, 0,
126 "Load call site info from YAML file. Useful for testing.", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
127OPTION(3, 145 /* --callsites-yaml-file */, anonymous_4, Separate, INVALID, callsites_yaml_file_EQ, nullptr, HelpHidden, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
128OPTION(3, 167 /* --convert= */, convert_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
129 "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::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
130OPTION(3, 178 /* --convert */, anonymous_0, Separate, INVALID, convert_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)
131OPTION(3, 188 /* --dwarf-callsites */, dwarf_callsites, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
132 "Load call site info from DWARF, if available", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
133OPTION(3, 206 /* --help */, help, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
134 "Display this help", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
135OPTION(1, 213 /* -h */, anonymous_1, Flag, INVALID, help, nullptr, 0, DefaultVis, 0,
136 "Alias for --help", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
137OPTION(3, 216 /* --json-summary-file= */, json_summary_file_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
138 "Output a categorized summary of errors into the JSON file specified.", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
139OPTION(3, 237 /* --json-summary-file */, anonymous_11, Separate, INVALID, json_summary_file_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)
140OPTION(3, 257 /* --merged-functions-filter= */, merged_functions_filter_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
141 "When used with --address/--addresses-from-stdin and --merged-functions,\nfilters the merged functions output to only show functions matching any of the specified regex patterns.\nCan be specified multiple times.", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
142OPTION(3, 284 /* --merged-functions-filter */, anonymous_12, Separate, INVALID, merged_functions_filter_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)
143OPTION(3, 310 /* --merged-functions */, merged_functions, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
144 "When used with --convert, encodes merged function information for functions in debug info that have matching address ranges.\nWithout this option one function per unique address range will be emitted.\nWhen used with --address/--addresses-from-stdin, all merged functions for a particular address will be displayed.\nWithout this option only one function will be displayed.", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
145OPTION(3, 329 /* --num-threads= */, num_threads_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
146 "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::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
147OPTION(3, 344 /* --num-threads */, anonymous_8, Separate, INVALID, num_threads_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)
148OPTION(3, 358 /* --out-file= */, out_file_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
149 "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::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
150OPTION(3, 370 /* --out-file */, anonymous_6, Separate, INVALID, out_file_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)
151OPTION(3, 381 /* --output-version= */, output_version_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
152 "Set the GSYM output version (1 or 2). Default: 1.", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
153OPTION(3, 399 /* --output-version */, anonymous_13, Separate, INVALID, output_version_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)
154OPTION(1, 416 /* -o */, anonymous_7, Separate, INVALID, out_file_EQ, nullptr, 0, DefaultVis, 0,
155 "Alias for --out-file", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
156OPTION(3, 419 /* --quiet */, quiet, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
157 "Do not output warnings or errors about the debug information. The aggregated counts are still printed", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
158OPTION(3, 427 /* --segment-size= */, segment_size_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
159 "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::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
160OPTION(3, 443 /* --segment-size */, anonymous_9, Separate, INVALID, segment_size_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)
161OPTION(3, 458 /* --statistics= */, statistics_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
162 "Print the size of each section in the input GSYM file(s).\nFormat: text (default), json, or pretty-json", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
163OPTION(3, 472 /* --statistics */, statistics, Flag, INVALID, statistics_EQ, "text\0", 0, DefaultVis, 0,
164 "Alias for --statistics=text", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
165OPTION(3, 485 /* --symtab-file= */, symtab_file_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
166 "Specify a separate file to read the symbol table from during GSYM conversion.\nUse when the symbol table and debug info are in separate files.\nMatching architectures are selected automatically for universal binaries", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
167OPTION(3, 500 /* --symtab-file */, anonymous_3, Separate, INVALID, symtab_file_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)
168OPTION(3, 514 /* --verbose */, verbose, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
169 "Enable verbose logging and encoding details", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
170OPTION(3, 524 /* --verify */, verify, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
171 "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::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
172OPTION(3, 533 /* --version */, version, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
173 "Display the version", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
174OPTION(1, 543 /* -v */, anonymous_2, Flag, INVALID, version, nullptr, 0, DefaultVis, 0,
175 "Alias for --version", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
176#endif // OPTION
177
178#ifdef SIMPLE_ENUM_VALUE_TABLE
179
180struct SimpleEnumValue {
181 const char *Name;
182 unsigned Value;
183};
184
185struct SimpleEnumValueTable {
186 const SimpleEnumValue *Table;
187 unsigned Size;
188};
189static const SimpleEnumValueTable SimpleEnumValueTables[] = {};
190static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables);
191#endif // SIMPLE_ENUM_VALUE_TABLE
192
193/////////
194
195// SubCommands
196
197#ifdef OPTTABLE_SUBCOMMANDS_CODE
198static constexpr llvm::opt::OptTable::SubCommand OptionSubCommands[] = {
199};
200#endif // OPTTABLE_SUBCOMMANDS_CODE
201
202
203