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 |
18 | static constexpr char OptionStrTableStorage[] = |
19 | "\0" |
20 | "-\0" |
21 | "--\0" |
22 | "Action\0" |
23 | "Genric Options\0" |
24 | "<input>\0" |
25 | "<unknown>\0" |
26 | "-covered-functions\0" |
27 | "-demangle=0\0" |
28 | "-demangle\0" |
29 | "-help\0" |
30 | "-html-report\0" |
31 | "-h\0" |
32 | "-ignorelist=\0" |
33 | "-ignorelist\0" |
34 | "-merge\0" |
35 | "-no-demangle\0" |
36 | "-no-skip-dead-files\0" |
37 | "-no-use_default_ignorelist\0" |
38 | "-not-covered-functions\0" |
39 | "-print-coverage-pcs\0" |
40 | "-print-coverage-stats\0" |
41 | "-print\0" |
42 | "-skip-dead-files=0\0" |
43 | "-skip-dead-files\0" |
44 | "-strip_path_prefix=\0" |
45 | "-strip_path_prefix\0" |
46 | "-symbolize\0" |
47 | "-use_default_ignorelist=0\0" |
48 | "-use_default_ignorelist\0" |
49 | "-version\0" |
50 | "-v\0" |
51 | ; |
52 | #ifdef __GNUC__ |
53 | #pragma GCC diagnostic pop |
54 | #endif |
55 | |
56 | static constexpr llvm::StringTable OptionStrTable = |
57 | OptionStrTableStorage; |
58 | #endif // OPTTABLE_STR_TABLE_CODE |
59 | |
60 | ///////// |
61 | // Prefixes |
62 | |
63 | #ifdef OPTTABLE_PREFIXES_TABLE_CODE |
64 | static constexpr llvm::StringTable::Offset OptionPrefixesTable[] = { |
65 | 0 /* prefixes */, |
66 | 1 /* prefixes */, 1 /* '-' */, |
67 | 2 /* prefixes */, 1 /* '-' */, 3 /* '--' */ |
68 | }; |
69 | #endif // OPTTABLE_PREFIXES_TABLE_CODE |
70 | |
71 | ///////// |
72 | // Prefix Union |
73 | |
74 | #ifdef OPTTABLE_PREFIXES_UNION_CODE |
75 | static constexpr llvm::StringTable::Offset OptionPrefixesUnion[] = { |
76 | 1 /* '-' */, 3 /* '--' */ |
77 | }; |
78 | #endif // OPTTABLE_PREFIXES_UNION_CODE |
79 | |
80 | ///////// |
81 | // ValuesCode |
82 | |
83 | #ifdef OPTTABLE_VALUES_CODE |
84 | #endif |
85 | ///////// |
86 | // Groups |
87 | |
88 | #ifdef OPTION |
89 | OPTION(0 /* no prefixes */, 6 /* Action */, action_grp, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
90 | "Action (required)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
91 | OPTION(0 /* no prefixes */, 13 /* Genric Options */, generic_grp, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
92 | "Generic Options" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
93 | |
94 | ////////// |
95 | // Options |
96 | |
97 | OPTION(0, 28 /* <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) |
98 | OPTION(0, 36 /* <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) |
99 | OPTION(3, 46 /* -covered-functions */, coveredFunctions, Flag, action_grp, INVALID, nullptr, 0, DefaultVis, 0, |
100 | "Print all covered funcions." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
101 | OPTION(1, 65 /* -demangle=0 */, anonymous_3, Flag, INVALID, no_demangle, nullptr, 0, DefaultVis, 0, |
102 | "Alias for --no-demangle" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
103 | OPTION(3, 77 /* -demangle */, demangle, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
104 | "Demangle function names" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
105 | OPTION(3, 87 /* -help */, help, Flag, generic_grp, INVALID, nullptr, 0, DefaultVis, 0, |
106 | "Display this help" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
107 | OPTION(3, 93 /* -html-report */, htmlReport, Flag, action_grp, INVALID, nullptr, 0, DefaultVis, 0, |
108 | "REMOVED. Use -symbolize & coverage-report-server.py." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
109 | OPTION(1, 106 /* -h */, anonymous_1, Flag, generic_grp, help, nullptr, 0, DefaultVis, 0, |
110 | "Alias for --help" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
111 | OPTION(3, 109 /* -ignorelist= */, ignorelist_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
112 | "Ignorelist file (sanitizer ignorelist format)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<string>" , nullptr) |
113 | OPTION(3, 122 /* -ignorelist */, anonymous_6, Separate, INVALID, ignorelist_EQ, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<string>" , nullptr) |
114 | OPTION(3, 134 /* -merge */, merge, Flag, action_grp, INVALID, nullptr, 0, DefaultVis, 0, |
115 | "Merges reports." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
116 | OPTION(3, 141 /* -no-demangle */, no_demangle, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
117 | "Do not demangle function names" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
118 | OPTION(3, 154 /* -no-skip-dead-files */, no_skipDeadFiles, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
119 | "List dead source files in reports" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
120 | OPTION(3, 174 /* -no-use_default_ignorelist */, no_useDefaultIgnoreList, Flag, INVALID, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
121 | "Don't use the default ignore list" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
122 | OPTION(3, 201 /* -not-covered-functions */, notCoveredFunctions, Flag, action_grp, INVALID, nullptr, 0, DefaultVis, 0, |
123 | "Print all not covered funcions." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
124 | OPTION(3, 224 /* -print-coverage-pcs */, printCoveragePcs, Flag, action_grp, INVALID, nullptr, 0, DefaultVis, 0, |
125 | "Print coverage instrumentation points addresses." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
126 | OPTION(3, 244 /* -print-coverage-stats */, printCoverageStats, Flag, action_grp, INVALID, nullptr, 0, DefaultVis, 0, |
127 | "Print coverage statistics." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
128 | OPTION(3, 266 /* -print */, print, Flag, action_grp, INVALID, nullptr, 0, DefaultVis, 0, |
129 | "Print coverage addresses" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
130 | OPTION(1, 273 /* -skip-dead-files=0 */, anonymous_4, Flag, INVALID, no_skipDeadFiles, nullptr, 0, DefaultVis, 0, |
131 | "Alias for --no-skip-dead-files" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
132 | OPTION(3, 292 /* -skip-dead-files */, skipDeadFiles, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
133 | "Do not list dead source files in reports" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
134 | OPTION(3, 309 /* -strip_path_prefix= */, stripPathPrefix_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
135 | "Strip this prefix from files paths in reports" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<string>" , nullptr) |
136 | OPTION(3, 329 /* -strip_path_prefix */, anonymous_0, Separate, INVALID, stripPathPrefix_EQ, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<string>" , nullptr) |
137 | OPTION(3, 348 /* -symbolize */, symbolize, Flag, action_grp, INVALID, nullptr, 0, DefaultVis, 0, |
138 | "Produces a symbolized JSON report from binary report." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
139 | OPTION(1, 359 /* -use_default_ignorelist=0 */, anonymous_5, Flag, INVALID, no_useDefaultIgnoreList, nullptr, 0, DefaultVis, 0, |
140 | "Alias for --no-use_default_ignore_list" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
141 | OPTION(3, 385 /* -use_default_ignorelist */, useDefaultIgnoreList, Flag, INVALID, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
142 | "Use the default ignore list" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
143 | OPTION(3, 409 /* -version */, version, Flag, generic_grp, INVALID, nullptr, 0, DefaultVis, 0, |
144 | "Display the version" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
145 | OPTION(1, 418 /* -v */, anonymous_2, Flag, generic_grp, version, nullptr, 0, DefaultVis, 0, |
146 | "Alias for --version" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
147 | #endif // OPTION |
148 | |
149 | #ifdef SIMPLE_ENUM_VALUE_TABLE |
150 | |
151 | struct SimpleEnumValue { |
152 | const char *Name; |
153 | unsigned Value; |
154 | }; |
155 | |
156 | struct SimpleEnumValueTable { |
157 | const SimpleEnumValue *Table; |
158 | unsigned Size; |
159 | }; |
160 | static const SimpleEnumValueTable SimpleEnumValueTables[] = {}; |
161 | static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables); |
162 | #endif // SIMPLE_ENUM_VALUE_TABLE |
163 | |
164 | |
165 | |