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 "--callsites-yaml-file=\0"
30 "--callsites-yaml-file\0"
31 "--convert=\0"
32 "--convert\0"
33 "--dwarf-callsites\0"
34 "--help\0"
35 "-h\0"
36 "--json-summary-file=\0"
37 "--json-summary-file\0"
38 "--merged-functions-filter=\0"
39 "--merged-functions-filter\0"
40 "--merged-functions\0"
41 "--num-threads=\0"
42 "--num-threads\0"
43 "--out-file=\0"
44 "--out-file\0"
45 "-o\0"
46 "--quiet\0"
47 "--segment-size=\0"
48 "--segment-size\0"
49 "--verbose\0"
50 "--verify\0"
51 "--version\0"
52 "-v\0"
53 ;
54#ifdef __GNUC__
55#pragma GCC diagnostic pop
56#endif
57
58static constexpr llvm::StringTable
59OptionStrTable = OptionStrTableStorage;
60#endif // OPTTABLE_STR_TABLE_CODE
61
62/////////
63// Prefixes
64
65#ifdef OPTTABLE_PREFIXES_TABLE_CODE
66static constexpr llvm::StringTable::Offset OptionPrefixesTable[] = {
67 0 /* prefixes */,
68 1 /* prefixes */, 1 /* '-' */,
69 1 /* prefixes */, 3 /* '--' */
70};
71#endif // OPTTABLE_PREFIXES_TABLE_CODE
72
73/////////// SubCommand IDs
74
75#ifdef OPTTABLE_SUBCOMMAND_IDS_TABLE_CODE
76static constexpr unsigned OptionSubCommandIDsTable[] = {
77 0 /* subcommands */
78};
79#endif // OPTTABLE_SUBCOMMAND_IDS_TABLE_CODE
80
81/////////
82// Prefix Union
83
84#ifdef OPTTABLE_PREFIXES_UNION_CODE
85static constexpr llvm::StringTable::Offset OptionPrefixesUnion[] = {
86 1 /* '-' */, 3 /* '--' */
87};
88#endif // OPTTABLE_PREFIXES_UNION_CODE
89
90/////////
91// ValuesCode
92
93#ifdef OPTTABLE_VALUES_CODE
94#endif
95/////////
96// Groups
97
98#ifdef OPTION
99
100//////////
101// Options
102
103OPTION(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)
104OPTION(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)
105OPTION(3, 24 /* --address= */, address_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
106 "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)
107OPTION(3, 35 /* --addresses-from-stdin */, addresses_from_stdin, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
108 "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)
109OPTION(3, 58 /* --address */, anonymous_9, 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)
110OPTION(3, 68 /* --arch= */, arch_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
111 "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)
112OPTION(3, 76 /* --arch */, anonymous_4, 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)
113OPTION(3, 83 /* --callsites-yaml-file= */, callsites_yaml_file_EQ, Joined, INVALID, INVALID, nullptr, HelpHidden, DefaultVis, 0,
114 "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)
115OPTION(3, 106 /* --callsites-yaml-file */, anonymous_3, 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)
116OPTION(3, 128 /* --convert= */, convert_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
117 "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)
118OPTION(3, 139 /* --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)
119OPTION(3, 149 /* --dwarf-callsites */, dwarf_callsites, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
120 "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)
121OPTION(3, 167 /* --help */, help, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
122 "Display this help", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
123OPTION(1, 174 /* -h */, anonymous_1, Flag, INVALID, help, nullptr, 0, DefaultVis, 0,
124 "Alias for --help", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
125OPTION(3, 177 /* --json-summary-file= */, json_summary_file_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
126 "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)
127OPTION(3, 198 /* --json-summary-file */, anonymous_10, 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)
128OPTION(3, 218 /* --merged-functions-filter= */, merged_functions_filter_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
129 "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)
130OPTION(3, 245 /* --merged-functions-filter */, anonymous_11, 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)
131OPTION(3, 271 /* --merged-functions */, merged_functions, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
132 "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)
133OPTION(3, 290 /* --num-threads= */, num_threads_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
134 "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)
135OPTION(3, 305 /* --num-threads */, anonymous_7, 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)
136OPTION(3, 319 /* --out-file= */, out_file_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
137 "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)
138OPTION(3, 331 /* --out-file */, anonymous_5, 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)
139OPTION(1, 342 /* -o */, anonymous_6, Separate, INVALID, out_file_EQ, nullptr, 0, DefaultVis, 0,
140 "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)
141OPTION(3, 345 /* --quiet */, quiet, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
142 "Do not output warnings about the debug information", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
143OPTION(3, 353 /* --segment-size= */, segment_size_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
144 "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)
145OPTION(3, 369 /* --segment-size */, anonymous_8, 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)
146OPTION(3, 384 /* --verbose */, verbose, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
147 "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)
148OPTION(3, 394 /* --verify */, verify, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
149 "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)
150OPTION(3, 403 /* --version */, version, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
151 "Display the version", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
152OPTION(1, 413 /* -v */, anonymous_2, Flag, INVALID, version, nullptr, 0, DefaultVis, 0,
153 "Alias for --version", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
154#endif // OPTION
155
156#ifdef SIMPLE_ENUM_VALUE_TABLE
157
158struct SimpleEnumValue {
159 const char *Name;
160 unsigned Value;
161};
162
163struct SimpleEnumValueTable {
164 const SimpleEnumValue *Table;
165 unsigned Size;
166};
167static const SimpleEnumValueTable SimpleEnumValueTables[] = {};
168static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables);
169#endif // SIMPLE_ENUM_VALUE_TABLE
170
171/////////
172
173// SubCommands
174
175#ifdef OPTTABLE_SUBCOMMANDS_CODE
176static constexpr llvm::opt::OptTable::SubCommand OptionSubCommands[] = {
177};
178#endif // OPTTABLE_SUBCOMMANDS_CODE
179
180
181