1/*===- TableGen'erated file -------------------------------------*- C++ -*-===*\
2|* *|
3|* Option Parsing Definitions *|
4|* *|
5|* Automatically generated file, do not edit! *|
6|* *|
7\*===----------------------------------------------------------------------===*/
8
9/////////
10// Tables
11
12#ifdef OPTTABLE_CODE
13static llvm::opt::OptTable::Tables optionTables() {
14
15#ifdef __GNUC__
16#pragma GCC diagnostic push
17#pragma GCC diagnostic ignored "-Woverlength-strings"
18#endif
19static constexpr char OptionStrTableStorage[] =
20 "\0"
21 "-\0"
22 "--\0"
23 "<input>\0"
24 "<unknown>\0"
25 "-continue-on-cu-index-overflow=\0"
26 "default = continue, This turns an error when offset \n\t\tfor .debug_*.dwo sections overflows into a warning. = soft-stop, This produces a \n\t\ttruncated but valid DWP file, discarding any DWO files that would not fit within \n\t\tthe 32 bit/4GB limits of the format.\0"
27 "continue,soft-stop\0"
28 "-continue-on-cu-index-overflow\0"
29 "-dwarf64-str-offsets-promotion=\0"
30 "default = enabled, This allows .debug_str tables to exceed the 4GB limit\nand have any DWARF32 .debug_str_offsets tables converted to DWARF64 only for tables\nthat require 64 bit string offsets. = disabled, This setting doesn't convert DWARF32\n.debug_str_offsets tables in .dwo files to DWARF64 in the .dwp file. = always, This\nforces all .debug_str_offsets tables to be emitted as DWARF64. This is used for testing.\0"
31 "disabled,enabled,always\0"
32 "-dwarf64-str-offsets-promotion\0"
33 "-e\0"
34 "Specify the executable/library files to get the list of *.dwo from.\0"
35 "<filename>\0"
36 "-help\0"
37 "Display this help\0"
38 "-h\0"
39 "Alias for --help\0"
40 "-o\0"
41 "Specify the output file.\0"
42 "-prioritize-discard-path=\0"
43 "In soft-stop mode, prefer discarding DWO files whose real paths start with the given prefix when CU index overflow occurs.\0"
44 "<path>\0"
45 "-version\0"
46 "Display the version of this program\0"
47 ;
48#ifdef __GNUC__
49#pragma GCC diagnostic pop
50#endif
51
52static constexpr llvm::StringTable
53OptionStrTable = OptionStrTableStorage;
54
55 static constexpr llvm::StringTable::Offset OptionPrefixesTable[] = {
56 0 /* prefixes */,
57 2 /* prefixes */, 1 /* '-' */, 3 /* '--' */
58 };
59
60 static constexpr llvm::opt::OptTable::HelpTextVariant OptionHelpTextVariantsTable[] = {
61 {0, 0},
62 };
63
64 static constexpr unsigned OptionSubCommandIDsTable[] = {
65 0 /* subcommands */
66 };
67
68 static constexpr llvm::opt::OptTable::InfoExtra OptionInfoExtrasTable[] = {
69 {0, 0, 0, 0, 0, 0, 0, 0},
70 {0, 0, 0, 0, static_cast<unsigned>(DefaultVis), 0, 0, 0},
71 {0, 0, 316, 0, static_cast<unsigned>(DefaultVis), 0, 0, 0},
72 {0, 0, 813, 0, static_cast<unsigned>(DefaultVis), 0, 0, 0},
73 {939, 0, 0, 0, static_cast<unsigned>(DefaultVis), 0, 0, 0},
74 {1171, 0, 0, 0, static_cast<unsigned>(DefaultVis), 0, 0, 0},
75 };
76
77 static constexpr llvm::opt::OptTable::Info OptionInfoTable[] = {
78 {6 /* <input> */, 0, 0, 0, 1, 0, llvm::opt::Option::InputClass},
79 {14 /* <unknown> */, 0, 0, 0, 1, 0, llvm::opt::Option::UnknownClass},
80 {24 /* -continue-on-cu-index-overflow= */, 56, 0, 0, 2, 1, llvm::opt::Option::JoinedClass},
81 {335 /* -continue-on-cu-index-overflow */, 0, 0, 0, 1, 1, llvm::opt::Option::FlagClass},
82 {366 /* -dwarf64-str-offsets-promotion= */, 398, 0, 0, 3, 1, llvm::opt::Option::JoinedClass},
83 {837 /* -dwarf64-str-offsets-promotion */, 0, 0, 0, 1, 1, llvm::opt::Option::FlagClass},
84 {868 /* -e */, 871, 0, 0, 4, 1, llvm::opt::Option::SeparateClass},
85 {950 /* -help */, 956, 0, 0, 1, 1, llvm::opt::Option::FlagClass},
86 {974 /* -h */, 977, 0, 8, 1, 1, llvm::opt::Option::FlagClass},
87 {994 /* -o */, 997, 0, 0, 4, 1, llvm::opt::Option::SeparateClass},
88 {1022 /* -prioritize-discard-path= */, 1048, 0, 0, 5, 1, llvm::opt::Option::JoinedClass},
89 {1178 /* -version */, 1187, 0, 0, 1, 1, llvm::opt::Option::FlagClass},
90 };
91
92 return {OptionStrTable, OptionPrefixesTable,
93 OptionInfoTable, OptionInfoExtrasTable, OptionHelpTextVariantsTable, {}, OptionSubCommandIDsTable};
94}
95#undef OPTTABLE_CODE
96#endif // OPTTABLE_CODE
97
98/////////
99// ValuesCode
100
101#ifdef OPTTABLE_VALUES_CODE
102static llvm::StringRef getOptionValuesCode(unsigned ID) {
103 switch (ID) {
104 }
105 return {};
106}
107#undef OPTTABLE_VALUES_CODE
108#endif // OPTTABLE_VALUES_CODE
109/////////
110// Groups
111
112#ifdef OPTION
113
114//////////
115// Options
116
117OPTION(0, 6 /* <input> */, INPUT, Input, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 0, 0, 0, 0, 0)
118OPTION(0, 14 /* <unknown> */, UNKNOWN, Unknown, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 0, 0, 0, 0, 0)
119OPTION(1, 24 /* -continue-on-cu-index-overflow= */, continueOnCuIndexOverflow_EQ, Joined, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 56, 0, 0, 316, 0)
120OPTION(1, 335 /* -continue-on-cu-index-overflow */, continueOnCuIndexOverflow, Flag, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 0, 0, 0, 0, 0)
121OPTION(1, 366 /* -dwarf64-str-offsets-promotion= */, dwarf64StringOffsets_EQ, Joined, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 398, 0, 0, 813, 0)
122OPTION(1, 837 /* -dwarf64-str-offsets-promotion */, dwarf64StringOffsets, Flag, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 0, 0, 0, 0, 0)
123OPTION(1, 868 /* -e */, execFileNames, Separate, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 871, 0, 939, 0, 0)
124OPTION(1, 950 /* -help */, help, Flag, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 956, 0, 0, 0, 0)
125OPTION(1, 974 /* -h */, anonymous_0, Flag, INVALID, help, 0, 0, static_cast<unsigned>(DefaultVis), 0, 977, 0, 0, 0, 0)
126OPTION(1, 994 /* -o */, outputFileName, Separate, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 997, 0, 939, 0, 0)
127OPTION(1, 1022 /* -prioritize-discard-path= */, prioritizeDiscardPath, Joined, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 1048, 0, 1171, 0, 0)
128OPTION(1, 1178 /* -version */, version, Flag, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 1187, 0, 0, 0, 0)
129#endif // OPTION
130
131#ifdef SIMPLE_ENUM_VALUE_TABLE
132
133struct SimpleEnumValue {
134 const char *Name;
135 unsigned Value;
136};
137
138struct SimpleEnumValueTable {
139 const SimpleEnumValue *Table;
140 unsigned Size;
141};
142static const SimpleEnumValueTable SimpleEnumValueTables[] = {};
143static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables);
144#endif // SIMPLE_ENUM_VALUE_TABLE
145