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 ,
14PREFIX(prefix_0, {llvm::StringLiteral("")})
15PREFIX(prefix_1, {llvm::StringLiteral("-") COMMA llvm::StringLiteral("")})
16PREFIX(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 ,
25PREFIX_UNION({
26llvm::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
39OPTION(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
45OPTION(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)
46OPTION(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)
47OPTION(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)
49OPTION(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)
51OPTION(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)
53OPTION(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)
55OPTION(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)
57OPTION(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)
59OPTION(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)
61OPTION(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)
63OPTION(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)
65OPTION(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)
67OPTION(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)
69OPTION(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)
71OPTION(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)
73OPTION(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)
75OPTION(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)
77OPTION(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)
79OPTION(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)
81OPTION(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)
83OPTION(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)
85OPTION(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)
87OPTION(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)
89OPTION(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)
91OPTION(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)
93OPTION(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)
95OPTION(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)
97OPTION(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)
99OPTION(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)
101OPTION(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)
103OPTION(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)
105OPTION(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)
107OPTION(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)
109OPTION(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)
111OPTION(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)
113OPTION(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)
115OPTION(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
121struct SimpleEnumValue {
122 const char *Name;
123 unsigned Value;
124};
125
126struct SimpleEnumValueTable {
127 const SimpleEnumValue *Table;
128 unsigned Size;
129};
130static const SimpleEnumValueTable SimpleEnumValueTables[] = {};
131static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables);
132#endif // SIMPLE_ENUM_VALUE_TABLE
133
134
135