Lines Matching refs:cl
93 cl::SubCommand RawSubcommand("raw", "Dump raw structure of the PDB file");
94 cl::SubCommand
97 cl::SubCommand
100 cl::SubCommand
104 cl::OptionCategory TypeCategory("Symbol Type Options");
105 cl::OptionCategory FilterCategory("Filtering Options");
106 cl::OptionCategory OtherOptions("Other Options");
109 cl::list<std::string> InputFilenames(cl::Positional,
110 cl::desc("<input PDB files>"),
111 cl::OneOrMore, cl::sub(PrettySubcommand));
113 cl::opt<bool> Compilands("compilands", cl::desc("Display compilands"),
114 cl::cat(TypeCategory), cl::sub(PrettySubcommand));
115 cl::opt<bool> Symbols("symbols", cl::desc("Display symbols for each compiland"),
116 cl::cat(TypeCategory), cl::sub(PrettySubcommand));
117 cl::opt<bool> Globals("globals", cl::desc("Dump global symbols"),
118 cl::cat(TypeCategory), cl::sub(PrettySubcommand));
119 cl::opt<bool> Externals("externals", cl::desc("Dump external symbols"),
120 cl::cat(TypeCategory), cl::sub(PrettySubcommand));
121 cl::opt<bool> Types("types", cl::desc("Display types"), cl::cat(TypeCategory),
122 cl::sub(PrettySubcommand));
123 cl::opt<bool> Lines("lines", cl::desc("Line tables"), cl::cat(TypeCategory),
124 cl::sub(PrettySubcommand));
125 cl::opt<bool>
126 All("all", cl::desc("Implies all other options in 'Symbol Types' category"),
127 cl::cat(TypeCategory), cl::sub(PrettySubcommand));
129 cl::opt<uint64_t> LoadAddress(
131 cl::desc("Assume the module is loaded at the specified address"),
132 cl::cat(OtherOptions), cl::sub(PrettySubcommand));
133 cl::list<std::string> ExcludeTypes(
134 "exclude-types", cl::desc("Exclude types by regular expression"),
135 cl::ZeroOrMore, cl::cat(FilterCategory), cl::sub(PrettySubcommand));
136 cl::list<std::string> ExcludeSymbols(
137 "exclude-symbols", cl::desc("Exclude symbols by regular expression"),
138 cl::ZeroOrMore, cl::cat(FilterCategory), cl::sub(PrettySubcommand));
139 cl::list<std::string> ExcludeCompilands(
140 "exclude-compilands", cl::desc("Exclude compilands by regular expression"),
141 cl::ZeroOrMore, cl::cat(FilterCategory), cl::sub(PrettySubcommand));
143 cl::list<std::string> IncludeTypes(
145 cl::desc("Include only types which match a regular expression"),
146 cl::ZeroOrMore, cl::cat(FilterCategory), cl::sub(PrettySubcommand));
147 cl::list<std::string> IncludeSymbols(
149 cl::desc("Include only symbols which match a regular expression"),
150 cl::ZeroOrMore, cl::cat(FilterCategory), cl::sub(PrettySubcommand));
151 cl::list<std::string> IncludeCompilands(
153 cl::desc("Include only compilands those which match a regular expression"),
154 cl::ZeroOrMore, cl::cat(FilterCategory), cl::sub(PrettySubcommand));
156 cl::opt<bool> ExcludeCompilerGenerated(
158 cl::desc("Don't show compiler generated types and symbols"),
159 cl::cat(FilterCategory), cl::sub(PrettySubcommand));
160 cl::opt<bool>
162 cl::desc("Don't show symbols from system libraries"),
163 cl::cat(FilterCategory), cl::sub(PrettySubcommand));
164 cl::opt<bool> NoClassDefs("no-class-definitions",
165 cl::desc("Don't display full class definitions"),
166 cl::cat(FilterCategory), cl::sub(PrettySubcommand));
167 cl::opt<bool> NoEnumDefs("no-enum-definitions",
168 cl::desc("Don't display full enum definitions"),
169 cl::cat(FilterCategory), cl::sub(PrettySubcommand));
174 cl::OptionCategory MsfOptions("MSF Container Options");
175 cl::OptionCategory TypeOptions("Type Record Options");
176 cl::OptionCategory FileOptions("Module & File Options");
177 cl::OptionCategory SymbolOptions("Symbol Options");
178 cl::OptionCategory MiscOptions("Miscellaneous Options");
181 cl::opt<bool> DumpHeaders("headers", cl::desc("dump PDB headers"),
182 cl::cat(MsfOptions), cl::sub(RawSubcommand));
183 cl::opt<bool> DumpStreamBlocks("stream-blocks",
184 cl::desc("dump PDB stream blocks"),
185 cl::cat(MsfOptions), cl::sub(RawSubcommand));
186 cl::opt<bool> DumpStreamSummary("stream-summary",
187 cl::desc("dump summary of the PDB streams"),
188 cl::cat(MsfOptions), cl::sub(RawSubcommand));
191 cl::opt<bool>
193 cl::desc("dump CodeView type records from TPI stream"),
194 cl::cat(TypeOptions), cl::sub(RawSubcommand));
195 cl::opt<bool> DumpTpiRecordBytes(
197 cl::desc("dump CodeView type record raw bytes from TPI stream"),
198 cl::cat(TypeOptions), cl::sub(RawSubcommand));
199 cl::opt<bool> DumpTpiHash("tpi-hash", cl::desc("dump CodeView TPI hash stream"),
200 cl::cat(TypeOptions), cl::sub(RawSubcommand));
201 cl::opt<bool>
203 cl::desc("dump CodeView type records from IPI stream"),
204 cl::cat(TypeOptions), cl::sub(RawSubcommand));
205 cl::opt<bool> DumpIpiRecordBytes(
207 cl::desc("dump CodeView type record raw bytes from IPI stream"),
208 cl::cat(TypeOptions), cl::sub(RawSubcommand));
211 cl::opt<bool> DumpModules("modules", cl::desc("dump compiland information"),
212 cl::cat(FileOptions), cl::sub(RawSubcommand));
213 cl::opt<bool> DumpModuleFiles("module-files", cl::desc("dump file information"),
214 cl::cat(FileOptions), cl::sub(RawSubcommand));
215 cl::opt<bool> DumpLineInfo("line-info",
216 cl::desc("dump file and line information"),
217 cl::cat(FileOptions), cl::sub(RawSubcommand));
220 cl::opt<bool> DumpModuleSyms("module-syms", cl::desc("dump module symbols"),
221 cl::cat(SymbolOptions), cl::sub(RawSubcommand));
222 cl::opt<bool> DumpPublics("publics", cl::desc("dump Publics stream data"),
223 cl::cat(SymbolOptions), cl::sub(RawSubcommand));
224 cl::opt<bool>
226 cl::desc("dump CodeView symbol record raw bytes"),
227 cl::cat(SymbolOptions), cl::sub(RawSubcommand));
230 cl::opt<bool> DumpSectionContribs("section-contribs",
231 cl::desc("dump section contributions"),
232 cl::cat(MiscOptions), cl::sub(RawSubcommand));
233 cl::opt<bool> DumpSectionMap("section-map", cl::desc("dump section map"),
234 cl::cat(MiscOptions), cl::sub(RawSubcommand));
235 cl::opt<bool> DumpSectionHeaders("section-headers",
236 cl::desc("dump section headers"),
237 cl::cat(MiscOptions), cl::sub(RawSubcommand));
238 cl::opt<bool> DumpFpo("fpo", cl::desc("dump FPO records"), cl::cat(MiscOptions),
239 cl::sub(RawSubcommand));
241 cl::opt<std::string> DumpStreamDataIdx("stream", cl::desc("dump stream data"),
242 cl::cat(MiscOptions),
243 cl::sub(RawSubcommand));
244 cl::opt<std::string> DumpStreamDataName("stream-name",
245 cl::desc("dump stream data"),
246 cl::cat(MiscOptions),
247 cl::sub(RawSubcommand));
249 cl::opt<bool> RawAll("all", cl::desc("Implies most other options."),
250 cl::cat(MiscOptions), cl::sub(RawSubcommand));
252 cl::list<std::string> InputFilenames(cl::Positional,
253 cl::desc("<input PDB files>"),
254 cl::OneOrMore, cl::sub(RawSubcommand));
258 cl::opt<std::string>
259 YamlPdbOutputFile("pdb", cl::desc("the name of the PDB file to write"),
260 cl::sub(YamlToPdbSubcommand));
262 cl::list<std::string> InputFilename(cl::Positional,
263 cl::desc("<input YAML file>"), cl::Required,
264 cl::sub(YamlToPdbSubcommand));
268 cl::opt<bool>
270 cl::desc("Do not dump MSF file headers (you will not be able "
272 cl::sub(PdbToYamlSubcommand), cl::init(false));
274 cl::opt<bool> StreamMetadata(
276 cl::desc("Dump the number of streams and each stream's size"),
277 cl::sub(PdbToYamlSubcommand), cl::init(false));
278 cl::opt<bool> StreamDirectory(
280 cl::desc("Dump each stream's block map (implies -stream-metadata)"),
281 cl::sub(PdbToYamlSubcommand), cl::init(false));
282 cl::opt<bool> PdbStream(
284 cl::desc("Dump the PDB Stream (Stream 1) (implies -stream-metadata)"),
285 cl::sub(PdbToYamlSubcommand), cl::init(false));
286 cl::opt<bool> DbiStream(
288 cl::desc("Dump the DBI Stream (Stream 2) (implies -stream-metadata)"),
289 cl::sub(PdbToYamlSubcommand), cl::init(false));
291 cl::list<std::string> InputFilename(cl::Positional,
292 cl::desc("<input PDB file>"), cl::Required,
293 cl::sub(PdbToYamlSubcommand));
523 cl::ParseCommandLineOptions(argv.size(), argv.data(), "LLVM PDB Dumper\n"); in main()