| 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 | "-??\0" |
| 23 | "/\0" |
| 24 | "/?\0" |
| 25 | "/??\0" |
| 26 | "<input>\0" |
| 27 | "<unknown>\0" |
| 28 | "/def:\0" |
| 29 | "/defArm64Native:\0" |
| 30 | "/help\0" |
| 31 | "/ignore:\0" |
| 32 | "/libpath:\0" |
| 33 | "/list\0" |
| 34 | "/llvmlibempty\0" |
| 35 | "/llvmlibindex:no\0" |
| 36 | "/llvmlibindex\0" |
| 37 | "/llvmlibthin\0" |
| 38 | "/ltcg\0" |
| 39 | "/machine:\0" |
| 40 | "/nodefaultlib:\0" |
| 41 | "/nodefaultlib\0" |
| 42 | "/nologo\0" |
| 43 | "/out:\0" |
| 44 | "/subsystem:\0" |
| 45 | "/verbose\0" |
| 46 | "/WX:no\0" |
| 47 | "/WX\0" |
| 48 | ; |
| 49 | #ifdef __GNUC__ |
| 50 | #pragma GCC diagnostic pop |
| 51 | #endif |
| 52 | |
| 53 | static constexpr llvm::StringTable OptionStrTable = |
| 54 | OptionStrTableStorage; |
| 55 | #endif // OPTTABLE_STR_TABLE_CODE |
| 56 | |
| 57 | ///////// |
| 58 | // Prefixes |
| 59 | |
| 60 | #ifdef OPTTABLE_PREFIXES_TABLE_CODE |
| 61 | static constexpr llvm::StringTable::Offset OptionPrefixesTable[] = { |
| 62 | 0 /* prefixes */, |
| 63 | 4 /* prefixes */, 10 /* '/' */, 1 /* '-' */, 12 /* '/?' */, 3 /* '-?' */, |
| 64 | 4 /* prefixes */, 15 /* '/??' */, 6 /* '-??' */, 12 /* '/?' */, 3 /* '-?' */ |
| 65 | }; |
| 66 | #endif // OPTTABLE_PREFIXES_TABLE_CODE |
| 67 | |
| 68 | ///////// |
| 69 | // Prefix Union |
| 70 | |
| 71 | #ifdef OPTTABLE_PREFIXES_UNION_CODE |
| 72 | static constexpr llvm::StringTable::Offset OptionPrefixesUnion[] = { |
| 73 | 1 /* '-' */, 3 /* '-?' */, 6 /* '-??' */, 10 /* '/' */, 12 /* '/?' */, 15 /* '/??' */ |
| 74 | }; |
| 75 | #endif // OPTTABLE_PREFIXES_UNION_CODE |
| 76 | |
| 77 | ///////// |
| 78 | // ValuesCode |
| 79 | |
| 80 | #ifdef OPTTABLE_VALUES_CODE |
| 81 | #endif |
| 82 | ///////// |
| 83 | // Groups |
| 84 | |
| 85 | #ifdef OPTION |
| 86 | |
| 87 | ////////// |
| 88 | // Options |
| 89 | |
| 90 | OPTION(0, 19 /* <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) |
| 91 | OPTION(0, 27 /* <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) |
| 92 | OPTION(1, 37 /* /def: */, deffile, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 93 | "def file to use to generate import library" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 94 | OPTION(1, 43 /* /defArm64Native: */, nativedeffile, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 95 | "def file to use to generate native ARM64 symbols in ARM64EC import library" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 96 | OPTION(1, 60 /* /help */, help, Flag, 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) |
| 97 | OPTION(1, 66 /* /ignore: */, ignore, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 98 | "Specify warning codes to ignore" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 99 | OPTION(1, 75 /* /libpath: */, libpath, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 100 | "Object file search path" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 101 | OPTION(1, 85 /* /list */, lst, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 102 | "List contents of .lib file on stdout" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 103 | OPTION(1, 91 /* /llvmlibempty */, llvmlibempty, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 104 | "When given no contents, produce an empty .lib file" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 105 | OPTION(1, 105 /* /llvmlibindex:no */, llvmlibindex_no, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 106 | "Do not write an index to the output" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 107 | OPTION(1, 122 /* /llvmlibindex */, llvmlibindex, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 108 | "Write an index to the output (default)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 109 | OPTION(1, 136 /* /llvmlibthin */, llvmlibthin, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 110 | "Make .lib point to .obj files instead of copying their contents" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 111 | OPTION(1, 149 /* /ltcg */, ltcg, Flag, 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) |
| 112 | OPTION(1, 155 /* /machine: */, machine, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 113 | "Specify target platform" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 114 | OPTION(1, 165 /* /nodefaultlib: */, nodefaultlib, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 115 | "" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 116 | OPTION(1, 180 /* /nodefaultlib */, nodefaultlib_all, Flag, 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) |
| 117 | OPTION(1, 194 /* /nologo */, nologo, Flag, 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) |
| 118 | OPTION(1, 202 /* /out: */, out, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 119 | "Path to file to write output" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 120 | OPTION(1, 208 /* /subsystem: */, subsystem, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 121 | "" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 122 | OPTION(1, 220 /* /verbose */, verbose, Flag, 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) |
| 123 | OPTION(1, 229 /* /WX:no */, WX_no, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 124 | "Don't treat warnings as errors (default)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 125 | OPTION(1, 236 /* /WX */, WX, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 126 | "Treat warnings as errors" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 127 | OPTION(6, 15 /* /?? */, help_q, Flag, INVALID, help, 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) |
| 128 | #endif // OPTION |
| 129 | |
| 130 | #ifdef SIMPLE_ENUM_VALUE_TABLE |
| 131 | |
| 132 | struct SimpleEnumValue { |
| 133 | const char *Name; |
| 134 | unsigned Value; |
| 135 | }; |
| 136 | |
| 137 | struct SimpleEnumValueTable { |
| 138 | const SimpleEnumValue *Table; |
| 139 | unsigned Size; |
| 140 | }; |
| 141 | static const SimpleEnumValueTable SimpleEnumValueTables[] = {}; |
| 142 | static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables); |
| 143 | #endif // SIMPLE_ENUM_VALUE_TABLE |
| 144 | |
| 145 | |
| 146 | |