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 "<input>\0"
23 "<unknown>\0"
24 "-continue-on-cu-index-overflow=\0"
25 "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"
26 "continue,soft-stop\0"
27 "-continue-on-cu-index-overflow\0"
28 "-dwarf64-str-offsets-promotion=\0"
29 "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"
30 "disabled,enabled,always\0"
31 "-dwarf64-str-offsets-promotion\0"
32 "-e\0"
33 "Specify the executable/library files to get the list of *.dwo from.\0"
34 "<filename>\0"
35 "-help\0"
36 "Display this help\0"
37 "-h\0"
38 "Alias for --help\0"
39 "-o\0"
40 "Specify the output file.\0"
41 "-prioritize-discard-path=\0"
42 "In soft-stop mode, prefer discarding DWO files whose real paths start with the given prefix when CU index overflow occurs.\0"
43 "<path>\0"
44 "-version\0"
45 "Display the version of this program\0"
46 ;
47#ifdef __GNUC__
48#pragma GCC diagnostic pop
49#endif
50
51static constexpr llvm::StringTable
52OptionStrTable = OptionStrTableStorage;
53#undef OPTTABLE_STR_TABLE_CODE
54#endif // OPTTABLE_STR_TABLE_CODE || OPTTABLE_CODE
55
56/////////
57// Tables
58
59#ifdef OPTTABLE_CODE
60static llvm::opt::OptTable::Tables optionTables() {
61 static constexpr llvm::StringTable::Offset OptionPrefixesTable[] = {
62 0 /* prefixes */,
63 2 /* prefixes */, 1 /* '-' */, 3 /* '--' */
64 };
65
66 static constexpr llvm::opt::OptTable::HelpTextVariant OptionHelpTextVariantsTable[] = {
67 {0, 0},
68 };
69
70 static constexpr unsigned OptionSubCommandIDsTable[] = {
71 0 /* subcommands */
72 };
73
74 static constexpr llvm::opt::OptTable::InfoExtra OptionInfoExtrasTable[] = {
75 {0, 0, 0, 0, 0},
76 {0, 0, 316, 0, 0},
77 {0, 0, 813, 0, 0},
78 {939, 0, 0, 0, 0},
79 {1171, 0, 0, 0, 0},
80 };
81
82 static constexpr llvm::opt::OptTable::Info OptionInfoTable[] = {
83 {6 /* <input> */, 0, 0, DefaultVis, 0, 0, 0, 0, llvm::opt::Option::InputClass, 0},
84 {14 /* <unknown> */, 0, 0, DefaultVis, 0, 0, 0, 0, llvm::opt::Option::UnknownClass, 0},
85 {24 /* -continue-on-cu-index-overflow= */, 56, 0, DefaultVis, 1, 0, 0, 1, llvm::opt::Option::JoinedClass, 0},
86 {335 /* -continue-on-cu-index-overflow */, 0, 0, DefaultVis, 1, 0, 0, 0, llvm::opt::Option::FlagClass, 0},
87 {366 /* -dwarf64-str-offsets-promotion= */, 398, 0, DefaultVis, 1, 0, 0, 2, llvm::opt::Option::JoinedClass, 0},
88 {837 /* -dwarf64-str-offsets-promotion */, 0, 0, DefaultVis, 1, 0, 0, 0, llvm::opt::Option::FlagClass, 0},
89 {868 /* -e */, 871, 0, DefaultVis, 1, 0, 0, 3, llvm::opt::Option::SeparateClass, 0},
90 {950 /* -help */, 956, 0, DefaultVis, 1, 0, 0, 0, llvm::opt::Option::FlagClass, 0},
91 {974 /* -h */, 977, 0, DefaultVis, 1, 0, 8, 0, llvm::opt::Option::FlagClass, 0},
92 {994 /* -o */, 997, 0, DefaultVis, 1, 0, 0, 3, llvm::opt::Option::SeparateClass, 0},
93 {1022 /* -prioritize-discard-path= */, 1048, 0, DefaultVis, 1, 0, 0, 4, llvm::opt::Option::JoinedClass, 0},
94 {1178 /* -version */, 1187, 0, DefaultVis, 1, 0, 0, 0, llvm::opt::Option::FlagClass, 0},
95 };
96
97 return {OptionStrTableStorage, OptionPrefixesTable,
98 OptionInfoTable, OptionInfoExtrasTable, OptionHelpTextVariantsTable, {}, OptionSubCommandIDsTable};
99}
100#undef OPTTABLE_CODE
101#endif // OPTTABLE_CODE
102
103/////////
104// ValuesCode
105
106#ifdef OPTTABLE_VALUES_CODE
107static llvm::StringRef getOptionValuesCode(unsigned ID) {
108 switch (ID) {
109 }
110 return {};
111}
112#undef OPTTABLE_VALUES_CODE
113#endif // OPTTABLE_VALUES_CODE
114/////////
115// Groups
116
117#ifdef OPTION
118
119//////////
120// Options
121
122OPTION(0, 6 /* <input> */, INPUT, Input, INVALID, INVALID, 0, 0, DefaultVis, 0, 0, 0, 0, 0, 0)
123OPTION(0, 14 /* <unknown> */, UNKNOWN, Unknown, INVALID, INVALID, 0, 0, DefaultVis, 0, 0, 0, 0, 0, 0)
124OPTION(1, 24 /* -continue-on-cu-index-overflow= */, continueOnCuIndexOverflow_EQ, Joined, INVALID, INVALID, 0, 0, DefaultVis, 0, 56, 0, 0, 316, 0)
125OPTION(1, 335 /* -continue-on-cu-index-overflow */, continueOnCuIndexOverflow, Flag, INVALID, INVALID, 0, 0, DefaultVis, 0, 0, 0, 0, 0, 0)
126OPTION(1, 366 /* -dwarf64-str-offsets-promotion= */, dwarf64StringOffsets_EQ, Joined, INVALID, INVALID, 0, 0, DefaultVis, 0, 398, 0, 0, 813, 0)
127OPTION(1, 837 /* -dwarf64-str-offsets-promotion */, dwarf64StringOffsets, Flag, INVALID, INVALID, 0, 0, DefaultVis, 0, 0, 0, 0, 0, 0)
128OPTION(1, 868 /* -e */, execFileNames, Separate, INVALID, INVALID, 0, 0, DefaultVis, 0, 871, 0, 939, 0, 0)
129OPTION(1, 950 /* -help */, help, Flag, INVALID, INVALID, 0, 0, DefaultVis, 0, 956, 0, 0, 0, 0)
130OPTION(1, 974 /* -h */, anonymous_0, Flag, INVALID, help, 0, 0, DefaultVis, 0, 977, 0, 0, 0, 0)
131OPTION(1, 994 /* -o */, outputFileName, Separate, INVALID, INVALID, 0, 0, DefaultVis, 0, 997, 0, 939, 0, 0)
132OPTION(1, 1022 /* -prioritize-discard-path= */, prioritizeDiscardPath, Joined, INVALID, INVALID, 0, 0, DefaultVis, 0, 1048, 0, 1171, 0, 0)
133OPTION(1, 1178 /* -version */, version, Flag, INVALID, INVALID, 0, 0, DefaultVis, 0, 1187, 0, 0, 0, 0)
134#endif // OPTION
135
136#ifdef SIMPLE_ENUM_VALUE_TABLE
137
138struct SimpleEnumValue {
139 const char *Name;
140 unsigned Value;
141};
142
143struct SimpleEnumValueTable {
144 const SimpleEnumValue *Table;
145 unsigned Size;
146};
147static const SimpleEnumValueTable SimpleEnumValueTables[] = {};
148static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables);
149#endif // SIMPLE_ENUM_VALUE_TABLE
150