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#if defined(OPTTABLE_STR_TABLE_CODE) || defined(OPTTABLE_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 "Action\0"
23 "Action (required)\0"
24 "Genric Options\0"
25 "Generic Options\0"
26 "<input>\0"
27 "<unknown>\0"
28 "-covered-functions\0"
29 "Print all covered funcions.\0"
30 "-demangle=0\0"
31 "Alias for --no-demangle\0"
32 "-demangle\0"
33 "Demangle function names\0"
34 "-diff\0"
35 "Compute difference between two sancov files (A - B) and write to the new output sancov file\0"
36 "-help\0"
37 "Display this help\0"
38 "-html-report\0"
39 "REMOVED. Use -symbolize & coverage-report-server.py.\0"
40 "-h\0"
41 "Alias for --help\0"
42 "-ignorelist=\0"
43 "Ignorelist file (sanitizer ignorelist format)\0"
44 "<string>\0"
45 "-ignorelist\0"
46 "-merge\0"
47 "Merges reports.\0"
48 "-no-demangle\0"
49 "Do not demangle function names\0"
50 "-no-skip-dead-files\0"
51 "List dead source files in reports\0"
52 "-no-use_default_ignorelist\0"
53 "Don't use the default ignore list\0"
54 "-not-covered-functions\0"
55 "Print all not covered funcions.\0"
56 "-output=\0"
57 "Output file for diff and union actions\0"
58 "-output\0"
59 "-print-coverage-pcs\0"
60 "Print coverage instrumentation points addresses.\0"
61 "-print-coverage-stats\0"
62 "Print coverage statistics.\0"
63 "-print\0"
64 "Print coverage addresses\0"
65 "-skip-dead-files=0\0"
66 "Alias for --no-skip-dead-files\0"
67 "-skip-dead-files\0"
68 "Do not list dead source files in reports\0"
69 "-strip_path_prefix=\0"
70 "Strip this prefix from files paths in reports\0"
71 "-strip_path_prefix\0"
72 "-symbolize\0"
73 "Produces a symbolized JSON report from binary report.\0"
74 "-union\0"
75 "Compute union of multiple sancov files and write to the new output sancov file\0"
76 "-use_default_ignorelist=0\0"
77 "Alias for --no-use_default_ignore_list\0"
78 "-use_default_ignorelist\0"
79 "Use the default ignore list\0"
80 "-version\0"
81 "Display the version\0"
82 "-v\0"
83 "Alias for --version\0"
84 ;
85#ifdef __GNUC__
86#pragma GCC diagnostic pop
87#endif
88
89static constexpr llvm::StringTable
90OptionStrTable = OptionStrTableStorage;
91#undef OPTTABLE_STR_TABLE_CODE
92#endif // OPTTABLE_STR_TABLE_CODE || OPTTABLE_CODE
93
94/////////
95// Tables
96
97#ifdef OPTTABLE_CODE
98static llvm::opt::OptTable::Tables optionTables() {
99 static constexpr llvm::StringTable::Offset OptionPrefixesTable[] = {
100 0 /* prefixes */,
101 1 /* prefixes */, 1 /* '-' */,
102 2 /* prefixes */, 1 /* '-' */, 3 /* '--' */
103 };
104
105 static constexpr llvm::opt::OptTable::HelpTextVariant OptionHelpTextVariantsTable[] = {
106 {0, 0},
107 };
108
109 static constexpr unsigned OptionSubCommandIDsTable[] = {
110 0 /* subcommands */
111 };
112
113 static constexpr llvm::opt::OptTable::InfoExtra OptionInfoExtrasTable[] = {
114 {0, 0, 0, 0, 0},
115 {464, 0, 0, 0, 0},
116 };
117
118 static constexpr llvm::opt::OptTable::Info OptionInfoTable[] = {
119 {6 /* Action */, 13, 0, 0, 0, 0, 0, 0, llvm::opt::Option::GroupClass, 0},
120 {31 /* Genric Options */, 46, 0, 0, 0, 0, 0, 0, llvm::opt::Option::GroupClass, 0},
121 {62 /* <input> */, 0, 0, DefaultVis, 0, 0, 0, 0, llvm::opt::Option::InputClass, 0},
122 {70 /* <unknown> */, 0, 0, DefaultVis, 0, 0, 0, 0, llvm::opt::Option::UnknownClass, 0},
123 {80 /* -covered-functions */, 99, 0, DefaultVis, 3, 1, 0, 0, llvm::opt::Option::FlagClass, 0},
124 {127 /* -demangle=0 */, 139, 0, DefaultVis, 1, 0, 15, 0, llvm::opt::Option::FlagClass, 0},
125 {163 /* -demangle */, 173, 0, DefaultVis, 3, 0, 0, 0, llvm::opt::Option::FlagClass, 0},
126 {197 /* -diff */, 203, 0, DefaultVis, 3, 1, 0, 0, llvm::opt::Option::FlagClass, 0},
127 {295 /* -help */, 301, 0, DefaultVis, 3, 2, 0, 0, llvm::opt::Option::FlagClass, 0},
128 {319 /* -html-report */, 332, 0, DefaultVis, 3, 1, 0, 0, llvm::opt::Option::FlagClass, 0},
129 {385 /* -h */, 388, 0, DefaultVis, 1, 2, 9, 0, llvm::opt::Option::FlagClass, 0},
130 {405 /* -ignorelist= */, 418, 0, DefaultVis, 3, 0, 0, 1, llvm::opt::Option::JoinedClass, 0},
131 {473 /* -ignorelist */, 0, 0, DefaultVis, 3, 0, 12, 1, llvm::opt::Option::SeparateClass, 0},
132 {485 /* -merge */, 492, 0, DefaultVis, 3, 1, 0, 0, llvm::opt::Option::FlagClass, 0},
133 {508 /* -no-demangle */, 521, 0, DefaultVis, 3, 0, 0, 0, llvm::opt::Option::FlagClass, 0},
134 {552 /* -no-skip-dead-files */, 572, 0, DefaultVis, 3, 0, 0, 0, llvm::opt::Option::FlagClass, 0},
135 {606 /* -no-use_default_ignorelist */, 633, HelpHidden, DefaultVis, 3, 0, 0, 0, llvm::opt::Option::FlagClass, 0},
136 {667 /* -not-covered-functions */, 690, 0, DefaultVis, 3, 1, 0, 0, llvm::opt::Option::FlagClass, 0},
137 {722 /* -output= */, 731, 0, DefaultVis, 3, 0, 0, 1, llvm::opt::Option::JoinedClass, 0},
138 {770 /* -output */, 0, 0, DefaultVis, 3, 0, 19, 1, llvm::opt::Option::SeparateClass, 0},
139 {778 /* -print-coverage-pcs */, 798, 0, DefaultVis, 3, 1, 0, 0, llvm::opt::Option::FlagClass, 0},
140 {847 /* -print-coverage-stats */, 869, 0, DefaultVis, 3, 1, 0, 0, llvm::opt::Option::FlagClass, 0},
141 {896 /* -print */, 903, 0, DefaultVis, 3, 1, 0, 0, llvm::opt::Option::FlagClass, 0},
142 {928 /* -skip-dead-files=0 */, 947, 0, DefaultVis, 1, 0, 16, 0, llvm::opt::Option::FlagClass, 0},
143 {978 /* -skip-dead-files */, 995, 0, DefaultVis, 3, 0, 0, 0, llvm::opt::Option::FlagClass, 0},
144 {1036 /* -strip_path_prefix= */, 1056, 0, DefaultVis, 3, 0, 0, 1, llvm::opt::Option::JoinedClass, 0},
145 {1102 /* -strip_path_prefix */, 0, 0, DefaultVis, 3, 0, 26, 1, llvm::opt::Option::SeparateClass, 0},
146 {1121 /* -symbolize */, 1132, 0, DefaultVis, 3, 1, 0, 0, llvm::opt::Option::FlagClass, 0},
147 {1186 /* -union */, 1193, 0, DefaultVis, 3, 1, 0, 0, llvm::opt::Option::FlagClass, 0},
148 {1272 /* -use_default_ignorelist=0 */, 1298, 0, DefaultVis, 1, 0, 17, 0, llvm::opt::Option::FlagClass, 0},
149 {1337 /* -use_default_ignorelist */, 1361, HelpHidden, DefaultVis, 3, 0, 0, 0, llvm::opt::Option::FlagClass, 0},
150 {1389 /* -version */, 1398, 0, DefaultVis, 3, 2, 0, 0, llvm::opt::Option::FlagClass, 0},
151 {1418 /* -v */, 1421, 0, DefaultVis, 1, 2, 32, 0, llvm::opt::Option::FlagClass, 0},
152 };
153
154 return {OptionStrTableStorage, OptionPrefixesTable,
155 OptionInfoTable, OptionInfoExtrasTable, OptionHelpTextVariantsTable, {}, OptionSubCommandIDsTable};
156}
157#undef OPTTABLE_CODE
158#endif // OPTTABLE_CODE
159
160/////////
161// ValuesCode
162
163#ifdef OPTTABLE_VALUES_CODE
164static llvm::StringRef getOptionValuesCode(unsigned ID) {
165 switch (ID) {
166 }
167 return {};
168}
169#undef OPTTABLE_VALUES_CODE
170#endif // OPTTABLE_VALUES_CODE
171/////////
172// Groups
173
174#ifdef OPTION
175OPTION(0 /* no prefixes */, 6 /* Action */, action_grp, Group, INVALID, INVALID, 0, 0, 0, 0, 13, 0, 0, 0, 0)
176OPTION(0 /* no prefixes */, 31 /* Genric Options */, generic_grp, Group, INVALID, INVALID, 0, 0, 0, 0, 46, 0, 0, 0, 0)
177
178//////////
179// Options
180
181OPTION(0, 62 /* <input> */, INPUT, Input, INVALID, INVALID, 0, 0, DefaultVis, 0, 0, 0, 0, 0, 0)
182OPTION(0, 70 /* <unknown> */, UNKNOWN, Unknown, INVALID, INVALID, 0, 0, DefaultVis, 0, 0, 0, 0, 0, 0)
183OPTION(3, 80 /* -covered-functions */, coveredFunctions, Flag, action_grp, INVALID, 0, 0, DefaultVis, 0, 99, 0, 0, 0, 0)
184OPTION(1, 127 /* -demangle=0 */, anonymous_3, Flag, INVALID, no_demangle, 0, 0, DefaultVis, 0, 139, 0, 0, 0, 0)
185OPTION(3, 163 /* -demangle */, demangle, Flag, INVALID, INVALID, 0, 0, DefaultVis, 0, 173, 0, 0, 0, 0)
186OPTION(3, 197 /* -diff */, diff, Flag, action_grp, INVALID, 0, 0, DefaultVis, 0, 203, 0, 0, 0, 0)
187OPTION(3, 295 /* -help */, help, Flag, generic_grp, INVALID, 0, 0, DefaultVis, 0, 301, 0, 0, 0, 0)
188OPTION(3, 319 /* -html-report */, htmlReport, Flag, action_grp, INVALID, 0, 0, DefaultVis, 0, 332, 0, 0, 0, 0)
189OPTION(1, 385 /* -h */, anonymous_1, Flag, generic_grp, help, 0, 0, DefaultVis, 0, 388, 0, 0, 0, 0)
190OPTION(3, 405 /* -ignorelist= */, ignorelist_EQ, Joined, INVALID, INVALID, 0, 0, DefaultVis, 0, 418, 0, 464, 0, 0)
191OPTION(3, 473 /* -ignorelist */, anonymous_6, Separate, INVALID, ignorelist_EQ, 0, 0, DefaultVis, 0, 0, 0, 464, 0, 0)
192OPTION(3, 485 /* -merge */, merge, Flag, action_grp, INVALID, 0, 0, DefaultVis, 0, 492, 0, 0, 0, 0)
193OPTION(3, 508 /* -no-demangle */, no_demangle, Flag, INVALID, INVALID, 0, 0, DefaultVis, 0, 521, 0, 0, 0, 0)
194OPTION(3, 552 /* -no-skip-dead-files */, no_skipDeadFiles, Flag, INVALID, INVALID, 0, 0, DefaultVis, 0, 572, 0, 0, 0, 0)
195OPTION(3, 606 /* -no-use_default_ignorelist */, no_useDefaultIgnoreList, Flag, INVALID, INVALID, 0, HelpHidden, DefaultVis, 0, 633, 0, 0, 0, 0)
196OPTION(3, 667 /* -not-covered-functions */, notCoveredFunctions, Flag, action_grp, INVALID, 0, 0, DefaultVis, 0, 690, 0, 0, 0, 0)
197OPTION(3, 722 /* -output= */, output_EQ, Joined, INVALID, INVALID, 0, 0, DefaultVis, 0, 731, 0, 464, 0, 0)
198OPTION(3, 770 /* -output */, anonymous_7, Separate, INVALID, output_EQ, 0, 0, DefaultVis, 0, 0, 0, 464, 0, 0)
199OPTION(3, 778 /* -print-coverage-pcs */, printCoveragePcs, Flag, action_grp, INVALID, 0, 0, DefaultVis, 0, 798, 0, 0, 0, 0)
200OPTION(3, 847 /* -print-coverage-stats */, printCoverageStats, Flag, action_grp, INVALID, 0, 0, DefaultVis, 0, 869, 0, 0, 0, 0)
201OPTION(3, 896 /* -print */, print, Flag, action_grp, INVALID, 0, 0, DefaultVis, 0, 903, 0, 0, 0, 0)
202OPTION(1, 928 /* -skip-dead-files=0 */, anonymous_4, Flag, INVALID, no_skipDeadFiles, 0, 0, DefaultVis, 0, 947, 0, 0, 0, 0)
203OPTION(3, 978 /* -skip-dead-files */, skipDeadFiles, Flag, INVALID, INVALID, 0, 0, DefaultVis, 0, 995, 0, 0, 0, 0)
204OPTION(3, 1036 /* -strip_path_prefix= */, stripPathPrefix_EQ, Joined, INVALID, INVALID, 0, 0, DefaultVis, 0, 1056, 0, 464, 0, 0)
205OPTION(3, 1102 /* -strip_path_prefix */, anonymous_0, Separate, INVALID, stripPathPrefix_EQ, 0, 0, DefaultVis, 0, 0, 0, 464, 0, 0)
206OPTION(3, 1121 /* -symbolize */, symbolize, Flag, action_grp, INVALID, 0, 0, DefaultVis, 0, 1132, 0, 0, 0, 0)
207OPTION(3, 1186 /* -union */, union_files, Flag, action_grp, INVALID, 0, 0, DefaultVis, 0, 1193, 0, 0, 0, 0)
208OPTION(1, 1272 /* -use_default_ignorelist=0 */, anonymous_5, Flag, INVALID, no_useDefaultIgnoreList, 0, 0, DefaultVis, 0, 1298, 0, 0, 0, 0)
209OPTION(3, 1337 /* -use_default_ignorelist */, useDefaultIgnoreList, Flag, INVALID, INVALID, 0, HelpHidden, DefaultVis, 0, 1361, 0, 0, 0, 0)
210OPTION(3, 1389 /* -version */, version, Flag, generic_grp, INVALID, 0, 0, DefaultVis, 0, 1398, 0, 0, 0, 0)
211OPTION(1, 1418 /* -v */, anonymous_2, Flag, generic_grp, version, 0, 0, DefaultVis, 0, 1421, 0, 0, 0, 0)
212#endif // OPTION
213
214#ifdef SIMPLE_ENUM_VALUE_TABLE
215
216struct SimpleEnumValue {
217 const char *Name;
218 unsigned Value;
219};
220
221struct SimpleEnumValueTable {
222 const SimpleEnumValue *Table;
223 unsigned Size;
224};
225static const SimpleEnumValueTable SimpleEnumValueTables[] = {};
226static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables);
227#endif // SIMPLE_ENUM_VALUE_TABLE
228