1 | /*===- TableGen'erated file -------------------------------------*- C++ -*-===*\ |
2 | |* *| |
3 | |* Option Parsing Definitions *| |
4 | |* *| |
5 | |* Automatically generated file, do not edit! *| |
6 | |* *| |
7 | \*===----------------------------------------------------------------------===*/ |
8 | |
9 | ///////// |
10 | // Prefixes |
11 | |
12 | #ifdef PREFIX |
13 | #define COMMA , |
14 | PREFIX(prefix_0, {llvm::StringLiteral("" )}) |
15 | PREFIX(prefix_1, {llvm::StringLiteral("-" ) COMMA llvm::StringLiteral("" )}) |
16 | PREFIX(prefix_2, {llvm::StringLiteral("--" ) COMMA llvm::StringLiteral("" )}) |
17 | #undef COMMA |
18 | #endif // PREFIX |
19 | |
20 | ///////// |
21 | // Prefix Union |
22 | |
23 | #ifdef PREFIX_UNION |
24 | #define COMMA , |
25 | PREFIX_UNION({ |
26 | llvm::StringLiteral("-" ) COMMA llvm::StringLiteral("--" ) COMMA llvm::StringLiteral("" )}) |
27 | #undef COMMA |
28 | #endif // PREFIX_UNION |
29 | |
30 | ///////// |
31 | // ValuesCode |
32 | |
33 | #ifdef OPTTABLE_VALUES_CODE |
34 | #endif |
35 | ///////// |
36 | // Groups |
37 | |
38 | #ifdef OPTION |
39 | OPTION(llvm::ArrayRef<llvm::StringLiteral>(), "kind" , grp_obsolete, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
40 | "Obsolete and unsupported flags" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
41 | |
42 | ////////// |
43 | // Options |
44 | |
45 | OPTION(prefix_0, "<input>" , INPUT, Input, INVALID, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
46 | OPTION(prefix_0, "<unknown>" , UNKNOWN, Unknown, INVALID, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
47 | OPTION(prefix_1, "-arch" , arch, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
48 | "select slice of universal Mach-O file" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
49 | OPTION(prefix_1, "-B" , anonymous_1, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
50 | "force Thum disassembly (ARM 32-bit objects only)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
51 | OPTION(prefix_1, "-chained_fixups" , chained_fixups, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
52 | "print chained fixup information" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
53 | OPTION(prefix_1, "-C" , C, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
54 | "print linker optimization hints" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
55 | OPTION(prefix_1, "-dyld_info" , dyld_info, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
56 | "print bind and rebase information" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
57 | OPTION(prefix_1, "-D" , D, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
58 | "print shared library id" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
59 | OPTION(prefix_1, "-d" , d, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
60 | "print data section" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
61 | OPTION(prefix_1, "-f" , f, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
62 | "print universal headers" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
63 | OPTION(prefix_1, "-G" , G, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
64 | "print data-in-code table" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
65 | OPTION(prefix_2, "--help-hidden" , help_hidden, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
66 | "print help for hidden flags" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
67 | OPTION(prefix_2, "--help" , help, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
68 | "print help" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
69 | OPTION(prefix_1, "-H" , anonymous_2, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
70 | "print two-level hints table" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
71 | OPTION(prefix_1, "-h" , h, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
72 | "print mach header" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
73 | OPTION(prefix_1, "-I" , I, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
74 | "print indirect symbol table" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
75 | OPTION(prefix_1, "-j" , j, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
76 | "print opcode bytes" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
77 | OPTION(prefix_1, "-L" , L, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
78 | "print used shared libraries" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
79 | OPTION(prefix_1, "-l" , l, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
80 | "print load commnads" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
81 | OPTION(prefix_1, "-mcpu=" , mcpu_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
82 | "select cpu for disassembly" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
83 | OPTION(prefix_1, "-M" , anonymous_3, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
84 | "print module table of shared library" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
85 | OPTION(prefix_1, "-o" , o, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
86 | "print Objective-C segment" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
87 | OPTION(prefix_1, "-P" , P, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
88 | "print __TEXT,__info_plist section as strings" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
89 | OPTION(prefix_1, "-p" , p, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
90 | "start disassembly at <function name>" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), "<function name>" , nullptr) |
91 | OPTION(prefix_1, "-Q" , anonymous_7, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
92 | "llvm-otool cannot use otool-classic's disassembler" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
93 | OPTION(prefix_1, "-q" , anonymous_0, Flag, INVALID, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
94 | "use LLVM's disassembler (default)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
95 | OPTION(prefix_1, "-R" , anonymous_4, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
96 | "print reference table of shared library" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
97 | OPTION(prefix_1, "-r" , r, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
98 | "print relocation entries" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
99 | OPTION(prefix_1, "-S" , anonymous_5, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
100 | "print table of contents of library" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
101 | OPTION(prefix_1, "-s" , s, MultiArg, INVALID, INVALID, nullptr, 0, DefaultVis, 2, |
102 | "print contents of section" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), "<segname> <sectname>" , nullptr) |
103 | OPTION(prefix_1, "-T" , anonymous_6, Flag, grp_obsolete, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
104 | "print table of contents of shared library" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
105 | OPTION(prefix_1, "-t" , t, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
106 | "print text section" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
107 | OPTION(prefix_2, "--version" , version, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
108 | "print version" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
109 | OPTION(prefix_1, "-V" , V, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
110 | "symbolize disassembled operands (implies -v)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
111 | OPTION(prefix_1, "-v" , v, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
112 | "verbose output / disassemble when printing text sections" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
113 | OPTION(prefix_1, "-X" , X, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
114 | "omit leading addresses or headers" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
115 | OPTION(prefix_1, "-x" , x, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
116 | "print all text sections" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
117 | #endif // OPTION |
118 | |
119 | #ifdef SIMPLE_ENUM_VALUE_TABLE |
120 | |
121 | struct SimpleEnumValue { |
122 | const char *Name; |
123 | unsigned Value; |
124 | }; |
125 | |
126 | struct SimpleEnumValueTable { |
127 | const SimpleEnumValue *Table; |
128 | unsigned Size; |
129 | }; |
130 | static const SimpleEnumValueTable SimpleEnumValueTables[] = {}; |
131 | static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables); |
132 | #endif // SIMPLE_ENUM_VALUE_TABLE |
133 | |
134 | |
135 | |