1 | /*===- TableGen'erated file -------------------------------------*- C++ -*-===*\ |
2 | |* *| |
3 | |* Option Parsing Definitions *| |
4 | |* *| |
5 | |* Automatically generated file, do not edit! *| |
6 | |* *| |
7 | \*===----------------------------------------------------------------------===*/ |
8 | |
9 | ///////// |
10 | // Prefixes |
11 | |
12 | #ifdef PREFIX |
13 | #define COMMA , |
14 | PREFIX(prefix_0, {llvm::StringLiteral("" )}) |
15 | PREFIX(prefix_2, {llvm::StringLiteral("-" ) COMMA llvm::StringLiteral("" )}) |
16 | PREFIX(prefix_1, {llvm::StringLiteral("-" ) COMMA llvm::StringLiteral("--" ) COMMA llvm::StringLiteral("" )}) |
17 | #undef COMMA |
18 | #endif // PREFIX |
19 | |
20 | ///////// |
21 | // Prefix Union |
22 | |
23 | #ifdef PREFIX_UNION |
24 | #define COMMA , |
25 | PREFIX_UNION({ |
26 | llvm::StringLiteral("-" ) COMMA llvm::StringLiteral("--" ) COMMA llvm::StringLiteral("" )}) |
27 | #undef COMMA |
28 | #endif // PREFIX_UNION |
29 | |
30 | ///////// |
31 | // ValuesCode |
32 | |
33 | #ifdef OPTTABLE_VALUES_CODE |
34 | #endif |
35 | ///////// |
36 | // Groups |
37 | |
38 | #ifdef OPTION |
39 | OPTION(llvm::ArrayRef<llvm::StringLiteral>(), "Action" , action_grp, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
40 | "Action (required)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
41 | OPTION(llvm::ArrayRef<llvm::StringLiteral>(), "Genric Options" , generic_grp, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
42 | "Generic Options" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
43 | |
44 | ////////// |
45 | // Options |
46 | |
47 | OPTION(prefix_0, "<input>" , INPUT, Input, INVALID, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
48 | OPTION(prefix_0, "<unknown>" , UNKNOWN, Unknown, INVALID, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
49 | OPTION(prefix_1, "-covered-functions" , coveredFunctions, Flag, action_grp, INVALID, nullptr, 0, DefaultVis, 0, |
50 | "Print all covered funcions." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
51 | OPTION(prefix_2, "-demangle=0" , anonymous_3, Flag, INVALID, no_demangle, nullptr, 0, DefaultVis, 0, |
52 | "Alias for --no-demangle" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
53 | OPTION(prefix_1, "-demangle" , demangle, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
54 | "Demangle function names" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
55 | OPTION(prefix_1, "-help" , help, Flag, generic_grp, INVALID, nullptr, 0, DefaultVis, 0, |
56 | "Display this help" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
57 | OPTION(prefix_1, "-html-report" , htmlReport, Flag, action_grp, INVALID, nullptr, 0, DefaultVis, 0, |
58 | "REMOVED. Use -symbolize & coverage-report-server.py." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
59 | OPTION(prefix_2, "-h" , anonymous_1, Flag, generic_grp, help, nullptr, 0, DefaultVis, 0, |
60 | "Alias for --help" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
61 | OPTION(prefix_1, "-ignorelist=" , ignorelist_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
62 | "Ignorelist file (sanitizer ignorelist format)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), "<string>" , nullptr) |
63 | OPTION(prefix_1, "-ignorelist" , anonymous_6, Separate, INVALID, ignorelist_EQ, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), "<string>" , nullptr) |
64 | OPTION(prefix_1, "-merge" , merge, Flag, action_grp, INVALID, nullptr, 0, DefaultVis, 0, |
65 | "Merges reports." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
66 | OPTION(prefix_1, "-no-demangle" , no_demangle, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
67 | "Do not demangle function names" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
68 | OPTION(prefix_1, "-no-skip-dead-files" , no_skipDeadFiles, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
69 | "List dead source files in reports" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
70 | OPTION(prefix_1, "-no-use_default_ignorelist" , no_useDefaultIgnoreList, Flag, INVALID, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
71 | "Don't use the default ignore list" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
72 | OPTION(prefix_1, "-not-covered-functions" , notCoveredFunctions, Flag, action_grp, INVALID, nullptr, 0, DefaultVis, 0, |
73 | "Print all not covered funcions." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
74 | OPTION(prefix_1, "-print-coverage-pcs" , printCoveragePcs, Flag, action_grp, INVALID, nullptr, 0, DefaultVis, 0, |
75 | "Print coverage instrumentation points addresses." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
76 | OPTION(prefix_1, "-print-coverage-stats" , printCoverageStats, Flag, action_grp, INVALID, nullptr, 0, DefaultVis, 0, |
77 | "Print coverage statistics." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
78 | OPTION(prefix_1, "-print" , print, Flag, action_grp, INVALID, nullptr, 0, DefaultVis, 0, |
79 | "Print coverage addresses" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
80 | OPTION(prefix_2, "-skip-dead-files=0" , anonymous_4, Flag, INVALID, no_skipDeadFiles, nullptr, 0, DefaultVis, 0, |
81 | "Alias for --no-skip-dead-files" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
82 | OPTION(prefix_1, "-skip-dead-files" , skipDeadFiles, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
83 | "Do not list dead source files in reports" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
84 | OPTION(prefix_1, "-strip_path_prefix=" , stripPathPrefix_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
85 | "Strip this prefix from files paths in reports" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), "<string>" , nullptr) |
86 | OPTION(prefix_1, "-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::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), "<string>" , nullptr) |
87 | OPTION(prefix_1, "-symbolize" , symbolize, Flag, action_grp, INVALID, nullptr, 0, DefaultVis, 0, |
88 | "Produces a symbolized JSON report from binary report." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
89 | OPTION(prefix_2, "-use_default_ignorelist=0" , anonymous_5, Flag, INVALID, no_useDefaultIgnoreList, nullptr, 0, DefaultVis, 0, |
90 | "Alias for --no-use_default_ignore_list" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
91 | OPTION(prefix_1, "-use_default_ignorelist" , useDefaultIgnoreList, Flag, INVALID, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
92 | "Use the default ignore list" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
93 | OPTION(prefix_1, "-version" , version, Flag, generic_grp, INVALID, nullptr, 0, DefaultVis, 0, |
94 | "Display the version" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
95 | OPTION(prefix_2, "-v" , anonymous_2, Flag, generic_grp, version, nullptr, 0, DefaultVis, 0, |
96 | "Alias for --version" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
97 | #endif // OPTION |
98 | |
99 | #ifdef SIMPLE_ENUM_VALUE_TABLE |
100 | |
101 | struct SimpleEnumValue { |
102 | const char *Name; |
103 | unsigned Value; |
104 | }; |
105 | |
106 | struct SimpleEnumValueTable { |
107 | const SimpleEnumValue *Table; |
108 | unsigned Size; |
109 | }; |
110 | static const SimpleEnumValueTable SimpleEnumValueTables[] = {}; |
111 | static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables); |
112 | #endif // SIMPLE_ENUM_VALUE_TABLE |
113 | |
114 | |
115 | |