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_2, {llvm::StringLiteral("-" ) COMMA llvm::StringLiteral("" )}) |
16 | PREFIX(prefix_1, {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_coff, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
40 | "OPTIONS (PE/COFF specific)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
41 | OPTION(llvm::ArrayRef<llvm::StringLiteral>(), "kind" , grp_elf, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
42 | "OPTIONS (ELF specific)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
43 | OPTION(llvm::ArrayRef<llvm::StringLiteral>(), "kind" , grp_mach_o, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
44 | "OPTIONS (Mach-O specific)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
45 | OPTION(llvm::ArrayRef<llvm::StringLiteral>(), "kind" , grp_xcoff, Group, INVALID, INVALID, nullptr, 0, 0, 0, |
46 | "OPTIONS (XCOFF specific)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
47 | |
48 | ////////// |
49 | // Options |
50 | |
51 | 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) |
52 | 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) |
53 | OPTION(prefix_1, "--addrsig" , addrsig, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
54 | "Display address-significance table" , (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, "--all" , all, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
56 | "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::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
57 | OPTION(prefix_1, "--arch-specific" , arch_specific, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
58 | "Display architecture-specific information" , (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, "--auxiliary-header" , auxiliary_header, Flag, grp_xcoff, INVALID, nullptr, 0, DefaultVis, 0, |
60 | "Display the auxiliary header" , (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_2, "-A" , anonymous_19, Flag, INVALID, arch_specific, nullptr, 0, DefaultVis, 0, |
62 | "Alias for --arch-specific" , (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_2, "-a" , anonymous_20, Flag, INVALID, all, nullptr, 0, DefaultVis, 0, |
64 | "Alias for --all" , (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_1, "--bb-addr-map" , bb_addr_map, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
66 | "Display the BB address map section" , (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_1, "--cg-profile" , cg_profile, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
68 | "Display call graph profile section" , (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, "--codeview-ghash" , codeview_ghash, Flag, grp_coff, INVALID, nullptr, 0, DefaultVis, 0, |
70 | "Enable global hashing for CodeView type stream de-duplication" , (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, "--codeview-merged-types" , codeview_merged_types, Flag, grp_coff, INVALID, nullptr, 0, DefaultVis, 0, |
72 | "Display the merged CodeView type stream" , (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, "--codeview-subsection-bytes" , codeview_subsection_bytes, Flag, grp_coff, INVALID, nullptr, 0, DefaultVis, 0, |
74 | "Dump raw contents of codeview debug sections and records" , (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, "--codeview" , codeview, Flag, grp_coff, INVALID, nullptr, 0, DefaultVis, 0, |
76 | "Display CodeView debug information" , (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, "--coff-basereloc" , coff_basereloc, Flag, grp_coff, INVALID, nullptr, 0, DefaultVis, 0, |
78 | "Display .reloc section" , (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, "--coff-debug-directory" , coff_debug_directory, Flag, grp_coff, INVALID, nullptr, 0, DefaultVis, 0, |
80 | "Display debug directory" , (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, "--coff-directives" , coff_directives, Flag, grp_coff, INVALID, nullptr, 0, DefaultVis, 0, |
82 | "Display .drectve section" , (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, "--coff-exports" , coff_exports, Flag, grp_coff, INVALID, nullptr, 0, DefaultVis, 0, |
84 | "Display export table" , (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, "--coff-imports" , coff_imports, Flag, grp_coff, INVALID, nullptr, 0, DefaultVis, 0, |
86 | "Display import table" , (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, "--coff-load-config" , coff_load_config, Flag, grp_coff, INVALID, nullptr, 0, DefaultVis, 0, |
88 | "Display load config" , (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, "--coff-resources" , coff_resources, Flag, grp_coff, INVALID, nullptr, 0, DefaultVis, 0, |
90 | "Display .rsrc section" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
91 | OPTION(prefix_1, "--coff-tls-directory" , coff_tls_directory, Flag, grp_coff, INVALID, nullptr, 0, DefaultVis, 0, |
92 | "Display TLS directory" , (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_2, "-C" , anonymous_21, Flag, INVALID, demangle, nullptr, 0, DefaultVis, 0, |
94 | "Alias for --demangle" , (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, "--decompress" , decompress, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
96 | "Dump decompressed section content when used with -x or -p" , (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, "--demangle" , demangle, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
98 | "Demangle symbol names" , (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, "--dependent-libraries" , dependent_libraries, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
100 | "Display the dependent libraries section" , (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, "--dt" , anonymous_5, Flag, INVALID, dyn_syms, nullptr, 0, DefaultVis, 0, |
102 | "Alias for --dyn-syms" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
103 | OPTION(prefix_1, "--dyn-relocations" , dyn_relocations, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
104 | "Display the dynamic relocation entries in the file" , (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, "--dyn-symbols" , anonymous_9, Flag, INVALID, dyn_syms, nullptr, 0, DefaultVis, 0, |
106 | "Alias for --dyn-syms" , (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_1, "--dyn-syms" , dyn_syms, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
108 | "Display the dynamic 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) |
109 | OPTION(prefix_1, "--dynamic-table" , dynamic_table, Flag, grp_elf, INVALID, nullptr, 0, DefaultVis, 0, |
110 | "Display the dynamic section table" , (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, "--dynamic" , anonymous_10, Flag, INVALID, dynamic_table, nullptr, 0, DefaultVis, 0, |
112 | "Alias for --dynamic-table" , (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_2, "-d" , anonymous_22, Flag, grp_elf, dynamic_table, nullptr, 0, DefaultVis, 0, |
114 | "Alias for --dynamic-table" , (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, "--elf-cg-profile" , anonymous_11, Flag, INVALID, cg_profile, nullptr, HelpHidden, DefaultVis, 0, |
116 | "Alias for --cg-profile" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
117 | OPTION(prefix_1, "--elf-hash-histogram" , anonymous_12, Flag, INVALID, histogram, nullptr, HelpHidden, DefaultVis, 0, |
118 | "Alias for --histogram" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
119 | OPTION(prefix_1, "--elf-linker-options" , elf_linker_options, Flag, grp_elf, INVALID, nullptr, 0, DefaultVis, 0, |
120 | "Display the .linker-options section" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
121 | OPTION(prefix_1, "--elf-output-style=" , elf_output_style_EQ, Joined, grp_elf, INVALID, nullptr, 0, DefaultVis, 0, |
122 | "Specify ELF dump style: LLVM, GNU, JSON" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
123 | OPTION(prefix_1, "--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::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
124 | OPTION(prefix_1, "--elf-section-groups" , anonymous_13, Flag, INVALID, section_groups, nullptr, HelpHidden, DefaultVis, 0, |
125 | "Alias for --section-groups" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
126 | OPTION(prefix_1, "--exception-section" , exception_section, Flag, grp_xcoff, INVALID, nullptr, 0, DefaultVis, 0, |
127 | "Display the exception section entries" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
128 | OPTION(prefix_1, "--expand-relocs" , expand_relocs, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
129 | "Expand each shown relocation to multiple lines" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
130 | OPTION(prefix_1, "--extra-sym-info" , extra_sym_info, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
131 | "Display extra information when showing symbols" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
132 | OPTION(prefix_2, "-e" , anonymous_23, Flag, INVALID, headers, nullptr, 0, DefaultVis, 0, |
133 | "Alias for --headers" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
134 | OPTION(prefix_1, "--file-headers" , anonymous_14, Flag, INVALID, file_header, nullptr, HelpHidden, DefaultVis, 0, |
135 | "Alias for --file-header" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
136 | OPTION(prefix_1, "--file-header" , file_header, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
137 | "Display file header" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
138 | OPTION(prefix_1, "--gnu-hash-table" , gnu_hash_table, Flag, grp_elf, INVALID, nullptr, 0, DefaultVis, 0, |
139 | "Display the GNU hash table for dynamic symbols" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
140 | OPTION(prefix_2, "-g" , anonymous_24, Flag, grp_elf, section_groups, nullptr, 0, DefaultVis, 0, |
141 | "Alias for --section-groups" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
142 | OPTION(prefix_1, "--hash-symbols" , hash_symbols, Flag, grp_elf, INVALID, nullptr, 0, DefaultVis, 0, |
143 | "Display the dynamic symbols derived from the hash section" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
144 | OPTION(prefix_1, "--hash-table" , hash_table, Flag, grp_elf, INVALID, nullptr, 0, DefaultVis, 0, |
145 | "Display .hash section" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
146 | OPTION(prefix_1, "--headers" , headers, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
147 | "Equivalent to setting: --file-header, --program-headers, --section-headers" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
148 | OPTION(prefix_1, "--help" , help, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
149 | "Display this help" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
150 | OPTION(prefix_1, "--hex-dump=" , hex_dump_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
151 | "Display the specified section(s) as hexadecimal bytes" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), "<name or index>" , nullptr) |
152 | OPTION(prefix_1, "--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::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), "<name or index>" , nullptr) |
153 | OPTION(prefix_1, "--histogram" , histogram, Flag, grp_elf, INVALID, nullptr, 0, DefaultVis, 0, |
154 | "Display bucket list histogram for hash sections" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
155 | OPTION(prefix_2, "-h" , anonymous_25, Flag, INVALID, file_header, nullptr, 0, DefaultVis, 0, |
156 | "Alias for --file-header" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
157 | OPTION(prefix_2, "-I" , anonymous_26, Flag, grp_elf, histogram, nullptr, 0, DefaultVis, 0, |
158 | "Alias for --histogram" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
159 | OPTION(prefix_1, "--loader-section-header" , loader_section_header, Flag, grp_xcoff, INVALID, nullptr, 0, DefaultVis, 0, |
160 | "Display the loader section header" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
161 | OPTION(prefix_1, "--loader-section-relocations" , loader_section_relocations, Flag, grp_xcoff, INVALID, nullptr, 0, DefaultVis, 0, |
162 | "Display the loader section 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) |
163 | OPTION(prefix_1, "--loader-section-symbols" , loader_section_symbols, Flag, grp_xcoff, INVALID, nullptr, 0, DefaultVis, 0, |
164 | "Display the loader section 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) |
165 | OPTION(prefix_2, "-l" , anonymous_27, Flag, INVALID, program_headers, nullptr, 0, DefaultVis, 0, |
166 | "Alias for --program-headers" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
167 | OPTION(prefix_1, "--macho-data-in-code" , macho_data_in_code, Flag, grp_mach_o, INVALID, nullptr, 0, DefaultVis, 0, |
168 | "Display Data in Code command" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
169 | OPTION(prefix_1, "--macho-dysymtab" , macho_dysymtab, Flag, grp_mach_o, INVALID, nullptr, 0, DefaultVis, 0, |
170 | "Display Dysymtab command" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
171 | OPTION(prefix_1, "--macho-indirect-symbols" , macho_indirect_symbols, Flag, grp_mach_o, INVALID, nullptr, 0, DefaultVis, 0, |
172 | "Display indirect symbols" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
173 | OPTION(prefix_1, "--macho-linker-options" , macho_linker_options, Flag, grp_mach_o, INVALID, nullptr, 0, DefaultVis, 0, |
174 | "Display linker options" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
175 | OPTION(prefix_1, "--macho-segment" , macho_segment, Flag, grp_mach_o, INVALID, nullptr, 0, DefaultVis, 0, |
176 | "Display Segment command" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
177 | OPTION(prefix_1, "--macho-version-min" , macho_version_min, Flag, grp_mach_o, INVALID, nullptr, 0, DefaultVis, 0, |
178 | "Display version min command" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
179 | OPTION(prefix_1, "--memtag" , memtag, Flag, grp_elf, INVALID, nullptr, 0, DefaultVis, 0, |
180 | "Display memory tagging metadata (modes, Android notes, global descriptors)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
181 | OPTION(prefix_1, "--needed-libs" , needed_libs, Flag, grp_elf, INVALID, nullptr, 0, DefaultVis, 0, |
182 | "Display the needed libraries" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
183 | OPTION(prefix_1, "--no-demangle" , no_demangle, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
184 | "Do not demangle symbol names (default)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
185 | OPTION(prefix_1, "--notes" , notes, Flag, grp_elf, INVALID, nullptr, 0, DefaultVis, 0, |
186 | "Display notes" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
187 | OPTION(prefix_2, "-n" , anonymous_28, Flag, INVALID, notes, nullptr, 0, DefaultVis, 0, |
188 | "Alias for --notes" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
189 | OPTION(prefix_1, "--pretty-pgo-analysis-map" , pretty_pgo_analysis_map, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
190 | "Display PGO analysis values with formatting rather than raw numbers" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
191 | OPTION(prefix_1, "--pretty-print" , pretty_print, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
192 | "Pretty print JSON output" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
193 | OPTION(prefix_1, "--program-headers" , program_headers, Flag, grp_elf, INVALID, nullptr, 0, DefaultVis, 0, |
194 | "Display program headers" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
195 | OPTION(prefix_2, "-p" , anonymous_29, JoinedOrSeparate, INVALID, string_dump_EQ, nullptr, 0, DefaultVis, 0, |
196 | "Alias for --string-dump" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), "<name or index>" , nullptr) |
197 | OPTION(prefix_1, "--relocations" , anonymous_15, Flag, INVALID, relocs, nullptr, 0, DefaultVis, 0, |
198 | "Alias for --relocs" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
199 | OPTION(prefix_1, "--relocs" , relocs, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
200 | "Display the relocation entries in the file" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
201 | OPTION(prefix_2, "-r" , anonymous_30, Flag, INVALID, relocs, nullptr, 0, DefaultVis, 0, |
202 | "Alias for --relocs" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
203 | OPTION(prefix_1, "--sd" , anonymous_6, Flag, INVALID, section_data, nullptr, 0, DefaultVis, 0, |
204 | "Alias for --section-data" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
205 | OPTION(prefix_1, "--section-data" , section_data, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
206 | "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::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
207 | OPTION(prefix_1, "--section-details" , section_details, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
208 | "Display the section details" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
209 | OPTION(prefix_1, "--section-groups" , section_groups, Flag, grp_elf, INVALID, nullptr, 0, DefaultVis, 0, |
210 | "Display section groups" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
211 | OPTION(prefix_1, "--section-headers" , section_headers, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
212 | "Display section headers" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
213 | OPTION(prefix_1, "--section-mapping=false" , section_mapping_EQ_false, Flag, INVALID, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
214 | "Don't display the section to segment mapping" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
215 | OPTION(prefix_1, "--section-mapping" , section_mapping, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
216 | "Display the section to segment mapping" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
217 | OPTION(prefix_1, "--section-relocations" , section_relocations, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
218 | "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::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
219 | OPTION(prefix_1, "--section-symbols" , section_symbols, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
220 | "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::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
221 | OPTION(prefix_1, "--sections" , anonymous_16, Flag, INVALID, section_headers, nullptr, 0, DefaultVis, 0, |
222 | "Alias for --section-headers" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
223 | OPTION(prefix_1, "--segments" , anonymous_17, Flag, grp_elf, program_headers, nullptr, 0, DefaultVis, 0, |
224 | "Alias for --program-headers" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
225 | OPTION(prefix_1, "--sort-symbols=" , sort_symbols_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
226 | "Specify the keys to sort the symbols before displaying symtab" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
227 | OPTION(prefix_1, "--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::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
228 | OPTION(prefix_1, "--sr" , anonymous_8, Flag, INVALID, section_relocations, nullptr, 0, DefaultVis, 0, |
229 | "Alias for --section-relocations" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
230 | OPTION(prefix_1, "--stack-sizes" , stack_sizes, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
231 | "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::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
232 | OPTION(prefix_1, "--stackmap" , stackmap, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
233 | "Display contents of stackmap section" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
234 | OPTION(prefix_1, "--string-dump=" , string_dump_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
235 | "Display the specified section(s) as a list of strings" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), "<name or index>" , nullptr) |
236 | OPTION(prefix_1, "--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::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), "<name or index>" , nullptr) |
237 | OPTION(prefix_1, "--string-table" , string_table, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
238 | "Display the string table (only for XCOFF now)" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
239 | OPTION(prefix_1, "--st" , anonymous_7, Flag, INVALID, section_symbols, nullptr, 0, DefaultVis, 0, |
240 | "Alias for --section-symbols" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
241 | OPTION(prefix_1, "--symbols" , symbols, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
242 | "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::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
243 | OPTION(prefix_1, "--syms" , anonymous_18, Flag, INVALID, symbols, nullptr, 0, DefaultVis, 0, |
244 | "Alias for --symbols" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
245 | OPTION(prefix_2, "-S" , anonymous_31, Flag, INVALID, section_headers, nullptr, 0, DefaultVis, 0, |
246 | "Alias for --section-headers" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
247 | OPTION(prefix_2, "-s" , anonymous_32, Flag, INVALID, symbols, nullptr, 0, DefaultVis, 0, |
248 | "Alias for --symbols" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
249 | OPTION(prefix_2, "-t" , anonymous_33, Flag, INVALID, section_details, nullptr, 0, DefaultVis, 0, |
250 | "Alias for --section-details" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
251 | OPTION(prefix_1, "--unwind" , unwind, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
252 | "Display unwind information" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
253 | OPTION(prefix_2, "-u" , anonymous_34, Flag, INVALID, unwind, nullptr, 0, DefaultVis, 0, |
254 | "Alias for --unwind" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
255 | OPTION(prefix_1, "--version-info" , version_info, Flag, grp_elf, INVALID, nullptr, 0, DefaultVis, 0, |
256 | "Display version sections" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
257 | OPTION(prefix_1, "--version" , version, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
258 | "Display the version" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
259 | OPTION(prefix_2, "-V" , anonymous_36, Flag, grp_elf, version_info, nullptr, 0, DefaultVis, 0, |
260 | "Alias for --version-info" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
261 | OPTION(prefix_1, "--wide" , wide, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
262 | "Ignored for GNU readelf compatibility" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
263 | OPTION(prefix_2, "-W" , anonymous_4, Flag, INVALID, wide, nullptr, 0, DefaultVis, 0, |
264 | "Ignored for GNU readelf compatibility" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
265 | OPTION(prefix_2, "-X" , anonymous_35, Flag, grp_elf, extra_sym_info, nullptr, 0, DefaultVis, 0, |
266 | "Alias for --extra-sym-info" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
267 | OPTION(prefix_2, "-x" , anonymous_37, JoinedOrSeparate, INVALID, hex_dump_EQ, nullptr, 0, DefaultVis, 0, |
268 | "Alias for --hex-dump" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), "<name or index>" , nullptr) |
269 | OPTION(prefix_2, "-z" , anonymous_38, Flag, INVALID, decompress, nullptr, 0, DefaultVis, 0, |
270 | "Alias for --decompress" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
271 | #endif // OPTION |
272 | |
273 | #ifdef SIMPLE_ENUM_VALUE_TABLE |
274 | |
275 | struct SimpleEnumValue { |
276 | const char *Name; |
277 | unsigned Value; |
278 | }; |
279 | |
280 | struct SimpleEnumValueTable { |
281 | const SimpleEnumValue *Table; |
282 | unsigned Size; |
283 | }; |
284 | static const SimpleEnumValueTable SimpleEnumValueTables[] = {}; |
285 | static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables); |
286 | #endif // SIMPLE_ENUM_VALUE_TABLE |
287 | |
288 | |
289 | |