Lines Matching refs:P
64 static SmallVector<StreamSpec, 2> parseStreamSpecs(LinePrinter &P) { in parseStreamSpecs() argument
70 P.formatLine("Error parsing stream spec {0}: {1}", Str, in parseStreamSpecs()
79 static void printHeader(LinePrinter &P, const Twine &S) { in printHeader() argument
80 P.NewLine(); in printHeader()
81 P.formatLine("{0,=60}", S); in printHeader()
82 P.formatLine("{0}", fmt_repeat('=', 60)); in printHeader()
86 : File(File), P(2, false, outs(), opts::Filters) {} in BytesOutputStyle()
104 P.NewLine(); in dump()
120 P.NewLine(); in dump()
125 P.NewLine(); in dump()
130 P.NewLine(); in dump()
135 P.NewLine(); in dump()
140 P.NewLine(); in dump()
145 P.NewLine(); in dump()
150 P.NewLine(); in dump()
155 P.NewLine(); in dump()
160 P.NewLine(); in dump()
165 P.NewLine(); in dump()
170 P.NewLine(); in dump()
175 P.NewLine(); in dump()
180 P.NewLine(); in dump()
185 P.NewLine(); in dump()
190 P.NewLine(); in dump()
197 printHeader(P, "Named Stream Map"); in dumpNameMap()
199 AutoIndent Indent(P); in dumpNameMap()
204 P.formatMsfStreamData("Named Stream Map", File, Layout, NS); in dumpNameMap()
208 printHeader(P, "MSF Blocks"); in dumpBlockRanges()
210 AutoIndent Indent(P); in dumpBlockRanges()
217 P.formatLine("Could not get block {0}. Reason = {1}", I, in dumpBlockRanges()
222 P.formatBinary(Label, *ExpectedData, Base, 0); in dumpBlockRanges()
227 printHeader(P, "Section Contributions"); in dumpSectionContributions()
229 AutoIndent Indent(P); in dumpSectionContributions()
234 P.formatMsfStreamData("Section Contributions", File, Layout, NS); in dumpSectionContributions()
238 printHeader(P, "Section Map"); in dumpSectionMap()
240 AutoIndent Indent(P); in dumpSectionMap()
245 P.formatMsfStreamData("Section Map", File, Layout, NS); in dumpSectionMap()
249 printHeader(P, "Module Infos"); in dumpModuleInfos()
251 AutoIndent Indent(P); in dumpModuleInfos()
256 P.formatMsfStreamData("Module Infos", File, Layout, NS); in dumpModuleInfos()
260 printHeader(P, "File Info"); in dumpFileInfo()
262 AutoIndent Indent(P); in dumpFileInfo()
267 P.formatMsfStreamData("File Info", File, Layout, NS); in dumpFileInfo()
271 printHeader(P, "Type Server Map"); in dumpTypeServerMap()
273 AutoIndent Indent(P); in dumpTypeServerMap()
278 P.formatMsfStreamData("Type Server Map", File, Layout, NS); in dumpTypeServerMap()
282 printHeader(P, "Edit and Continue Data"); in dumpECData()
284 AutoIndent Indent(P); in dumpECData()
289 P.formatMsfStreamData("Edit and Continue Data", File, Layout, NS); in dumpECData()
300 printHeader(P, Label); in dumpTypeIndex()
303 AutoIndent Indent(P); in dumpTypeIndex()
311 P.formatLine("Error: TypeIndex {0} does not exist", TI); in dumpTypeIndex()
318 P.formatMsfStreamData(formatv("Type {0}", TI).str(), File, Layout, OneType); in dumpTypeIndex()
323 static void iterateOneModule(PDBFile &File, LinePrinter &P, in iterateOneModule() argument
328 P.formatLine("Mod {0:4} | Invalid module index ", in iterateOneModule()
334 P.formatLine("Mod {0:4} | `{1}`: ", in iterateOneModule()
339 AutoIndent Indent2(P, IndentLevel); in iterateOneModule()
346 P.formatLine("Could not parse debug information."); in iterateOneModule()
354 static void iterateModules(PDBFile &File, LinePrinter &P, uint32_t IndentLevel, in iterateModules() argument
356 AutoIndent Indent(P); in iterateModules()
358 P.formatLine("DBI Stream not present"); in iterateModules()
369 iterateOneModule(File, P, Modules, opts::bytes::ModuleIndex, 1, IndentLevel, in iterateModules()
375 iterateOneModule(File, P, Modules, I, Digits, IndentLevel, Callback); in iterateModules()
381 printHeader(P, "Module Symbols"); in dumpModuleSyms()
383 AutoIndent Indent(P); in dumpModuleSyms()
385 iterateModules(File, P, 2, in dumpModuleSyms()
389 P.formatMsfStreamData("Symbols", File, Layout, Symbols); in dumpModuleSyms()
394 printHeader(P, "C11 Debug Chunks"); in dumpModuleC11()
396 AutoIndent Indent(P); in dumpModuleC11()
398 iterateModules(File, P, 2, in dumpModuleC11()
402 P.formatMsfStreamData("C11 Debug Chunks", File, Layout, in dumpModuleC11()
408 printHeader(P, "Debug Chunks"); in dumpModuleC13()
410 AutoIndent Indent(P); in dumpModuleC13()
413 File, P, 2, in dumpModuleC13()
421 P.formatMsfStreamData(formatChunkKind(SS.kind()), File, Layout, in dumpModuleC13()
425 P.formatMsfStreamData("Debug Chunks", File, Layout, Chunks); in dumpModuleC13()
431 printHeader(P, "MSF Bytes"); in dumpByteRanges()
433 AutoIndent Indent(P); in dumpByteRanges()
442 P.formatBinary("Bytes", Data, Min); in dumpByteRanges()
466 printHeader(P, "Free Page Map"); in dumpFpm()
469 P.formatMsfStreamBlocks(File, FpmLayout); in dumpFpm()
476 printHeader(P, "Stream Data"); in dumpStreamBytes()
479 auto Specs = parseStreamSpecs(P); in dumpStreamBytes()
482 AutoIndent Indent(P); in dumpStreamBytes()
484 P.formatLine("Stream {0}: Not present", Spec.SI); in dumpStreamBytes()
487 P.formatMsfStreamData("Data", File, Spec.SI, in dumpStreamBytes()