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 OptionStrTable =
59 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/////////
74// Prefix Union
75
76#ifdef OPTTABLE_PREFIXES_UNION_CODE
77static constexpr llvm::StringTable::Offset OptionPrefixesUnion[] = {
78 1 /* '-' */, 3 /* '--' */
79};
80#endif // OPTTABLE_PREFIXES_UNION_CODE
81
82/////////
83// ValuesCode
84
85#ifdef OPTTABLE_VALUES_CODE
86#endif
87/////////
88// Groups
89
90#ifdef OPTION
91
92//////////
93// Options
94
95OPTION(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)
96OPTION(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)
97OPTION(3, 24 /* --address= */, address_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
98 "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)
99OPTION(3, 35 /* --addresses-from-stdin */, addresses_from_stdin, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
100 "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)
101OPTION(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)
102OPTION(3, 68 /* --arch= */, arch_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
103 "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)
104OPTION(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)
105OPTION(3, 83 /* --callsites-yaml-file= */, callsites_yaml_file_EQ, Joined, INVALID, INVALID, nullptr, HelpHidden, DefaultVis, 0,
106 "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)
107OPTION(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)
108OPTION(3, 128 /* --convert= */, convert_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
109 "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)
110OPTION(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)
111OPTION(3, 149 /* --dwarf-callsites */, dwarf_callsites, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
112 "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)
113OPTION(3, 167 /* --help */, help, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
114 "Display this help", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
115OPTION(1, 174 /* -h */, anonymous_1, Flag, INVALID, help, nullptr, 0, DefaultVis, 0,
116 "Alias for --help", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
117OPTION(3, 177 /* --json-summary-file= */, json_summary_file_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
118 "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)
119OPTION(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)
120OPTION(3, 218 /* --merged-functions-filter= */, merged_functions_filter_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
121 "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)
122OPTION(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)
123OPTION(3, 271 /* --merged-functions */, merged_functions, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
124 "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)
125OPTION(3, 290 /* --num-threads= */, num_threads_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
126 "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)
127OPTION(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)
128OPTION(3, 319 /* --out-file= */, out_file_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
129 "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)
130OPTION(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)
131OPTION(1, 342 /* -o */, anonymous_6, Separate, INVALID, out_file_EQ, nullptr, 0, DefaultVis, 0,
132 "Alias for --out-file", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
133OPTION(3, 345 /* --quiet */, quiet, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
134 "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)
135OPTION(3, 353 /* --segment-size= */, segment_size_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
136 "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)
137OPTION(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)
138OPTION(3, 384 /* --verbose */, verbose, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
139 "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)
140OPTION(3, 394 /* --verify */, verify, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
141 "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)
142OPTION(3, 403 /* --version */, version, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
143 "Display the version", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
144OPTION(1, 413 /* -v */, anonymous_2, Flag, INVALID, version, nullptr, 0, DefaultVis, 0,
145 "Alias for --version", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
146#endif // OPTION
147
148#ifdef SIMPLE_ENUM_VALUE_TABLE
149
150struct SimpleEnumValue {
151 const char *Name;
152 unsigned Value;
153};
154
155struct SimpleEnumValueTable {
156 const SimpleEnumValue *Table;
157 unsigned Size;
158};
159static const SimpleEnumValueTable SimpleEnumValueTables[] = {};
160static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables);
161#endif // SIMPLE_ENUM_VALUE_TABLE
162
163
164