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 | "<input>\0" |
23 | "<unknown>\0" |
24 | "-arch_only\0" |
25 | "-dependency_info\0" |
26 | "-D\0" |
27 | "-filelist\0" |
28 | "-help\0" |
29 | "-h\0" |
30 | "-L\0" |
31 | "-l\0" |
32 | "-no_warning_for_no_symbols\0" |
33 | "-o\0" |
34 | "-static\0" |
35 | "-syslibroot\0" |
36 | "-U\0" |
37 | "-version\0" |
38 | "-V\0" |
39 | "-warnings_as_errors\0" |
40 | ; |
41 | #ifdef __GNUC__ |
42 | #pragma GCC diagnostic pop |
43 | #endif |
44 | |
45 | static constexpr llvm::StringTable OptionStrTable = |
46 | OptionStrTableStorage; |
47 | #endif // OPTTABLE_STR_TABLE_CODE |
48 | |
49 | ///////// |
50 | // Prefixes |
51 | |
52 | #ifdef OPTTABLE_PREFIXES_TABLE_CODE |
53 | static constexpr llvm::StringTable::Offset OptionPrefixesTable[] = { |
54 | 0 /* prefixes */, |
55 | 2 /* prefixes */, 1 /* '-' */, 3 /* '--' */ |
56 | }; |
57 | #endif // OPTTABLE_PREFIXES_TABLE_CODE |
58 | |
59 | ///////// |
60 | // Prefix Union |
61 | |
62 | #ifdef OPTTABLE_PREFIXES_UNION_CODE |
63 | static constexpr llvm::StringTable::Offset OptionPrefixesUnion[] = { |
64 | 1 /* '-' */, 3 /* '--' */ |
65 | }; |
66 | #endif // OPTTABLE_PREFIXES_UNION_CODE |
67 | |
68 | ///////// |
69 | // ValuesCode |
70 | |
71 | #ifdef OPTTABLE_VALUES_CODE |
72 | #endif |
73 | ///////// |
74 | // Groups |
75 | |
76 | #ifdef OPTION |
77 | |
78 | ////////// |
79 | // Options |
80 | |
81 | OPTION(0, 6 /* <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) |
82 | OPTION(0, 14 /* <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) |
83 | OPTION(1, 24 /* -arch_only */, archType, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
84 | "Specify architecture type for output library" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<arch_type>" , nullptr) |
85 | OPTION(1, 35 /* -dependency_info */, dependencyInfoPath, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
86 | "Write an Xcode dependency info file describing the dependencies of the created library" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<string>" , nullptr) |
87 | OPTION(1, 52 /* -D */, deterministicOption, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
88 | "Use zero for timestamps and UIDs/GIDs (Default)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
89 | OPTION(1, 55 /* -filelist */, fileList, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
90 | "Pass in file containing a list of filenames" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<listfile[,dirname]>" , nullptr) |
91 | OPTION(1, 65 /* -help */, help, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
92 | "Display this help" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
93 | OPTION(1, 71 /* -h */, anonymous_0, Flag, INVALID, help, nullptr, 0, DefaultVis, 0, |
94 | "" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
95 | OPTION(1, 74 /* -L */, librarySearchDirs, JoinedOrSeparate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
96 | "L<dir> adds <dir> to the list of directories in which to search for libraries" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<dir>" , nullptr) |
97 | OPTION(1, 77 /* -l */, libraries, JoinedOrSeparate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
98 | "l<x> searches for the library libx.a in the library search path. If the string 'x' ends with '.o', then the library 'x' is searched for without prepending 'lib' or appending '.a'" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<x>" , nullptr) |
99 | OPTION(1, 80 /* -no_warning_for_no_symbols */, noWarningForNoSymbols, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
100 | "Do not warn about files that have no symbols" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
101 | OPTION(1, 107 /* -o */, outputFile, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
102 | "Specify output filename" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<filename>" , nullptr) |
103 | OPTION(1, 110 /* -static */, static, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
104 | "Produce a statically linked library from the input files" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
105 | OPTION(1, 118 /* -syslibroot */, ignoredSyslibRoot, Separate, INVALID, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
106 | "" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
107 | OPTION(1, 130 /* -U */, nonDeterministicOption, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
108 | "Use actual timestamps and UIDs/GIDs" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
109 | OPTION(1, 133 /* -version */, version, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
110 | "Display the version of this program" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
111 | OPTION(1, 142 /* -V */, anonymous_1, Flag, INVALID, version, nullptr, 0, DefaultVis, 0, |
112 | "Print the version number and exit" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
113 | OPTION(1, 145 /* -warnings_as_errors */, warningsAsErrors, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
114 | "Treat warnings as errors" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
115 | #endif // OPTION |
116 | |
117 | #ifdef SIMPLE_ENUM_VALUE_TABLE |
118 | |
119 | struct SimpleEnumValue { |
120 | const char *Name; |
121 | unsigned Value; |
122 | }; |
123 | |
124 | struct SimpleEnumValueTable { |
125 | const SimpleEnumValue *Table; |
126 | unsigned Size; |
127 | }; |
128 | static const SimpleEnumValueTable SimpleEnumValueTables[] = {}; |
129 | static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables); |
130 | #endif // SIMPLE_ENUM_VALUE_TABLE |
131 | |
132 | |
133 | |