| 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 | "-diff\0" |
| 30 | "-help\0" |
| 31 | "-html-report\0" |
| 32 | "-h\0" |
| 33 | "-ignorelist=\0" |
| 34 | "-ignorelist\0" |
| 35 | "-merge\0" |
| 36 | "-no-demangle\0" |
| 37 | "-no-skip-dead-files\0" |
| 38 | "-no-use_default_ignorelist\0" |
| 39 | "-not-covered-functions\0" |
| 40 | "-output=\0" |
| 41 | "-output\0" |
| 42 | "-print-coverage-pcs\0" |
| 43 | "-print-coverage-stats\0" |
| 44 | "-print\0" |
| 45 | "-skip-dead-files=0\0" |
| 46 | "-skip-dead-files\0" |
| 47 | "-strip_path_prefix=\0" |
| 48 | "-strip_path_prefix\0" |
| 49 | "-symbolize\0" |
| 50 | "-union\0" |
| 51 | "-use_default_ignorelist=0\0" |
| 52 | "-use_default_ignorelist\0" |
| 53 | "-version\0" |
| 54 | "-v\0" |
| 55 | ; |
| 56 | #ifdef __GNUC__ |
| 57 | #pragma GCC diagnostic pop |
| 58 | #endif |
| 59 | |
| 60 | static constexpr llvm::StringTable |
| 61 | OptionStrTable = OptionStrTableStorage; |
| 62 | #endif // OPTTABLE_STR_TABLE_CODE |
| 63 | |
| 64 | ///////// |
| 65 | // Prefixes |
| 66 | |
| 67 | #ifdef OPTTABLE_PREFIXES_TABLE_CODE |
| 68 | static constexpr llvm::StringTable::Offset OptionPrefixesTable[] = { |
| 69 | 0 /* prefixes */, |
| 70 | 1 /* prefixes */, 1 /* '-' */, |
| 71 | 2 /* prefixes */, 1 /* '-' */, 3 /* '--' */ |
| 72 | }; |
| 73 | #endif // OPTTABLE_PREFIXES_TABLE_CODE |
| 74 | |
| 75 | /////////// SubCommand IDs |
| 76 | |
| 77 | #ifdef OPTTABLE_SUBCOMMAND_IDS_TABLE_CODE |
| 78 | static constexpr unsigned OptionSubCommandIDsTable[] = { |
| 79 | 0 /* subcommands */ |
| 80 | }; |
| 81 | #endif // OPTTABLE_SUBCOMMAND_IDS_TABLE_CODE |
| 82 | |
| 83 | ///////// |
| 84 | // Prefix Union |
| 85 | |
| 86 | #ifdef OPTTABLE_PREFIXES_UNION_CODE |
| 87 | static constexpr llvm::StringTable::Offset OptionPrefixesUnion[] = { |
| 88 | 1 /* '-' */, 3 /* '--' */ |
| 89 | }; |
| 90 | #endif // OPTTABLE_PREFIXES_UNION_CODE |
| 91 | |
| 92 | ///////// |
| 93 | // ValuesCode |
| 94 | |
| 95 | #ifdef OPTTABLE_VALUES_CODE |
| 96 | #endif |
| 97 | ///////// |
| 98 | // Groups |
| 99 | |
| 100 | #ifdef OPTION |
| 101 | OPTION(0 /* no prefixes */, 6 /* Action */, action_grp, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
| 102 | "Action (required)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 103 | OPTION(0 /* no prefixes */, 13 /* Genric Options */, generic_grp, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
| 104 | "Generic Options" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 105 | |
| 106 | ////////// |
| 107 | // Options |
| 108 | |
| 109 | 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, 0) |
| 110 | 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, 0) |
| 111 | OPTION(3, 46 /* -covered-functions */, coveredFunctions, Flag, action_grp, INVALID, nullptr, 0, DefaultVis, 0, |
| 112 | "Print all covered funcions." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 113 | OPTION(1, 65 /* -demangle=0 */, anonymous_3, Flag, INVALID, no_demangle, nullptr, 0, DefaultVis, 0, |
| 114 | "Alias for --no-demangle" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 115 | OPTION(3, 77 /* -demangle */, demangle, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 116 | "Demangle function names" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 117 | OPTION(3, 87 /* -diff */, diff, Flag, action_grp, INVALID, nullptr, 0, DefaultVis, 0, |
| 118 | "Compute difference between two sancov files (A - B) and write to the new output sancov file" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 119 | OPTION(3, 93 /* -help */, help, Flag, generic_grp, INVALID, nullptr, 0, DefaultVis, 0, |
| 120 | "Display this help" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 121 | OPTION(3, 99 /* -html-report */, htmlReport, Flag, action_grp, INVALID, nullptr, 0, DefaultVis, 0, |
| 122 | "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, 0) |
| 123 | OPTION(1, 112 /* -h */, anonymous_1, Flag, generic_grp, 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) |
| 125 | OPTION(3, 115 /* -ignorelist= */, ignorelist_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 126 | "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, 0) |
| 127 | OPTION(3, 128 /* -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, 0) |
| 128 | OPTION(3, 140 /* -merge */, merge, Flag, action_grp, INVALID, nullptr, 0, DefaultVis, 0, |
| 129 | "Merges reports." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 130 | OPTION(3, 147 /* -no-demangle */, no_demangle, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 131 | "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, 0) |
| 132 | OPTION(3, 160 /* -no-skip-dead-files */, no_skipDeadFiles, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 133 | "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, 0) |
| 134 | OPTION(3, 180 /* -no-use_default_ignorelist */, no_useDefaultIgnoreList, Flag, INVALID, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 135 | "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, 0) |
| 136 | OPTION(3, 207 /* -not-covered-functions */, notCoveredFunctions, Flag, action_grp, INVALID, nullptr, 0, DefaultVis, 0, |
| 137 | "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, 0) |
| 138 | OPTION(3, 230 /* -output= */, output_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 139 | "Output file for diff and union actions" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<string>" , nullptr, 0) |
| 140 | OPTION(3, 239 /* -output */, anonymous_7, Separate, INVALID, output_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, 0) |
| 141 | OPTION(3, 247 /* -print-coverage-pcs */, printCoveragePcs, Flag, action_grp, INVALID, nullptr, 0, DefaultVis, 0, |
| 142 | "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, 0) |
| 143 | OPTION(3, 267 /* -print-coverage-stats */, printCoverageStats, Flag, action_grp, INVALID, nullptr, 0, DefaultVis, 0, |
| 144 | "Print coverage statistics." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 145 | OPTION(3, 289 /* -print */, print, Flag, action_grp, INVALID, nullptr, 0, DefaultVis, 0, |
| 146 | "Print coverage addresses" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 147 | OPTION(1, 296 /* -skip-dead-files=0 */, anonymous_4, Flag, INVALID, no_skipDeadFiles, nullptr, 0, DefaultVis, 0, |
| 148 | "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, 0) |
| 149 | OPTION(3, 315 /* -skip-dead-files */, skipDeadFiles, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 150 | "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, 0) |
| 151 | OPTION(3, 332 /* -strip_path_prefix= */, stripPathPrefix_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 152 | "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, 0) |
| 153 | OPTION(3, 352 /* -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, 0) |
| 154 | OPTION(3, 371 /* -symbolize */, symbolize, Flag, action_grp, INVALID, nullptr, 0, DefaultVis, 0, |
| 155 | "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, 0) |
| 156 | OPTION(3, 382 /* -union */, union_files, Flag, action_grp, INVALID, nullptr, 0, DefaultVis, 0, |
| 157 | "Compute union of multiple sancov files and write to the new output sancov file" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 158 | OPTION(1, 389 /* -use_default_ignorelist=0 */, anonymous_5, Flag, INVALID, no_useDefaultIgnoreList, nullptr, 0, DefaultVis, 0, |
| 159 | "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, 0) |
| 160 | OPTION(3, 415 /* -use_default_ignorelist */, useDefaultIgnoreList, Flag, INVALID, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 161 | "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, 0) |
| 162 | OPTION(3, 439 /* -version */, version, Flag, generic_grp, INVALID, nullptr, 0, DefaultVis, 0, |
| 163 | "Display the version" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 164 | OPTION(1, 448 /* -v */, anonymous_2, Flag, generic_grp, version, nullptr, 0, DefaultVis, 0, |
| 165 | "Alias for --version" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 166 | #endif // OPTION |
| 167 | |
| 168 | #ifdef SIMPLE_ENUM_VALUE_TABLE |
| 169 | |
| 170 | struct SimpleEnumValue { |
| 171 | const char *Name; |
| 172 | unsigned Value; |
| 173 | }; |
| 174 | |
| 175 | struct SimpleEnumValueTable { |
| 176 | const SimpleEnumValue *Table; |
| 177 | unsigned Size; |
| 178 | }; |
| 179 | static const SimpleEnumValueTable SimpleEnumValueTables[] = {}; |
| 180 | static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables); |
| 181 | #endif // SIMPLE_ENUM_VALUE_TABLE |
| 182 | |
| 183 | ///////// |
| 184 | |
| 185 | // SubCommands |
| 186 | |
| 187 | #ifdef OPTTABLE_SUBCOMMANDS_CODE |
| 188 | static constexpr llvm::opt::OptTable::SubCommand OptionSubCommands[] = { |
| 189 | }; |
| 190 | #endif // OPTTABLE_SUBCOMMANDS_CODE |
| 191 | |
| 192 | |
| 193 | |