| 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 | "-continue-on-cu-index-overflow=\0" |
| 25 | "-continue-on-cu-index-overflow\0" |
| 26 | "-e\0" |
| 27 | "-help\0" |
| 28 | "-h\0" |
| 29 | "-o\0" |
| 30 | "-version\0" |
| 31 | ; |
| 32 | #ifdef __GNUC__ |
| 33 | #pragma GCC diagnostic pop |
| 34 | #endif |
| 35 | |
| 36 | static constexpr llvm::StringTable OptionStrTable = |
| 37 | OptionStrTableStorage; |
| 38 | #endif // OPTTABLE_STR_TABLE_CODE |
| 39 | |
| 40 | ///////// |
| 41 | // Prefixes |
| 42 | |
| 43 | #ifdef OPTTABLE_PREFIXES_TABLE_CODE |
| 44 | static constexpr llvm::StringTable::Offset OptionPrefixesTable[] = { |
| 45 | 0 /* prefixes */, |
| 46 | 2 /* prefixes */, 1 /* '-' */, 3 /* '--' */ |
| 47 | }; |
| 48 | #endif // OPTTABLE_PREFIXES_TABLE_CODE |
| 49 | |
| 50 | ///////// |
| 51 | // Prefix Union |
| 52 | |
| 53 | #ifdef OPTTABLE_PREFIXES_UNION_CODE |
| 54 | static constexpr llvm::StringTable::Offset OptionPrefixesUnion[] = { |
| 55 | 1 /* '-' */, 3 /* '--' */ |
| 56 | }; |
| 57 | #endif // OPTTABLE_PREFIXES_UNION_CODE |
| 58 | |
| 59 | ///////// |
| 60 | // ValuesCode |
| 61 | |
| 62 | #ifdef OPTTABLE_VALUES_CODE |
| 63 | #endif |
| 64 | ///////// |
| 65 | // Groups |
| 66 | |
| 67 | #ifdef OPTION |
| 68 | |
| 69 | ////////// |
| 70 | // Options |
| 71 | |
| 72 | 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) |
| 73 | 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) |
| 74 | OPTION(1, 24 /* -continue-on-cu-index-overflow= */, continueOnCuIndexOverflow_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 75 | "default = continue, This turns an error when offset \n\t\tfor .debug_*.dwo sections overfolws 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." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, "continue,soft-stop" ) |
| 76 | OPTION(1, 56 /* -continue-on-cu-index-overflow */, continueOnCuIndexOverflow, 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) |
| 77 | OPTION(1, 87 /* -e */, execFileNames, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 78 | "Specify the executable/library files to get the list of *.dwo from." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<filename>" , nullptr) |
| 79 | OPTION(1, 90 /* -help */, help, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 80 | "Display this help" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 81 | OPTION(1, 96 /* -h */, anonymous_0, Flag, INVALID, help, nullptr, 0, DefaultVis, 0, |
| 82 | "Alias for --help" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 83 | OPTION(1, 99 /* -o */, outputFileName, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 84 | "Specify the output file." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<filename>" , nullptr) |
| 85 | OPTION(1, 102 /* -version */, version, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 86 | "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) |
| 87 | #endif // OPTION |
| 88 | |
| 89 | #ifdef SIMPLE_ENUM_VALUE_TABLE |
| 90 | |
| 91 | struct SimpleEnumValue { |
| 92 | const char *Name; |
| 93 | unsigned Value; |
| 94 | }; |
| 95 | |
| 96 | struct SimpleEnumValueTable { |
| 97 | const SimpleEnumValue *Table; |
| 98 | unsigned Size; |
| 99 | }; |
| 100 | static const SimpleEnumValueTable SimpleEnumValueTables[] = {}; |
| 101 | static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables); |
| 102 | #endif // SIMPLE_ENUM_VALUE_TABLE |
| 103 | |
| 104 | |
| 105 | |