| 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 | "kind\0" |
| 23 | "<input>\0" |
| 24 | "<unknown>\0" |
| 25 | "-arch\0" |
| 26 | "-B\0" |
| 27 | "-chained_fixups\0" |
| 28 | "-C\0" |
| 29 | "-dyld_info\0" |
| 30 | "-D\0" |
| 31 | "-d\0" |
| 32 | "-f\0" |
| 33 | "-G\0" |
| 34 | "--help-hidden\0" |
| 35 | "--help\0" |
| 36 | "-H\0" |
| 37 | "-h\0" |
| 38 | "-I\0" |
| 39 | "-j\0" |
| 40 | "-L\0" |
| 41 | "-l\0" |
| 42 | "-mcpu=\0" |
| 43 | "-M\0" |
| 44 | "-o\0" |
| 45 | "-P\0" |
| 46 | "-p\0" |
| 47 | "-Q\0" |
| 48 | "-q\0" |
| 49 | "-R\0" |
| 50 | "-r\0" |
| 51 | "-S\0" |
| 52 | "-s\0" |
| 53 | "-T\0" |
| 54 | "-t\0" |
| 55 | "--version\0" |
| 56 | "-V\0" |
| 57 | "-v\0" |
| 58 | "-X\0" |
| 59 | "-x\0" |
| 60 | ; |
| 61 | #ifdef __GNUC__ |
| 62 | #pragma GCC diagnostic pop |
| 63 | #endif |
| 64 | |
| 65 | static constexpr llvm::StringTable OptionStrTable = |
| 66 | OptionStrTableStorage; |
| 67 | #endif // OPTTABLE_STR_TABLE_CODE |
| 68 | |
| 69 | ///////// |
| 70 | // Prefixes |
| 71 | |
| 72 | #ifdef OPTTABLE_PREFIXES_TABLE_CODE |
| 73 | static constexpr llvm::StringTable::Offset OptionPrefixesTable[] = { |
| 74 | 0 /* prefixes */, |
| 75 | 1 /* prefixes */, 1 /* '-' */, |
| 76 | 1 /* prefixes */, 3 /* '--' */ |
| 77 | }; |
| 78 | #endif // OPTTABLE_PREFIXES_TABLE_CODE |
| 79 | |
| 80 | ///////// |
| 81 | // Prefix Union |
| 82 | |
| 83 | #ifdef OPTTABLE_PREFIXES_UNION_CODE |
| 84 | static constexpr llvm::StringTable::Offset OptionPrefixesUnion[] = { |
| 85 | 1 /* '-' */, 3 /* '--' */ |
| 86 | }; |
| 87 | #endif // OPTTABLE_PREFIXES_UNION_CODE |
| 88 | |
| 89 | ///////// |
| 90 | // ValuesCode |
| 91 | |
| 92 | #ifdef OPTTABLE_VALUES_CODE |
| 93 | #endif |
| 94 | ///////// |
| 95 | // Groups |
| 96 | |
| 97 | #ifdef OPTION |
| 98 | OPTION(0 /* no prefixes */, 6 /* kind */, grp_obsolete, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
| 99 | "Obsolete and unsupported flags" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 100 | |
| 101 | ////////// |
| 102 | // Options |
| 103 | |
| 104 | OPTION(0, 11 /* <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) |
| 105 | OPTION(0, 19 /* <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) |
| 106 | OPTION(1, 29 /* -arch */, arch, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 107 | "select slice of universal Mach-O file" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 108 | OPTION(1, 35 /* -B */, anonymous_1, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 109 | "force Thum disassembly (ARM 32-bit objects only)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 110 | OPTION(1, 38 /* -chained_fixups */, chained_fixups, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 111 | "print chained fixup information" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 112 | OPTION(1, 54 /* -C */, C, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 113 | "print linker optimization hints" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 114 | OPTION(1, 57 /* -dyld_info */, dyld_info, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 115 | "print bind and rebase information" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 116 | OPTION(1, 68 /* -D */, D, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 117 | "print shared library id" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 118 | OPTION(1, 71 /* -d */, d, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 119 | "print data section" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 120 | OPTION(1, 74 /* -f */, f, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 121 | "print universal headers" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 122 | OPTION(1, 77 /* -G */, G, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 123 | "print data-in-code table" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 124 | OPTION(3, 80 /* --help-hidden */, help_hidden, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 125 | "print help for hidden flags" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 126 | OPTION(3, 94 /* --help */, help, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 127 | "print help" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 128 | OPTION(1, 101 /* -H */, anonymous_2, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 129 | "print two-level hints table" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 130 | OPTION(1, 104 /* -h */, h, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 131 | "print mach header" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 132 | OPTION(1, 107 /* -I */, I, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 133 | "print indirect symbol table" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 134 | OPTION(1, 110 /* -j */, j, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 135 | "print opcode bytes" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 136 | OPTION(1, 113 /* -L */, L, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 137 | "print used shared libraries" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 138 | OPTION(1, 116 /* -l */, l, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 139 | "print load commnads" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 140 | OPTION(1, 119 /* -mcpu= */, mcpu_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 141 | "select cpu for disassembly" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 142 | OPTION(1, 126 /* -M */, anonymous_3, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 143 | "print module table of shared library" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 144 | OPTION(1, 129 /* -o */, o, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 145 | "print Objective-C segment" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 146 | OPTION(1, 132 /* -P */, P, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 147 | "print __TEXT,__info_plist section as strings" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 148 | OPTION(1, 135 /* -p */, p, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 149 | "start disassembly at <function name>" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<function name>" , nullptr) |
| 150 | OPTION(1, 138 /* -Q */, anonymous_7, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 151 | "llvm-otool cannot use otool-classic's disassembler" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 152 | OPTION(1, 141 /* -q */, anonymous_0, Flag, INVALID, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 153 | "use LLVM's disassembler (default)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 154 | OPTION(1, 144 /* -R */, anonymous_4, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 155 | "print reference table of shared library" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 156 | OPTION(1, 147 /* -r */, r, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 157 | "print relocation entries" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 158 | OPTION(1, 150 /* -S */, anonymous_5, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 159 | "print table of contents of library" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 160 | OPTION(1, 153 /* -s */, s, MultiArg, INVALID, INVALID, nullptr, 0, DefaultVis, 2, |
| 161 | "print contents of section" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<segname> <sectname>" , nullptr) |
| 162 | OPTION(1, 156 /* -T */, anonymous_6, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
| 163 | "print table of contents of shared library" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 164 | OPTION(1, 159 /* -t */, t, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 165 | "print text section" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 166 | OPTION(3, 162 /* --version */, version, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 167 | "print version" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 168 | OPTION(1, 172 /* -V */, V, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 169 | "symbolize disassembled operands (implies -v)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 170 | OPTION(1, 175 /* -v */, v, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 171 | "verbose output / disassemble when printing text sections" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 172 | OPTION(1, 178 /* -X */, X, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 173 | "omit leading addresses or headers" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 174 | OPTION(1, 181 /* -x */, x, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 175 | "print all text sections" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 176 | #endif // OPTION |
| 177 | |
| 178 | #ifdef SIMPLE_ENUM_VALUE_TABLE |
| 179 | |
| 180 | struct SimpleEnumValue { |
| 181 | const char *Name; |
| 182 | unsigned Value; |
| 183 | }; |
| 184 | |
| 185 | struct SimpleEnumValueTable { |
| 186 | const SimpleEnumValue *Table; |
| 187 | unsigned Size; |
| 188 | }; |
| 189 | static const SimpleEnumValueTable SimpleEnumValueTables[] = {}; |
| 190 | static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables); |
| 191 | #endif // SIMPLE_ENUM_VALUE_TABLE |
| 192 | |
| 193 | |
| 194 | |