• Home
  • Raw
  • Download

Lines Matching refs:P

42     : File(File), P(outs()), TD(&P, false) {}  in LLVMOutputStyle()
96 DictScope D(P, "FileHeaders"); in dumpFileHeaders()
97 P.printNumber("BlockSize", File.getBlockSize()); in dumpFileHeaders()
98 P.printNumber("Unknown0", File.getUnknown0()); in dumpFileHeaders()
99 P.printNumber("NumBlocks", File.getBlockCount()); in dumpFileHeaders()
100 P.printNumber("NumDirectoryBytes", File.getNumDirectoryBytes()); in dumpFileHeaders()
101 P.printNumber("Unknown1", File.getUnknown1()); in dumpFileHeaders()
102 P.printNumber("BlockMapAddr", File.getBlockMapIndex()); in dumpFileHeaders()
103 P.printNumber("NumDirectoryBlocks", File.getNumDirectoryBlocks()); in dumpFileHeaders()
104 P.printNumber("BlockMapOffset", File.getBlockMapOffset()); in dumpFileHeaders()
109 P.printList("DirectoryBlocks", File.getDirectoryBlockArray()); in dumpFileHeaders()
110 P.printNumber("NumStreams", File.getNumStreams()); in dumpFileHeaders()
125 ListScope L(P, "Streams"); in dumpStreamSummary()
219 P.printString(Label, Value); in dumpStreamSummary()
232 P.flush(); in dumpStreamSummary()
240 ListScope L(P, "StreamBlocks"); in dumpStreamBlocks()
246 P.printList(Name, StreamBlocks); in dumpStreamBlocks()
271 P.printBinaryBlock( in dumpStreamData()
285 DictScope D(P, "PDB Stream"); in dumpInfoStream()
286 P.printNumber("Version", IS->getVersion()); in dumpInfoStream()
287 P.printHex("Signature", IS->getSignature()); in dumpInfoStream()
288 P.printNumber("Age", IS->getAge()); in dumpInfoStream()
289 P.printObject("Guid", IS->getGuid()); in dumpInfoStream()
310 DictScope D(P, Name); in dumpNamedStream()
311 P.printNumber("Index", NameStreamIndex); in dumpNamedStream()
323 P.printHex("Signature", NameTable.getSignature()); in dumpNamedStream()
324 P.printNumber("Version", NameTable.getHashVersion()); in dumpNamedStream()
325 P.printNumber("Name Count", NameTable.getNameCount()); in dumpNamedStream()
326 ListScope L(P, "Names"); in dumpNamedStream()
330 P.printString(to_string(ID), Str); in dumpNamedStream()
341 static void dumpTpiHash(ScopedPrinter &P, TpiStream &Tpi) { in dumpTpiHash() argument
344 DictScope DD(P, "Hash"); in dumpTpiHash()
345 P.printNumber("Number of Hash Buckets", Tpi.NumHashBuckets()); in dumpTpiHash()
346 P.printNumber("Hash Key Size", Tpi.getHashKeySize()); in dumpTpiHash()
347 P.printList("Values", Tpi.getHashValues()); in dumpTpiHash()
348 P.printList("Type Index Offsets", Tpi.getTypeIndexOffsets(), in dumpTpiHash()
350 P.printList("Hash Adjustments", Tpi.getHashAdjustments(), in dumpTpiHash()
381 DictScope D(P, Label); in dumpTpiStream()
383 P.printNumber(VerLabel, Tpi->getTpiVersion()); in dumpTpiStream()
384 P.printNumber("Record count", Tpi->NumTypeRecords()); in dumpTpiStream()
386 ListScope L(P, "Records"); in dumpTpiStream()
390 DictScope DD(P, ""); in dumpTpiStream()
398 P.printBinaryBlock("Bytes", Type.Data); in dumpTpiStream()
400 dumpTpiHash(P, *Tpi); in dumpTpiStream()
419 dumpTpiHash(P, *Tpi); in dumpTpiStream()
424 P.flush(); in dumpTpiStream()
438 DictScope D(P, "DBI Stream"); in dumpDbiStream()
439 P.printNumber("Dbi Version", DS->getDbiVersion()); in dumpDbiStream()
440 P.printNumber("Age", DS->getAge()); in dumpDbiStream()
441 P.printBoolean("Incremental Linking", DS->isIncrementallyLinked()); in dumpDbiStream()
442 P.printBoolean("Has CTypes", DS->hasCTypes()); in dumpDbiStream()
443 P.printBoolean("Is Stripped", DS->isStripped()); in dumpDbiStream()
444 P.printObject("Machine Type", DS->getMachineType()); in dumpDbiStream()
445 P.printNumber("Symbol Record Stream Index", DS->getSymRecordStreamIndex()); in dumpDbiStream()
446 P.printNumber("Public Symbol Stream Index", DS->getPublicSymbolStreamIndex()); in dumpDbiStream()
447 P.printNumber("Global Symbol Stream Index", DS->getGlobalSymbolStreamIndex()); in dumpDbiStream()
451 P.printVersion("Toolchain Version", Major, Minor); in dumpDbiStream()
457 P.printVersion(DllName, Major, Minor, DS->getPdbDllVersion()); in dumpDbiStream()
460 ListScope L(P, "Modules"); in dumpDbiStream()
462 DictScope DD(P); in dumpDbiStream()
463 P.printString("Name", Modi.Info.getModuleName().str()); in dumpDbiStream()
464 P.printNumber("Debug Stream Index", Modi.Info.getModuleStreamIndex()); in dumpDbiStream()
465 P.printString("Object File Name", Modi.Info.getObjFileName().str()); in dumpDbiStream()
466 P.printNumber("Num Files", Modi.Info.getNumberOfFiles()); in dumpDbiStream()
467 P.printNumber("Source File Name Idx", Modi.Info.getSourceFileNameIndex()); in dumpDbiStream()
468 P.printNumber("Pdb File Name Idx", Modi.Info.getPdbFilePathNameIndex()); in dumpDbiStream()
469 P.printNumber("Line Info Byte Size", Modi.Info.getLineInfoByteSize()); in dumpDbiStream()
470 P.printNumber("C13 Line Info Byte Size", in dumpDbiStream()
472 P.printNumber("Symbol Byte Size", Modi.Info.getSymbolDebugInfoByteSize()); in dumpDbiStream()
473 P.printNumber("Type Server Index", Modi.Info.getTypeServerIndex()); in dumpDbiStream()
474 P.printBoolean("Has EC Info", Modi.Info.hasECInfo()); in dumpDbiStream()
478 ListScope LL(P, FileListName); in dumpDbiStream()
480 P.printString(File.str()); in dumpDbiStream()
496 ListScope SS(P, "Symbols"); in dumpDbiStream()
497 codeview::CVSymbolDumper SD(P, TD, nullptr, false); in dumpDbiStream()
500 DictScope DD(P, ""); in dumpDbiStream()
505 P.printBinaryBlock("Bytes", S.Data); in dumpDbiStream()
513 ListScope SS(P, "LineInfo"); in dumpDbiStream()
519 RecordVisitor(ScopedPrinter &P, PDBFile &F) : P(P), F(F) {} in dumpDbiStream() argument
522 DictScope DD(P, "Unknown"); in dumpDbiStream()
530 P.printBinaryBlock("Data", Data); in dumpDbiStream()
536 DictScope DD(P, "FileChecksums"); in dumpDbiStream()
538 DictScope DDD(P, "Checksum"); in dumpDbiStream()
540 P.printString("FileName", Result.get()); in dumpDbiStream()
543 P.flush(); in dumpDbiStream()
544 P.printEnum("Kind", uint8_t(C.Kind), getFileChecksumNames()); in dumpDbiStream()
545 P.printBinaryBlock("Checksum", C.Checksum); in dumpDbiStream()
552 DictScope DD(P, "Lines"); in dumpDbiStream()
555 P.printString("FileName", Result.get()); in dumpDbiStream()
558 P.flush(); in dumpDbiStream()
560 DictScope DDD(P, "Line"); in dumpDbiStream()
562 P.printNumber("Offset", N.Offset); in dumpDbiStream()
564 P.printString("StepInto", StringRef("Always")); in dumpDbiStream()
566 P.printString("StepInto", StringRef("Never")); in dumpDbiStream()
568 P.printNumber("LineNumberStart", LI.getStartLine()); in dumpDbiStream()
569 P.printNumber("EndDelta", LI.getLineDelta()); in dumpDbiStream()
570 P.printBoolean("IsStatement", LI.isStatement()); in dumpDbiStream()
573 DictScope DDD(P, "Column"); in dumpDbiStream()
574 P.printNumber("Start", C.StartColumn); in dumpDbiStream()
575 P.printNumber("End", C.EndColumn); in dumpDbiStream()
595 ScopedPrinter &P; in dumpDbiStream() member in LLVMOutputStyle::dumpDbiStream::RecordVisitor
599 RecordVisitor V(P, File); in dumpDbiStream()
619 ListScope L(P, "Section Contributions"); in dumpSectionContribs()
622 Visitor(ScopedPrinter &P, DbiStream &DS) : P(P), DS(DS) {} in dumpSectionContribs() argument
624 DictScope D(P, "Contribution"); in dumpSectionContribs()
625 P.printNumber("ISect", SC.ISect); in dumpSectionContribs()
626 P.printNumber("Off", SC.Off); in dumpSectionContribs()
627 P.printNumber("Size", SC.Size); in dumpSectionContribs()
628 P.printFlags("Characteristics", SC.Characteristics, in dumpSectionContribs()
632 DictScope DD(P, "Module"); in dumpSectionContribs()
633 P.printNumber("Index", SC.Imod); in dumpSectionContribs()
636 P.printString("Name", M[SC.Imod].Info.getModuleName()); in dumpSectionContribs()
639 P.printNumber("Data CRC", SC.DataCrc); in dumpSectionContribs()
640 P.printNumber("Reloc CRC", SC.RelocCrc); in dumpSectionContribs()
641 P.flush(); in dumpSectionContribs()
645 P.printNumber("ISect Coff", SC.ISectCoff); in dumpSectionContribs()
646 P.flush(); in dumpSectionContribs()
650 ScopedPrinter &P; in dumpSectionContribs() member in LLVMOutputStyle::dumpSectionContribs::Visitor
653 Visitor V(P, *Dbi); in dumpSectionContribs()
666 ListScope L(P, "Section Map"); in dumpSectionMap()
668 DictScope D(P, "Entry"); in dumpSectionMap()
669 P.printFlags("Flags", M.Flags, getOMFSegMapDescFlagNames()); in dumpSectionMap()
670 P.printNumber("Flags", M.Flags); in dumpSectionMap()
671 P.printNumber("Ovl", M.Ovl); in dumpSectionMap()
672 P.printNumber("Group", M.Group); in dumpSectionMap()
673 P.printNumber("Frame", M.Frame); in dumpSectionMap()
674 P.printNumber("SecName", M.SecName); in dumpSectionMap()
675 P.printNumber("ClassName", M.ClassName); in dumpSectionMap()
676 P.printNumber("Offset", M.Offset); in dumpSectionMap()
677 P.printNumber("SecByteLength", M.SecByteLength); in dumpSectionMap()
678 P.flush(); in dumpSectionMap()
687 DictScope D(P, "Publics Stream"); in dumpPublicsStream()
696 P.printNumber("Stream number", Dbi->getPublicSymbolStreamIndex()); in dumpPublicsStream()
697 P.printNumber("SymHash", Publics->getSymHash()); in dumpPublicsStream()
698 P.printNumber("AddrMap", Publics->getAddrMap()); in dumpPublicsStream()
699 P.printNumber("Number of buckets", Publics->getNumBuckets()); in dumpPublicsStream()
700 P.printList("Hash Buckets", Publics->getHashBuckets()); in dumpPublicsStream()
701 P.printList("Address Map", Publics->getAddressMap()); in dumpPublicsStream()
702 P.printList("Thunk Map", Publics->getThunkMap()); in dumpPublicsStream()
703 P.printList("Section Offsets", Publics->getSectionOffsets(), in dumpPublicsStream()
705 ListScope L(P, "Symbols"); in dumpPublicsStream()
706 codeview::CVSymbolDumper SD(P, TD, nullptr, false); in dumpPublicsStream()
709 DictScope DD(P, ""); in dumpPublicsStream()
713 P.printBinaryBlock("Bytes", S.Data); in dumpPublicsStream()
731 ListScope D(P, "Section Headers"); in dumpSectionHeaders()
733 DictScope DD(P, ""); in dumpSectionHeaders()
737 P.printString("Name", Name); in dumpSectionHeaders()
738 P.printNumber("Virtual Size", Section.VirtualSize); in dumpSectionHeaders()
739 P.printNumber("Virtual Address", Section.VirtualAddress); in dumpSectionHeaders()
740 P.printNumber("Size of Raw Data", Section.SizeOfRawData); in dumpSectionHeaders()
741 P.printNumber("File Pointer to Raw Data", Section.PointerToRawData); in dumpSectionHeaders()
742 P.printNumber("File Pointer to Relocations", Section.PointerToRelocations); in dumpSectionHeaders()
743 P.printNumber("File Pointer to Linenumbers", Section.PointerToLinenumbers); in dumpSectionHeaders()
744 P.printNumber("Number of Relocations", Section.NumberOfRelocations); in dumpSectionHeaders()
745 P.printNumber("Number of Linenumbers", Section.NumberOfLinenumbers); in dumpSectionHeaders()
746 P.printFlags("Characteristics", Section.Characteristics, in dumpSectionHeaders()
760 ListScope D(P, "New FPO"); in dumpFpoStream()
762 DictScope DD(P, ""); in dumpFpoStream()
763 P.printNumber("Offset", Fpo.Offset); in dumpFpoStream()
764 P.printNumber("Size", Fpo.Size); in dumpFpoStream()
765 P.printNumber("Number of locals", Fpo.NumLocals); in dumpFpoStream()
766 P.printNumber("Number of params", Fpo.NumParams); in dumpFpoStream()
767 P.printNumber("Size of Prolog", Fpo.getPrologSize()); in dumpFpoStream()
768 P.printNumber("Number of Saved Registers", Fpo.getNumSavedRegs()); in dumpFpoStream()
769 P.printBoolean("Has SEH", Fpo.hasSEH()); in dumpFpoStream()
770 P.printBoolean("Use BP", Fpo.useBP()); in dumpFpoStream()
771 P.printNumber("Frame Pointer", Fpo.getFP()); in dumpFpoStream()
776 void LLVMOutputStyle::flush() { P.flush(); } in flush()