| 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 | "--allow-multiple-definition\0" |
| 25 | "--allow-undefined-file=\0" |
| 26 | "-allow-undefined-file\0" |
| 27 | "--allow-undefined\0" |
| 28 | "--Bdynamic\0" |
| 29 | "--Bstatic\0" |
| 30 | "--Bsymbolic\0" |
| 31 | "--build-id=\0" |
| 32 | "--build-id\0" |
| 33 | "--call_shared\0" |
| 34 | "--check-features\0" |
| 35 | "--color-diagnostics=\0" |
| 36 | "--color-diagnostics\0" |
| 37 | "--compress-relocations\0" |
| 38 | "--cooperative-threading\0" |
| 39 | "--demangle\0" |
| 40 | "--disable-verify\0" |
| 41 | "--dn\0" |
| 42 | "--dy\0" |
| 43 | "--emit-relocs\0" |
| 44 | "--end-lib\0" |
| 45 | "--entry=\0" |
| 46 | "--entry\0" |
| 47 | "--error-limit=\0" |
| 48 | "--error-limit\0" |
| 49 | "--error-unresolved-symbols\0" |
| 50 | "--experimental-pic\0" |
| 51 | "--export-all\0" |
| 52 | "--export-dynamic\0" |
| 53 | "--export-if-defined=\0" |
| 54 | "--export-if-defined\0" |
| 55 | "--export-memory=\0" |
| 56 | "--export-memory\0" |
| 57 | "--export-table\0" |
| 58 | "--export=\0" |
| 59 | "--export\0" |
| 60 | "--extra-features=\0" |
| 61 | "-E\0" |
| 62 | "-e\0" |
| 63 | "--fatal-warnings\0" |
| 64 | "--features=\0" |
| 65 | "--gc-sections\0" |
| 66 | "--global-base=\0" |
| 67 | "--growable-table\0" |
| 68 | "--help\0" |
| 69 | "--import-memory=\0" |
| 70 | "--import-memory\0" |
| 71 | "--import-table\0" |
| 72 | "--import-undefined\0" |
| 73 | "--initial-heap=\0" |
| 74 | "--initial-memory=\0" |
| 75 | "-i\0" |
| 76 | "--keep-section=\0" |
| 77 | "--keep-section\0" |
| 78 | "--library-path=\0" |
| 79 | "--library-path\0" |
| 80 | "--library=\0" |
| 81 | "--library\0" |
| 82 | "--lto-CGO\0" |
| 83 | "--lto-debug-pass-manager\0" |
| 84 | "--lto-obj-path=\0" |
| 85 | "--lto-O\0" |
| 86 | "--lto-partitions=\0" |
| 87 | "-L\0" |
| 88 | "-l\0" |
| 89 | "--Map=\0" |
| 90 | "--Map\0" |
| 91 | "--max-memory=\0" |
| 92 | "--merge-data-segments\0" |
| 93 | "--mllvm=\0" |
| 94 | "--mllvm\0" |
| 95 | "-M\0" |
| 96 | "-m\0" |
| 97 | "--no-allow-multiple-definition\0" |
| 98 | "--no-check-features\0" |
| 99 | "--no-color-diagnostics\0" |
| 100 | "--no-demangle\0" |
| 101 | "--no-entry\0" |
| 102 | "--no-export-dynamic\0" |
| 103 | "--no-fatal-warnings\0" |
| 104 | "--no-gc-sections\0" |
| 105 | "--no-growable-memory\0" |
| 106 | "--no-merge-data-segments\0" |
| 107 | "--no-pie\0" |
| 108 | "--no-print-gc-sections\0" |
| 109 | "--no-shlib-sigcheck\0" |
| 110 | "--no-stack-first\0" |
| 111 | "--no-whole-archive\0" |
| 112 | "--noinhibit-exec\0" |
| 113 | "--non_shared\0" |
| 114 | "-O\0" |
| 115 | "-o\0" |
| 116 | "--page-size=\0" |
| 117 | "--pie\0" |
| 118 | "--print-gc-sections\0" |
| 119 | "--print-map\0" |
| 120 | "--relocatable\0" |
| 121 | "--reproduce=\0" |
| 122 | "--reproduce\0" |
| 123 | "--rpath=\0" |
| 124 | "--rpath\0" |
| 125 | "--rsp-quoting=\0" |
| 126 | "--rsp-quoting\0" |
| 127 | "-r\0" |
| 128 | "--save-temps\0" |
| 129 | "--shared-memory\0" |
| 130 | "--shared\0" |
| 131 | "--soname=\0" |
| 132 | "--soname\0" |
| 133 | "--stack-first\0" |
| 134 | "--start-lib\0" |
| 135 | "--static\0" |
| 136 | "--strip-all\0" |
| 137 | "--strip-debug\0" |
| 138 | "-S\0" |
| 139 | "-s\0" |
| 140 | "--table-base=\0" |
| 141 | "--thinlto-cache-dir=\0" |
| 142 | "--thinlto-cache-policy=\0" |
| 143 | "--thinlto-cache-policy\0" |
| 144 | "--thinlto-emit-imports-files\0" |
| 145 | "--thinlto-emit-index-files\0" |
| 146 | "--thinlto-index-only=\0" |
| 147 | "--thinlto-index-only\0" |
| 148 | "--thinlto-jobs=\0" |
| 149 | "--thinlto-object-suffix-replace=\0" |
| 150 | "--thinlto-prefix-replace=\0" |
| 151 | "--threads=\0" |
| 152 | "--threads\0" |
| 153 | "--trace-symbol=\0" |
| 154 | "--trace-symbol\0" |
| 155 | "--trace\0" |
| 156 | "-t\0" |
| 157 | "--undefined=\0" |
| 158 | "--undefined\0" |
| 159 | "--unresolved-symbols=\0" |
| 160 | "--unresolved-symbols\0" |
| 161 | "-u\0" |
| 162 | "--verbose\0" |
| 163 | "--version\0" |
| 164 | "-V\0" |
| 165 | "-v\0" |
| 166 | "--warn-unresolved-symbols\0" |
| 167 | "--whole-archive\0" |
| 168 | "--why-extract=\0" |
| 169 | "--wrap=\0" |
| 170 | "--wrap\0" |
| 171 | "-y\0" |
| 172 | "-z\0" |
| 173 | ; |
| 174 | #ifdef __GNUC__ |
| 175 | #pragma GCC diagnostic pop |
| 176 | #endif |
| 177 | |
| 178 | static constexpr llvm::StringTable |
| 179 | OptionStrTable = OptionStrTableStorage; |
| 180 | #endif // OPTTABLE_STR_TABLE_CODE |
| 181 | |
| 182 | ///////// |
| 183 | // Prefixes |
| 184 | |
| 185 | #ifdef OPTTABLE_PREFIXES_TABLE_CODE |
| 186 | static constexpr llvm::StringTable::Offset OptionPrefixesTable[] = { |
| 187 | 0 /* prefixes */, |
| 188 | 1 /* prefixes */, 1 /* '-' */, |
| 189 | 1 /* prefixes */, 3 /* '--' */, |
| 190 | 2 /* prefixes */, 3 /* '--' */, 1 /* '-' */ |
| 191 | }; |
| 192 | #endif // OPTTABLE_PREFIXES_TABLE_CODE |
| 193 | |
| 194 | /////////// SubCommand IDs |
| 195 | |
| 196 | #ifdef OPTTABLE_SUBCOMMAND_IDS_TABLE_CODE |
| 197 | static constexpr unsigned OptionSubCommandIDsTable[] = { |
| 198 | 0 /* subcommands */ |
| 199 | }; |
| 200 | #endif // OPTTABLE_SUBCOMMAND_IDS_TABLE_CODE |
| 201 | |
| 202 | ///////// |
| 203 | // Prefix Union |
| 204 | |
| 205 | #ifdef OPTTABLE_PREFIXES_UNION_CODE |
| 206 | static constexpr llvm::StringTable::Offset OptionPrefixesUnion[] = { |
| 207 | 1 /* '-' */, 3 /* '--' */ |
| 208 | }; |
| 209 | #endif // OPTTABLE_PREFIXES_UNION_CODE |
| 210 | |
| 211 | ///////// |
| 212 | // ValuesCode |
| 213 | |
| 214 | #ifdef OPTTABLE_VALUES_CODE |
| 215 | #endif |
| 216 | ///////// |
| 217 | // Groups |
| 218 | |
| 219 | #ifdef OPTION |
| 220 | |
| 221 | ////////// |
| 222 | // Options |
| 223 | |
| 224 | 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, 0) |
| 225 | 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, 0) |
| 226 | OPTION(5, 24 /* --allow-multiple-definition */, allow_multiple_definition, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 227 | "Allow multiple definitions" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 228 | OPTION(5, 52 /* --allow-undefined-file= */, allow_undefined_file, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 229 | "Allow symbols listed in <file> to be undefined in linked binary" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 230 | OPTION(1, 76 /* -allow-undefined-file */, allow_undefined_file_s, Separate, INVALID, allow_undefined_file, 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, 0) |
| 231 | OPTION(5, 98 /* --allow-undefined */, allow_undefined, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 232 | "Allow undefined symbols in linked binary. This options is equivalent to --import-undefined and --unresolved-symbols=ignore-all" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 233 | OPTION(5, 116 /* --Bdynamic */, Bdynamic, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 234 | "Link against shared libraries" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 235 | OPTION(5, 127 /* --Bstatic */, Bstatic, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 236 | "Do not link against shared libraries (default)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 237 | OPTION(5, 137 /* --Bsymbolic */, Bsymbolic, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 238 | "Bind defined symbols locally" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 239 | OPTION(5, 149 /* --build-id= */, build_id_eq, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 240 | "Generate build ID note" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "[fast,sha1,uuid,0x<hexstring>]" , nullptr, 0) |
| 241 | OPTION(5, 161 /* --build-id */, build_id, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 242 | "Alias for --build-id=fast" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 243 | OPTION(5, 172 /* --call_shared */, anonymous_2, Flag, INVALID, Bdynamic, nullptr, 0, DefaultVis, 0, |
| 244 | "Alias for --Bdynamic" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 245 | OPTION(3, 186 /* --check-features */, check_features, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 246 | "Check feature compatibility of linked objects (default)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 247 | OPTION(5, 203 /* --color-diagnostics= */, color_diagnostics_eq, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 248 | "Use colors in diagnostics (default: auto)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "[auto,always,never]" , nullptr, 0) |
| 249 | OPTION(5, 224 /* --color-diagnostics */, color_diagnostics, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 250 | "Alias for --color-diagnostics=always" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 251 | OPTION(5, 244 /* --compress-relocations */, compress_relocations, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 252 | "Compress the relocation targets in the code section." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 253 | OPTION(3, 267 /* --cooperative-threading */, cooperative_threading, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 254 | "Enable cooperative multithreading." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 255 | OPTION(5, 291 /* --demangle */, demangle, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 256 | "Demangle symbol names (default)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 257 | OPTION(5, 302 /* --disable-verify */, disable_verify, 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, 0) |
| 258 | OPTION(5, 319 /* --dn */, anonymous_4, Flag, INVALID, Bstatic, nullptr, 0, DefaultVis, 0, |
| 259 | "Alias for --Bstatic" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 260 | OPTION(5, 324 /* --dy */, anonymous_3, Flag, INVALID, Bdynamic, nullptr, 0, DefaultVis, 0, |
| 261 | "Alias for --Bdynamic" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 262 | OPTION(5, 329 /* --emit-relocs */, emit_relocs, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 263 | "Generate relocations in output" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 264 | OPTION(5, 343 /* --end-lib */, end_lib, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 265 | "End a grouping of objects that should be treated as if they were together in an archive" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 266 | OPTION(5, 353 /* --entry= */, anonymous_1, Joined, INVALID, entry, 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, 0) |
| 267 | OPTION(5, 362 /* --entry */, entry, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 268 | "Name of entry point symbol" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<entry>" , nullptr, 0) |
| 269 | OPTION(3, 370 /* --error-limit= */, error_limit_eq, Joined, INVALID, error_limit, nullptr, 0, DefaultVis, 0, |
| 270 | "Maximum number of errors to emit before stopping (0 = no limit)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 271 | OPTION(3, 385 /* --error-limit */, error_limit, Separate, 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, 0) |
| 272 | OPTION(5, 399 /* --error-unresolved-symbols */, error_unresolved_symbols, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 273 | "Report unresolved symbols as errors" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 274 | OPTION(3, 426 /* --experimental-pic */, experimental_pic, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 275 | "Legacy enable Experimental PIC flag; ignored" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 276 | OPTION(3, 445 /* --export-all */, export_all, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 277 | "Export all symbols (normally combined with --no-gc-sections)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 278 | OPTION(5, 458 /* --export-dynamic */, export_dynamic, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 279 | "Put symbols in the dynamic symbol table" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 280 | OPTION(5, 475 /* --export-if-defined= */, export_if_defined_eq, Joined, INVALID, export_if_defined, nullptr, 0, DefaultVis, 0, |
| 281 | "Force a symbol to be exported, if it is defined in the input" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 282 | OPTION(5, 496 /* --export-if-defined */, export_if_defined, Separate, 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, 0) |
| 283 | OPTION(3, 516 /* --export-memory= */, export_memory_with_name, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 284 | "Export the module's memory with the passed name" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 285 | OPTION(3, 533 /* --export-memory */, export_memory, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 286 | "Export the module's memory with the default name of \"memory\"" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 287 | OPTION(3, 549 /* --export-table */, export_table, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 288 | "Export function table to the environment" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 289 | OPTION(5, 564 /* --export= */, export_eq, Joined, INVALID, export, nullptr, 0, DefaultVis, 0, |
| 290 | "Force a symbol to be exported" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 291 | OPTION(5, 574 /* --export */, export, Separate, 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, 0) |
| 292 | OPTION(5, 583 /* --extra-features= */, extra_features, CommaJoined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 293 | "Comma-separated list of features to add to the default set of features inferred from input objects." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 294 | OPTION(1, 601 /* -E */, anonymous_7, Flag, INVALID, export_dynamic, nullptr, 0, DefaultVis, 0, |
| 295 | "Alias for --export-dynamic" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 296 | OPTION(1, 604 /* -e */, anonymous_0, JoinedOrSeparate, INVALID, entry, 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, 0) |
| 297 | OPTION(5, 607 /* --fatal-warnings */, fatal_warnings, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 298 | "Treat warnings as errors" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 299 | OPTION(5, 624 /* --features= */, features, CommaJoined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 300 | "Comma-separated used features, inferred from input objects by default." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 301 | OPTION(5, 636 /* --gc-sections */, gc_sections, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 302 | "Enable garbage collection of unused sections (defualt)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 303 | OPTION(3, 650 /* --global-base= */, global_base, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 304 | "Memory offset at which to place global data (Defaults to 1024)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 305 | OPTION(3, 665 /* --growable-table */, growable_table, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 306 | "Remove maximum size from function table, allowing table to grow" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 307 | OPTION(5, 682 /* --help */, help, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 308 | "Print option help" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 309 | OPTION(3, 689 /* --import-memory= */, import_memory_with_name, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 310 | "Import the module's memory from the passed module with the passed name." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<module>,<name>" , nullptr, 0) |
| 311 | OPTION(3, 706 /* --import-memory */, import_memory, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 312 | "Import the module's memory from the default module of \"env\" with the name \"memory\"." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 313 | OPTION(3, 722 /* --import-table */, import_table, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 314 | "Import function table from the environment" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 315 | OPTION(5, 737 /* --import-undefined */, import_undefined, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 316 | "Turn undefined symbols into imports where possible" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 317 | OPTION(3, 756 /* --initial-heap= */, initial_heap, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 318 | "Initial size of the heap" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 319 | OPTION(3, 772 /* --initial-memory= */, initial_memory, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 320 | "Initial size of the linear memory" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 321 | OPTION(1, 790 /* -i */, anonymous_8, Flag, INVALID, initial_memory, 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, 0) |
| 322 | OPTION(5, 793 /* --keep-section= */, keep_section_eq, Joined, INVALID, keep_section, nullptr, 0, DefaultVis, 0, |
| 323 | "Preserve a section even when --strip-all is given. This is useful for compiler drivers such as clang or emcc that, for example, depend on the features section for post-link processing. Can be specified multiple times to keep multiple sections" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 324 | OPTION(5, 809 /* --keep-section */, keep_section, Separate, 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, 0) |
| 325 | OPTION(5, 824 /* --library-path= */, anonymous_12, Joined, INVALID, library_path, 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, 0) |
| 326 | OPTION(5, 840 /* --library-path */, anonymous_11, Separate, INVALID, library_path, 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, 0) |
| 327 | OPTION(5, 855 /* --library= */, anonymous_10, Joined, INVALID, library, 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, 0) |
| 328 | OPTION(5, 866 /* --library */, anonymous_9, Separate, INVALID, library, 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, 0) |
| 329 | OPTION(3, 876 /* --lto-CGO */, lto_CGO, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 330 | "Codegen optimization level for LTO" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<cgopt-level>" , nullptr, 0) |
| 331 | OPTION(3, 886 /* --lto-debug-pass-manager */, lto_debug_pass_manager, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 332 | "Debug new pass manager" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 333 | OPTION(3, 911 /* --lto-obj-path= */, lto_obj_path_eq, Joined, 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, 0) |
| 334 | OPTION(3, 927 /* --lto-O */, lto_O, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 335 | "Optimization level for LTO" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<opt-level>" , nullptr, 0) |
| 336 | OPTION(3, 935 /* --lto-partitions= */, lto_partitions, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 337 | "Number of LTO codegen partitions" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 338 | OPTION(1, 953 /* -L */, library_path, JoinedOrSeparate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 339 | "Add a directory to the library search path" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<dir>" , nullptr, 0) |
| 340 | OPTION(1, 956 /* -l */, library, JoinedOrSeparate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 341 | "Root name of library to use" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<libName>" , nullptr, 0) |
| 342 | OPTION(5, 959 /* --Map= */, Map_eq, Joined, INVALID, Map, nullptr, 0, DefaultVis, 0, |
| 343 | "Print a link map to the specified file" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 344 | OPTION(5, 966 /* --Map */, Map, Separate, 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, 0) |
| 345 | OPTION(3, 972 /* --max-memory= */, max_memory, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 346 | "Maximum size of the linear memory" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 347 | OPTION(3, 986 /* --merge-data-segments */, merge_data_segments, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 348 | "Enable merging data segments (default)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 349 | OPTION(5, 1008 /* --mllvm= */, mllvm_eq, Joined, INVALID, mllvm, nullptr, 0, DefaultVis, 0, |
| 350 | "Additional arguments to forward to LLVM's option processing" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 351 | OPTION(5, 1017 /* --mllvm */, mllvm, Separate, 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, 0) |
| 352 | OPTION(1, 1025 /* -M */, anonymous_13, Flag, INVALID, print_map, nullptr, 0, DefaultVis, 0, |
| 353 | "Alias for --print-map" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 354 | OPTION(1, 1028 /* -m */, m, JoinedOrSeparate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 355 | "Set target emulation" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 356 | OPTION(5, 1031 /* --no-allow-multiple-definition */, no_allow_multiple_definition, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 357 | "Do not allow multiple definitions (default)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 358 | OPTION(3, 1062 /* --no-check-features */, no_check_features, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 359 | "Ignore feature compatibility of linked objects" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 360 | OPTION(5, 1082 /* --no-color-diagnostics */, no_color_diagnostics, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 361 | "Alias for --color-diagnostics=never" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 362 | OPTION(5, 1105 /* --no-demangle */, no_demangle, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 363 | "Do not demangle symbol names" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 364 | OPTION(3, 1119 /* --no-entry */, no_entry, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 365 | "Do not output any entry point" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 366 | OPTION(5, 1130 /* --no-export-dynamic */, no_export_dynamic, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 367 | "Do not put symbols in the dynamic symbol table (default)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 368 | OPTION(5, 1150 /* --no-fatal-warnings */, no_fatal_warnings, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 369 | "Do not 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, 0) |
| 370 | OPTION(5, 1170 /* --no-gc-sections */, no_gc_sections, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 371 | "Disable garbage collection of unused sections" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 372 | OPTION(3, 1187 /* --no-growable-memory */, no_growable_memory, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 373 | "Set maximum size of the linear memory to its initial size" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 374 | OPTION(3, 1208 /* --no-merge-data-segments */, no_merge_data_segments, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 375 | "Disable merging data segments" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 376 | OPTION(5, 1233 /* --no-pie */, no_pie, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 377 | "Do not create a position independent executable (default)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 378 | OPTION(5, 1242 /* --no-print-gc-sections */, no_print_gc_sections, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 379 | "Do not list removed unused sections (default)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 380 | OPTION(3, 1265 /* --no-shlib-sigcheck */, no_shlib_sigcheck, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 381 | "Do not check signatures of functions defined in shared libraries." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 382 | OPTION(5, 1285 /* --no-stack-first */, no_stack_first, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 383 | "Place the stack after static data region" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 384 | OPTION(5, 1302 /* --no-whole-archive */, no_whole_archive, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 385 | "Do not force load of all members in a static library (default)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 386 | OPTION(5, 1321 /* --noinhibit-exec */, noinhibit_exec, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 387 | "Retain the executable output file whenever it is still usable" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 388 | OPTION(5, 1338 /* --non_shared */, anonymous_5, Flag, INVALID, Bstatic, nullptr, 0, DefaultVis, 0, |
| 389 | "Alias for --Bstatic" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 390 | OPTION(1, 1351 /* -O */, O, JoinedOrSeparate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 391 | "Optimize output file size" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 392 | OPTION(1, 1354 /* -o */, o, JoinedOrSeparate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 393 | "Path to file to write output" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<path>" , nullptr, 0) |
| 394 | OPTION(3, 1357 /* --page-size= */, page_size, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 395 | "The Wasm page size (Defaults to 65536)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 396 | OPTION(5, 1370 /* --pie */, pie, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 397 | "Create a position independent executable" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 398 | OPTION(5, 1376 /* --print-gc-sections */, print_gc_sections, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 399 | "List removed unused sections" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 400 | OPTION(5, 1396 /* --print-map */, print_map, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 401 | "Print a link map to the standard output" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 402 | OPTION(5, 1408 /* --relocatable */, relocatable, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 403 | "Create relocatable object file" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 404 | OPTION(3, 1422 /* --reproduce= */, reproduce_eq, Joined, INVALID, reproduce, nullptr, 0, DefaultVis, 0, |
| 405 | "Dump linker invocation and input files for debugging" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 406 | OPTION(3, 1435 /* --reproduce */, reproduce, Separate, 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, 0) |
| 407 | OPTION(5, 1447 /* --rpath= */, rpath_eq, Joined, INVALID, rpath, nullptr, 0, DefaultVis, 0, |
| 408 | "Add a DT_RUNPATH to the output" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 409 | OPTION(5, 1456 /* --rpath */, rpath, Separate, 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, 0) |
| 410 | OPTION(5, 1464 /* --rsp-quoting= */, rsp_quoting_eq, Joined, INVALID, rsp_quoting, nullptr, 0, DefaultVis, 0, |
| 411 | "Quoting style for response files" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "[posix,windows]" , nullptr, 0) |
| 412 | OPTION(5, 1479 /* --rsp-quoting */, rsp_quoting, Separate, 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} }}), "[posix,windows]" , nullptr, 0) |
| 413 | OPTION(1, 1493 /* -r */, anonymous_14, Flag, INVALID, relocatable, 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, 0) |
| 414 | OPTION(5, 1496 /* --save-temps */, save_temps, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 415 | "Save intermediate LTO compilation results" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 416 | OPTION(3, 1509 /* --shared-memory */, shared_memory, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 417 | "Use shared linear memory" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 418 | OPTION(5, 1525 /* --shared */, shared, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 419 | "Build a shared object" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 420 | OPTION(5, 1534 /* --soname= */, soname_eq, Joined, INVALID, soname, nullptr, 0, DefaultVis, 0, |
| 421 | "Set the module name in the generated name section" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 422 | OPTION(5, 1544 /* --soname */, soname, Separate, 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, 0) |
| 423 | OPTION(5, 1553 /* --stack-first */, stack_first, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 424 | "Place stack at start of linear memory (default)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 425 | OPTION(5, 1567 /* --start-lib */, start_lib, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 426 | "Start a grouping of objects that should be treated as if they were together in an archive" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 427 | OPTION(5, 1579 /* --static */, anonymous_6, Flag, INVALID, Bstatic, nullptr, 0, DefaultVis, 0, |
| 428 | "Alias for --Bstatic" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 429 | OPTION(5, 1588 /* --strip-all */, strip_all, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 430 | "Strip all symbols" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 431 | OPTION(5, 1600 /* --strip-debug */, strip_debug, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 432 | "Strip debugging information" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 433 | OPTION(1, 1614 /* -S */, anonymous_16, Flag, INVALID, strip_debug, nullptr, 0, DefaultVis, 0, |
| 434 | "Alias for --strip-debug" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 435 | OPTION(1, 1617 /* -s */, anonymous_15, Flag, INVALID, strip_all, nullptr, 0, DefaultVis, 0, |
| 436 | "Alias for --strip-all" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 437 | OPTION(3, 1620 /* --table-base= */, table_base, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 438 | "Table offset at which to place address taken functions (Defaults to 1)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 439 | OPTION(3, 1634 /* --thinlto-cache-dir= */, thinlto_cache_dir, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 440 | "Path to ThinLTO cached object file directory" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 441 | OPTION(3, 1655 /* --thinlto-cache-policy= */, thinlto_cache_policy_eq, Joined, INVALID, thinlto_cache_policy, nullptr, 0, DefaultVis, 0, |
| 442 | "Pruning policy for the ThinLTO cache" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 443 | OPTION(3, 1679 /* --thinlto-cache-policy */, thinlto_cache_policy, Separate, 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, 0) |
| 444 | OPTION(3, 1702 /* --thinlto-emit-imports-files */, thinlto_emit_imports_files, 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, 0) |
| 445 | OPTION(3, 1731 /* --thinlto-emit-index-files */, thinlto_emit_index_files, 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, 0) |
| 446 | OPTION(3, 1758 /* --thinlto-index-only= */, thinlto_index_only_eq, Joined, 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, 0) |
| 447 | OPTION(3, 1780 /* --thinlto-index-only */, thinlto_index_only, 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, 0) |
| 448 | OPTION(3, 1801 /* --thinlto-jobs= */, thinlto_jobs, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 449 | "Number of ThinLTO jobs. Default to --threads=" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 450 | OPTION(3, 1817 /* --thinlto-object-suffix-replace= */, thinlto_object_suffix_replace_eq, Joined, 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, 0) |
| 451 | OPTION(3, 1850 /* --thinlto-prefix-replace= */, thinlto_prefix_replace_eq, Joined, 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, 0) |
| 452 | OPTION(5, 1876 /* --threads= */, threads_eq, Joined, INVALID, threads, nullptr, 0, DefaultVis, 0, |
| 453 | "Number of threads. '1' disables multi-threading. By default all available hardware threads are used" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 454 | OPTION(5, 1887 /* --threads */, threads, Separate, 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, 0) |
| 455 | OPTION(5, 1897 /* --trace-symbol= */, trace_symbol_eq, Joined, INVALID, trace_symbol, nullptr, 0, DefaultVis, 0, |
| 456 | "Trace references to symbols" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 457 | OPTION(5, 1913 /* --trace-symbol */, trace_symbol, Separate, 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, 0) |
| 458 | OPTION(5, 1928 /* --trace */, trace, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 459 | "Print the names of the input files" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 460 | OPTION(1, 1936 /* -t */, anonymous_17, Flag, INVALID, trace, nullptr, 0, DefaultVis, 0, |
| 461 | "Alias for --trace" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 462 | OPTION(5, 1939 /* --undefined= */, undefined_eq, Joined, INVALID, undefined, nullptr, 0, DefaultVis, 0, |
| 463 | "Force undefined symbol during linking" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 464 | OPTION(5, 1952 /* --undefined */, undefined, Separate, 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, 0) |
| 465 | OPTION(5, 1964 /* --unresolved-symbols= */, unresolved_symbols_eq, Joined, INVALID, unresolved_symbols, nullptr, 0, DefaultVis, 0, |
| 466 | "Determine how to handle unresolved symbols" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 467 | OPTION(5, 1986 /* --unresolved-symbols */, unresolved_symbols, Separate, 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, 0) |
| 468 | OPTION(1, 2007 /* -u */, anonymous_19, JoinedOrSeparate, INVALID, undefined, 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, 0) |
| 469 | OPTION(5, 2010 /* --verbose */, verbose, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 470 | "Verbose mode" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 471 | OPTION(5, 2020 /* --version */, version, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 472 | "Display 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, 0) |
| 473 | OPTION(1, 2030 /* -V */, anonymous_20, Flag, INVALID, v, nullptr, 0, DefaultVis, 0, |
| 474 | "Alias for -v" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 475 | OPTION(1, 2033 /* -v */, v, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 476 | "Display the version number" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 477 | OPTION(5, 2036 /* --warn-unresolved-symbols */, warn_unresolved_symbols, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 478 | "Report unresolved symbols as warnings" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 479 | OPTION(5, 2062 /* --whole-archive */, whole_archive, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 480 | "Force load of all members in a static library" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 481 | OPTION(3, 2078 /* --why-extract= */, why_extract, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 482 | "Print to a file about why archive members are extracted" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 483 | OPTION(5, 2093 /* --wrap= */, wrap_eq, Joined, INVALID, wrap, nullptr, 0, DefaultVis, 0, |
| 484 | "Use wrapper functions for symbol" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<symbol>=<symbol>" , nullptr, 0) |
| 485 | OPTION(5, 2101 /* --wrap */, wrap, Separate, 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} }}), "<symbol>=<symbol>" , nullptr, 0) |
| 486 | OPTION(1, 2108 /* -y */, anonymous_18, JoinedOrSeparate, INVALID, trace_symbol, nullptr, 0, DefaultVis, 0, |
| 487 | "Alias for --trace-symbol" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0) |
| 488 | OPTION(1, 2111 /* -z */, z, JoinedOrSeparate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 489 | "Linker option extensions" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<option>" , nullptr, 0) |
| 490 | #endif // OPTION |
| 491 | |
| 492 | #ifdef SIMPLE_ENUM_VALUE_TABLE |
| 493 | |
| 494 | struct SimpleEnumValue { |
| 495 | const char *Name; |
| 496 | unsigned Value; |
| 497 | }; |
| 498 | |
| 499 | struct SimpleEnumValueTable { |
| 500 | const SimpleEnumValue *Table; |
| 501 | unsigned Size; |
| 502 | }; |
| 503 | static const SimpleEnumValueTable SimpleEnumValueTables[] = {}; |
| 504 | static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables); |
| 505 | #endif // SIMPLE_ENUM_VALUE_TABLE |
| 506 | |
| 507 | ///////// |
| 508 | |
| 509 | // SubCommands |
| 510 | |
| 511 | #ifdef OPTTABLE_SUBCOMMANDS_CODE |
| 512 | static constexpr llvm::opt::OptTable::SubCommand OptionSubCommands[] = { |
| 513 | }; |
| 514 | #endif // OPTTABLE_SUBCOMMANDS_CODE |
| 515 | |
| 516 | |
| 517 | |