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
18static constexpr char OptionStrTableStorage[] =
19 "\0"
20 "-\0"
21 "--\0"
22 "kind\0"
23 "<input>\0"
24 "<unknown>\0"
25 "--addrsig\0"
26 "--all\0"
27 "--arch-specific\0"
28 "--auxiliary-header\0"
29 "-A\0"
30 "-a\0"
31 "--bb-addr-map\0"
32 "--cg-profile\0"
33 "--codeview-ghash\0"
34 "--codeview-merged-types\0"
35 "--codeview-subsection-bytes\0"
36 "--codeview\0"
37 "--coff-basereloc\0"
38 "--coff-debug-directory\0"
39 "--coff-directives\0"
40 "--coff-exports\0"
41 "--coff-imports\0"
42 "--coff-load-config\0"
43 "--coff-resources\0"
44 "--coff-tls-directory\0"
45 "-C\0"
46 "--decompress\0"
47 "--demangle\0"
48 "--dependent-libraries\0"
49 "--dt\0"
50 "--dyn-relocations\0"
51 "--dyn-symbols\0"
52 "--dyn-syms\0"
53 "--dynamic-table\0"
54 "--dynamic\0"
55 "-d\0"
56 "--elf-cg-profile\0"
57 "--elf-hash-histogram\0"
58 "--elf-linker-options\0"
59 "--elf-output-style=\0"
60 "--elf-output-style\0"
61 "--elf-section-groups\0"
62 "--exception-section\0"
63 "--expand-relocs\0"
64 "--extra-sym-info\0"
65 "-e\0"
66 "--file-headers\0"
67 "--file-header\0"
68 "--gnu-hash-table\0"
69 "-g\0"
70 "--hash-symbols\0"
71 "--hash-table\0"
72 "--headers\0"
73 "--help\0"
74 "--hex-dump=\0"
75 "--hex-dump\0"
76 "--histogram\0"
77 "-h\0"
78 "-I\0"
79 "--loader-section-header\0"
80 "--loader-section-relocations\0"
81 "--loader-section-symbols\0"
82 "-l\0"
83 "--macho-data-in-code\0"
84 "--macho-dysymtab\0"
85 "--macho-indirect-symbols\0"
86 "--macho-linker-options\0"
87 "--macho-segment\0"
88 "--macho-version-min\0"
89 "--memtag\0"
90 "--needed-libs\0"
91 "--no-demangle\0"
92 "--notes\0"
93 "-n\0"
94 "--pretty-pgo-analysis-map\0"
95 "--pretty-print\0"
96 "--program-headers\0"
97 "-p\0"
98 "--relocations\0"
99 "--relocs\0"
100 "-r\0"
101 "--sd\0"
102 "--section-data\0"
103 "--section-details\0"
104 "--section-groups\0"
105 "--section-headers\0"
106 "--section-mapping=false\0"
107 "--section-mapping\0"
108 "--section-relocations\0"
109 "--section-symbols\0"
110 "--sections\0"
111 "--segments\0"
112 "--sort-symbols=\0"
113 "--sort-symbols\0"
114 "--sr\0"
115 "--stack-sizes\0"
116 "--stackmap\0"
117 "--string-dump=\0"
118 "--string-dump\0"
119 "--string-table\0"
120 "--st\0"
121 "--symbols\0"
122 "--syms\0"
123 "-S\0"
124 "-s\0"
125 "-t\0"
126 "--unwind\0"
127 "-u\0"
128 "--version-info\0"
129 "--version\0"
130 "-V\0"
131 "--wide\0"
132 "-W\0"
133 "-X\0"
134 "-x\0"
135 "-z\0"
136 ;
137#ifdef __GNUC__
138#pragma GCC diagnostic pop
139#endif
140
141static constexpr llvm::StringTable OptionStrTable =
142 OptionStrTableStorage;
143#endif // OPTTABLE_STR_TABLE_CODE
144
145/////////
146// Prefixes
147
148#ifdef OPTTABLE_PREFIXES_TABLE_CODE
149static constexpr llvm::StringTable::Offset OptionPrefixesTable[] = {
150 0 /* prefixes */,
151 1 /* prefixes */, 1 /* '-' */,
152 1 /* prefixes */, 3 /* '--' */
153};
154#endif // OPTTABLE_PREFIXES_TABLE_CODE
155
156/////////
157// Prefix Union
158
159#ifdef OPTTABLE_PREFIXES_UNION_CODE
160static constexpr llvm::StringTable::Offset OptionPrefixesUnion[] = {
161 1 /* '-' */, 3 /* '--' */
162};
163#endif // OPTTABLE_PREFIXES_UNION_CODE
164
165/////////
166// ValuesCode
167
168#ifdef OPTTABLE_VALUES_CODE
169#endif
170/////////
171// Groups
172
173#ifdef OPTION
174OPTION(0 /* no prefixes */, 6 /* kind */, grp_coff, Group, INVALID, INVALID, nullptr, 0, 0, 0,
175 "OPTIONS (PE/COFF specific)", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
176OPTION(0 /* no prefixes */, 6 /* kind */, grp_elf, Group, INVALID, INVALID, nullptr, 0, 0, 0,
177 "OPTIONS (ELF specific)", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
178OPTION(0 /* no prefixes */, 6 /* kind */, grp_mach_o, Group, INVALID, INVALID, nullptr, 0, 0, 0,
179 "OPTIONS (Mach-O specific)", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
180OPTION(0 /* no prefixes */, 6 /* kind */, grp_xcoff, Group, INVALID, INVALID, nullptr, 0, 0, 0,
181 "OPTIONS (XCOFF specific)", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
182
183//////////
184// Options
185
186OPTION(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)
187OPTION(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)
188OPTION(3, 29 /* --addrsig */, addrsig, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
189 "Display address-significance table", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
190OPTION(3, 39 /* --all */, all, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
191 "Equivalent to setting: --file-header, --program-headers, --section-headers, --symbols, --relocations, --dynamic-table, --notes, --version-info, --unwind, --section-groups and --histogram", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
192OPTION(3, 45 /* --arch-specific */, arch_specific, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
193 "Display architecture-specific information", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
194OPTION(3, 61 /* --auxiliary-header */, auxiliary_header, Flag, grp_xcoff, INVALID, nullptr, 0, DefaultVis, 0,
195 "Display the auxiliary header", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
196OPTION(1, 80 /* -A */, anonymous_19, Flag, INVALID, arch_specific, nullptr, 0, DefaultVis, 0,
197 "Alias for --arch-specific", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
198OPTION(1, 83 /* -a */, anonymous_20, Flag, INVALID, all, nullptr, 0, DefaultVis, 0,
199 "Alias for --all", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
200OPTION(3, 86 /* --bb-addr-map */, bb_addr_map, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
201 "Display the BB address map section", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
202OPTION(3, 100 /* --cg-profile */, cg_profile, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
203 "Display call graph profile section", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
204OPTION(3, 113 /* --codeview-ghash */, codeview_ghash, Flag, grp_coff, INVALID, nullptr, 0, DefaultVis, 0,
205 "Enable global hashing for CodeView type stream de-duplication", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
206OPTION(3, 130 /* --codeview-merged-types */, codeview_merged_types, Flag, grp_coff, INVALID, nullptr, 0, DefaultVis, 0,
207 "Display the merged CodeView type stream", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
208OPTION(3, 154 /* --codeview-subsection-bytes */, codeview_subsection_bytes, Flag, grp_coff, INVALID, nullptr, 0, DefaultVis, 0,
209 "Dump raw contents of codeview debug sections and records", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
210OPTION(3, 182 /* --codeview */, codeview, Flag, grp_coff, INVALID, nullptr, 0, DefaultVis, 0,
211 "Display CodeView debug information", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
212OPTION(3, 193 /* --coff-basereloc */, coff_basereloc, Flag, grp_coff, INVALID, nullptr, 0, DefaultVis, 0,
213 "Display .reloc section", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
214OPTION(3, 210 /* --coff-debug-directory */, coff_debug_directory, Flag, grp_coff, INVALID, nullptr, 0, DefaultVis, 0,
215 "Display debug directory", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
216OPTION(3, 233 /* --coff-directives */, coff_directives, Flag, grp_coff, INVALID, nullptr, 0, DefaultVis, 0,
217 "Display .drectve section", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
218OPTION(3, 251 /* --coff-exports */, coff_exports, Flag, grp_coff, INVALID, nullptr, 0, DefaultVis, 0,
219 "Display export table", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
220OPTION(3, 266 /* --coff-imports */, coff_imports, Flag, grp_coff, INVALID, nullptr, 0, DefaultVis, 0,
221 "Display import table", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
222OPTION(3, 281 /* --coff-load-config */, coff_load_config, Flag, grp_coff, INVALID, nullptr, 0, DefaultVis, 0,
223 "Display load config", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
224OPTION(3, 300 /* --coff-resources */, coff_resources, Flag, grp_coff, INVALID, nullptr, 0, DefaultVis, 0,
225 "Display .rsrc section", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
226OPTION(3, 317 /* --coff-tls-directory */, coff_tls_directory, Flag, grp_coff, INVALID, nullptr, 0, DefaultVis, 0,
227 "Display TLS directory", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
228OPTION(1, 338 /* -C */, anonymous_21, Flag, INVALID, demangle, nullptr, 0, DefaultVis, 0,
229 "Alias for --demangle", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
230OPTION(3, 341 /* --decompress */, decompress, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
231 "Dump decompressed section content when used with -x or -p", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
232OPTION(3, 354 /* --demangle */, demangle, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
233 "Demangle symbol names", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
234OPTION(3, 365 /* --dependent-libraries */, dependent_libraries, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
235 "Display the dependent libraries section", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
236OPTION(3, 387 /* --dt */, anonymous_5, Flag, INVALID, dyn_syms, nullptr, 0, DefaultVis, 0,
237 "Alias for --dyn-syms", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
238OPTION(3, 392 /* --dyn-relocations */, dyn_relocations, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
239 "Display the dynamic relocation entries in the file", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
240OPTION(3, 410 /* --dyn-symbols */, anonymous_9, Flag, INVALID, dyn_syms, nullptr, 0, DefaultVis, 0,
241 "Alias for --dyn-syms", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
242OPTION(3, 424 /* --dyn-syms */, dyn_syms, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
243 "Display the dynamic symbol table", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
244OPTION(3, 435 /* --dynamic-table */, dynamic_table, Flag, grp_elf, INVALID, nullptr, 0, DefaultVis, 0,
245 "Display the dynamic section table", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
246OPTION(3, 451 /* --dynamic */, anonymous_10, Flag, INVALID, dynamic_table, nullptr, 0, DefaultVis, 0,
247 "Alias for --dynamic-table", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
248OPTION(1, 461 /* -d */, anonymous_22, Flag, grp_elf, dynamic_table, nullptr, 0, DefaultVis, 0,
249 "Alias for --dynamic-table", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
250OPTION(3, 464 /* --elf-cg-profile */, anonymous_11, Flag, INVALID, cg_profile, nullptr, HelpHidden, DefaultVis, 0,
251 "Alias for --cg-profile", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
252OPTION(3, 481 /* --elf-hash-histogram */, anonymous_12, Flag, INVALID, histogram, nullptr, HelpHidden, DefaultVis, 0,
253 "Alias for --histogram", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
254OPTION(3, 502 /* --elf-linker-options */, elf_linker_options, Flag, grp_elf, INVALID, nullptr, 0, DefaultVis, 0,
255 "Display the .linker-options section", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
256OPTION(3, 523 /* --elf-output-style= */, elf_output_style_EQ, Joined, grp_elf, INVALID, nullptr, 0, DefaultVis, 0,
257 "Specify ELF dump style: LLVM, GNU, JSON", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
258OPTION(3, 543 /* --elf-output-style */, anonymous_3, Separate, grp_elf, elf_output_style_EQ, 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)
259OPTION(3, 562 /* --elf-section-groups */, anonymous_13, Flag, INVALID, section_groups, nullptr, HelpHidden, DefaultVis, 0,
260 "Alias for --section-groups", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
261OPTION(3, 583 /* --exception-section */, exception_section, Flag, grp_xcoff, INVALID, nullptr, 0, DefaultVis, 0,
262 "Display the exception section entries", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
263OPTION(3, 603 /* --expand-relocs */, expand_relocs, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
264 "Expand each shown relocation to multiple lines", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
265OPTION(3, 619 /* --extra-sym-info */, extra_sym_info, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
266 "Display extra information when showing symbols", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
267OPTION(1, 636 /* -e */, anonymous_23, Flag, INVALID, headers, nullptr, 0, DefaultVis, 0,
268 "Alias for --headers", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
269OPTION(3, 639 /* --file-headers */, anonymous_14, Flag, INVALID, file_header, nullptr, HelpHidden, DefaultVis, 0,
270 "Alias for --file-header", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
271OPTION(3, 654 /* --file-header */, file_header, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
272 "Display file header", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
273OPTION(3, 668 /* --gnu-hash-table */, gnu_hash_table, Flag, grp_elf, INVALID, nullptr, 0, DefaultVis, 0,
274 "Display the GNU hash table for dynamic symbols", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
275OPTION(1, 685 /* -g */, anonymous_24, Flag, grp_elf, section_groups, nullptr, 0, DefaultVis, 0,
276 "Alias for --section-groups", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
277OPTION(3, 688 /* --hash-symbols */, hash_symbols, Flag, grp_elf, INVALID, nullptr, 0, DefaultVis, 0,
278 "Display the dynamic symbols derived from the hash section", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
279OPTION(3, 703 /* --hash-table */, hash_table, Flag, grp_elf, INVALID, nullptr, 0, DefaultVis, 0,
280 "Display .hash section", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
281OPTION(3, 716 /* --headers */, headers, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
282 "Equivalent to setting: --file-header, --program-headers, --section-headers", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
283OPTION(3, 726 /* --help */, help, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
284 "Display this help", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
285OPTION(3, 733 /* --hex-dump= */, hex_dump_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
286 "Display the specified section(s) as hexadecimal bytes", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<name or index>", nullptr)
287OPTION(3, 745 /* --hex-dump */, anonymous_0, Separate, INVALID, hex_dump_EQ, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<name or index>", nullptr)
288OPTION(3, 756 /* --histogram */, histogram, Flag, grp_elf, INVALID, nullptr, 0, DefaultVis, 0,
289 "Display bucket list histogram for hash sections", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
290OPTION(1, 768 /* -h */, anonymous_25, Flag, INVALID, file_header, nullptr, 0, DefaultVis, 0,
291 "Alias for --file-header", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
292OPTION(1, 771 /* -I */, anonymous_26, Flag, grp_elf, histogram, nullptr, 0, DefaultVis, 0,
293 "Alias for --histogram", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
294OPTION(3, 774 /* --loader-section-header */, loader_section_header, Flag, grp_xcoff, INVALID, nullptr, 0, DefaultVis, 0,
295 "Display the loader section header", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
296OPTION(3, 798 /* --loader-section-relocations */, loader_section_relocations, Flag, grp_xcoff, INVALID, nullptr, 0, DefaultVis, 0,
297 "Display the loader section relocation entries", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
298OPTION(3, 827 /* --loader-section-symbols */, loader_section_symbols, Flag, grp_xcoff, INVALID, nullptr, 0, DefaultVis, 0,
299 "Display the loader section symbol table", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
300OPTION(1, 852 /* -l */, anonymous_27, Flag, INVALID, program_headers, nullptr, 0, DefaultVis, 0,
301 "Alias for --program-headers", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
302OPTION(3, 855 /* --macho-data-in-code */, macho_data_in_code, Flag, grp_mach_o, INVALID, nullptr, 0, DefaultVis, 0,
303 "Display Data in Code command", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
304OPTION(3, 876 /* --macho-dysymtab */, macho_dysymtab, Flag, grp_mach_o, INVALID, nullptr, 0, DefaultVis, 0,
305 "Display Dysymtab command", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
306OPTION(3, 893 /* --macho-indirect-symbols */, macho_indirect_symbols, Flag, grp_mach_o, INVALID, nullptr, 0, DefaultVis, 0,
307 "Display indirect symbols", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
308OPTION(3, 918 /* --macho-linker-options */, macho_linker_options, Flag, grp_mach_o, INVALID, nullptr, 0, DefaultVis, 0,
309 "Display linker options", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
310OPTION(3, 941 /* --macho-segment */, macho_segment, Flag, grp_mach_o, INVALID, nullptr, 0, DefaultVis, 0,
311 "Display Segment command", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
312OPTION(3, 957 /* --macho-version-min */, macho_version_min, Flag, grp_mach_o, INVALID, nullptr, 0, DefaultVis, 0,
313 "Display version min command", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
314OPTION(3, 977 /* --memtag */, memtag, Flag, grp_elf, INVALID, nullptr, 0, DefaultVis, 0,
315 "Display memory tagging metadata (modes, Android notes, global descriptors)", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
316OPTION(3, 986 /* --needed-libs */, needed_libs, Flag, grp_elf, INVALID, nullptr, 0, DefaultVis, 0,
317 "Display the needed libraries", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
318OPTION(3, 1000 /* --no-demangle */, no_demangle, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
319 "Do not demangle symbol names (default)", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
320OPTION(3, 1014 /* --notes */, notes, Flag, grp_elf, INVALID, nullptr, 0, DefaultVis, 0,
321 "Display notes", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
322OPTION(1, 1022 /* -n */, anonymous_28, Flag, INVALID, notes, nullptr, 0, DefaultVis, 0,
323 "Alias for --notes", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
324OPTION(3, 1025 /* --pretty-pgo-analysis-map */, pretty_pgo_analysis_map, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
325 "Display PGO analysis values with formatting rather than raw numbers", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
326OPTION(3, 1051 /* --pretty-print */, pretty_print, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
327 "Pretty print JSON output", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
328OPTION(3, 1066 /* --program-headers */, program_headers, Flag, grp_elf, INVALID, nullptr, 0, DefaultVis, 0,
329 "Display program headers", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
330OPTION(1, 1084 /* -p */, anonymous_29, JoinedOrSeparate, INVALID, string_dump_EQ, nullptr, 0, DefaultVis, 0,
331 "Alias for --string-dump", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<name or index>", nullptr)
332OPTION(3, 1087 /* --relocations */, anonymous_15, Flag, INVALID, relocs, nullptr, 0, DefaultVis, 0,
333 "Alias for --relocs", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
334OPTION(3, 1101 /* --relocs */, relocs, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
335 "Display the relocation entries in the file", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
336OPTION(1, 1110 /* -r */, anonymous_30, Flag, INVALID, relocs, nullptr, 0, DefaultVis, 0,
337 "Alias for --relocs", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
338OPTION(3, 1113 /* --sd */, anonymous_6, Flag, INVALID, section_data, nullptr, 0, DefaultVis, 0,
339 "Alias for --section-data", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
340OPTION(3, 1118 /* --section-data */, section_data, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
341 "Display section data for each section shown. This option has no effect for GNU style output", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
342OPTION(3, 1133 /* --section-details */, section_details, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
343 "Display the section details", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
344OPTION(3, 1151 /* --section-groups */, section_groups, Flag, grp_elf, INVALID, nullptr, 0, DefaultVis, 0,
345 "Display section groups", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
346OPTION(3, 1168 /* --section-headers */, section_headers, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
347 "Display section headers", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
348OPTION(3, 1186 /* --section-mapping=false */, section_mapping_EQ_false, Flag, INVALID, INVALID, nullptr, HelpHidden, DefaultVis, 0,
349 "Don't display the section to segment mapping", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
350OPTION(3, 1210 /* --section-mapping */, section_mapping, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
351 "Display the section to segment mapping", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
352OPTION(3, 1228 /* --section-relocations */, section_relocations, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
353 "Display relocations for each section shown. This option has no effect for GNU style output", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
354OPTION(3, 1250 /* --section-symbols */, section_symbols, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
355 "Display symbols for each section shown. This option has no effect for GNU style output", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
356OPTION(3, 1268 /* --sections */, anonymous_16, Flag, INVALID, section_headers, nullptr, 0, DefaultVis, 0,
357 "Alias for --section-headers", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
358OPTION(3, 1279 /* --segments */, anonymous_17, Flag, grp_elf, program_headers, nullptr, 0, DefaultVis, 0,
359 "Alias for --program-headers", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
360OPTION(3, 1290 /* --sort-symbols= */, sort_symbols_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
361 "Specify the keys to sort the symbols before displaying symtab", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
362OPTION(3, 1306 /* --sort-symbols */, anonymous_1, Separate, INVALID, sort_symbols_EQ, 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)
363OPTION(3, 1321 /* --sr */, anonymous_8, Flag, INVALID, section_relocations, nullptr, 0, DefaultVis, 0,
364 "Alias for --section-relocations", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
365OPTION(3, 1326 /* --stack-sizes */, stack_sizes, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
366 "Display contents of all stack sizes sections. This option has no effect for GNU style output", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
367OPTION(3, 1340 /* --stackmap */, stackmap, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
368 "Display contents of stackmap section", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
369OPTION(3, 1351 /* --string-dump= */, string_dump_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
370 "Display the specified section(s) as a list of strings", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<name or index>", nullptr)
371OPTION(3, 1366 /* --string-dump */, anonymous_2, Separate, INVALID, string_dump_EQ, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<name or index>", nullptr)
372OPTION(3, 1380 /* --string-table */, string_table, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
373 "Display the string table (only for XCOFF/COFF now)", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
374OPTION(3, 1395 /* --st */, anonymous_7, Flag, INVALID, section_symbols, nullptr, 0, DefaultVis, 0,
375 "Alias for --section-symbols", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
376OPTION(3, 1400 /* --symbols */, symbols, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
377 "Display the symbol table. Also display the dynamic symbol table when using GNU output style for ELF", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
378OPTION(3, 1410 /* --syms */, anonymous_18, Flag, INVALID, symbols, nullptr, 0, DefaultVis, 0,
379 "Alias for --symbols", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
380OPTION(1, 1417 /* -S */, anonymous_31, Flag, INVALID, section_headers, nullptr, 0, DefaultVis, 0,
381 "Alias for --section-headers", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
382OPTION(1, 1420 /* -s */, anonymous_32, Flag, INVALID, symbols, nullptr, 0, DefaultVis, 0,
383 "Alias for --symbols", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
384OPTION(1, 1423 /* -t */, anonymous_33, Flag, INVALID, section_details, nullptr, 0, DefaultVis, 0,
385 "Alias for --section-details", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
386OPTION(3, 1426 /* --unwind */, unwind, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
387 "Display unwind information", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
388OPTION(1, 1435 /* -u */, anonymous_34, Flag, INVALID, unwind, nullptr, 0, DefaultVis, 0,
389 "Alias for --unwind", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
390OPTION(3, 1438 /* --version-info */, version_info, Flag, grp_elf, INVALID, nullptr, 0, DefaultVis, 0,
391 "Display version sections", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
392OPTION(3, 1453 /* --version */, version, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
393 "Display the version", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
394OPTION(1, 1463 /* -V */, anonymous_36, Flag, grp_elf, version_info, nullptr, 0, DefaultVis, 0,
395 "Alias for --version-info", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
396OPTION(3, 1466 /* --wide */, wide, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
397 "Ignored for GNU readelf compatibility", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
398OPTION(1, 1473 /* -W */, anonymous_4, Flag, INVALID, wide, nullptr, 0, DefaultVis, 0,
399 "Ignored for GNU readelf compatibility", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
400OPTION(1, 1476 /* -X */, anonymous_35, Flag, grp_elf, extra_sym_info, nullptr, 0, DefaultVis, 0,
401 "Alias for --extra-sym-info", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
402OPTION(1, 1479 /* -x */, anonymous_37, JoinedOrSeparate, INVALID, hex_dump_EQ, nullptr, 0, DefaultVis, 0,
403 "Alias for --hex-dump", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<name or index>", nullptr)
404OPTION(1, 1482 /* -z */, anonymous_38, Flag, INVALID, decompress, nullptr, 0, DefaultVis, 0,
405 "Alias for --decompress", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
406#endif // OPTION
407
408#ifdef SIMPLE_ENUM_VALUE_TABLE
409
410struct SimpleEnumValue {
411 const char *Name;
412 unsigned Value;
413};
414
415struct SimpleEnumValueTable {
416 const SimpleEnumValue *Table;
417 unsigned Size;
418};
419static const SimpleEnumValueTable SimpleEnumValueTables[] = {};
420static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables);
421#endif // SIMPLE_ENUM_VALUE_TABLE
422
423
424