Lines Matching +full:ovl +full:- +full:2 +full:l

1 //===- DumpOutputStyle.cpp ------------------------------------ *- C++ --*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
15 #include "llvm-pdbutil.h"
66 : File(File), P(2, false, outs(), opts::Filters) {
89 RefTracker->mark();
336 P.formatLine("{0,40}: {1,7} entries ({2,12:N} bytes)", "Total",
338 P.formatLine("{0}", fmt_repeat('-', 74));
342 P.formatLine("{0,40}: {1,7} entries ({2,12:N} bytes)", KindName,
365 "Stream {0} ({1} bytes): [{2}]",
405 if (Stream->getLength() % sizeof(object::coff_section) != 0)
410 uint32_t NumHeaders = Stream->getLength() / sizeof(object::coff_section);
435 StringRef SectionName = SectionNames[SC.ISect - 1];
439 P.formatLine("SC{5} | mod = {2}, {0}, size = {1}, data crc = {3}, reloc "
443 fmt_align(NameInsert, AlignStyle::Left, FieldWidth + 2));
444 AutoIndent Indent(P, FieldWidth + 2);
453 P.formatLine("SC2[{6}] | mod = {2}, {0}, size = {1}, data crc = {3}, reloc "
486 [&](uint32_t Modi, const SymbolGroup &Strings) -> Error {
496 P.formatLine("debug stream: {0}, # files: {1}, has ec info: {2}",
510 P.formatLine("pdb file ni: {0} `{1}`, src file ni: {2} `{3}`",
532 [this](uint32_t Modi, const SymbolGroup &Strings) -> Error {
556 PrintScope Scope(P, 2);
559 File, Scope, [&](uint32_t Modi, const SymbolGroup &SG) -> Error {
615 P.formatLine("{0,16}: {1,7} entries ({2,12:N} bytes, {3,7} avg)", "Total",
618 P.formatLine("{0}", fmt_repeat('-', 74));
621 P.formatLine("{0,16}: {1,7} entries ({2,12:N} bytes, {3,7} avg)",
641 constexpr uint32_t kUnknownUdtKind = 2;
658 size_t L = 0;
661 L = std::max(L, Label.size());
663 return static_cast<uint32_t>(L);
698 Kind = T->kind();
699 RecordSize = T->length();
725 for (uint32_t PubSymOff : ExpGlobals->getGlobalsTable()) {
753 CD += (CD - 1) / 3;
757 SD += (SD - 1) / 3;
760 uint32_t TableWidth = FieldWidth + 3 + CD + 2 + SD + 1;
762 P.formatLine("{0} | {1} {2}",
767 P.formatLine("{0}", fmt_repeat('-', TableWidth));
770 P.formatLine("{0} | {1:N} {2:N}",
775 P.formatLine("{0}", fmt_repeat('-', TableWidth));
776 P.formatLine("{0} | {1:N} {2:N}",
780 P.formatLine("{0}", fmt_repeat('-', TableWidth));
791 [](const StrAndStat &L, const StrAndStat &R) {
792 return L.Stat.Size > R.Stat.Size;
796 P.formatLine("{0} | {1:N} {2:N}",
818 LineInfo Line(LineIter->Flags);
827 P.format("{0} {1:X-} {2} ",
829 fmt_align(Start + LineIter->Offset, AlignStyle::Right, 8, '0'),
832 --ItemsLeft;
852 DebugLinesSubsectionRef &Lines) -> Error {
853 uint16_t Segment = Lines.header()->RelocSegment;
854 uint32_t Begin = Lines.header()->RelocOffset;
855 uint32_t End = Begin + Lines.header()->CodeSize;
863 AutoIndent Indent(P, 2);
864 P.formatLine("{0:X-4}:{1:X-8}-{2:X-8}, ", Segment, Begin, End);
887 File, PrintScope{P, 2},
889 DebugInlineeLinesSubsectionRef &Lines) -> Error {
890 P.formatLine("{0,+8} | {1,+5} | {2}", "Inlinee", "Line", "Source File");
892 P.formatLine("{0,+8} | {1,+5} | ", Entry.Header->Inlinee,
893 fmtle(Entry.Header->SourceLineNum));
894 Strings.formatFromChecksumsOffset(P, Entry.Header->FileID, true);
914 File, PrintScope{P, 2},
916 DebugCrossModuleImportsSubsectionRef &Imports) -> Error {
921 Strings.getNameFromStringTable(Xmi.Header->ModuleNameOffset);
931 ModuleStorage += Module.take_back(32 - 3);
954 File, PrintScope{P, 2},
956 DebugCrossModuleExportsSubsectionRef &Exports) -> Error {
957 P.formatLine("{0,-10} | {1}", "Local ID", "Global ID");
971 return "Non-FPO";
997 P.formatLine("{0:X-8} | {1,4} | {2,6} | {3,6} | {4,6} | {5,10} | {6,6} | "
1030 P.formatLine("{0:X-8} | {1,4} | {2,6} | {3,6} | {4,5} | {5,6} | {6,10} | "
1070 if (IS->name_ids().empty())
1073 auto MaxID = llvm::max_element(IS->name_ids());
1079 std::vector<uint32_t> SortedIDs(IS->name_ids().begin(),
1080 IS->name_ids().end());
1083 auto ES = IS->getStringForID(I);
1088 } else if (!ES->empty()) {
1106 P.formatLine("Signature: {0}", IS->getSignature());
1107 P.formatLine("Hash Version: {0}", IS->getHashVersion());
1108 P.formatLine("Name Buffer Size: {0}", IS->getByteSize());
1112 BinaryStreamRef NameBuffer = IS->getStringTable().getBuffer();
1120 P.formatLine("Bucket Count: {0}", IS->name_ids().size());
1121 for (const auto &Entry : enumerate(IS->name_ids()))
1124 P.formatLine("Name Count: {0}", IS->getNameCount());
1134 DebugStringTableSubsectionRef &Strings2) -> Error {
1166 AutoIndent Indent2(P, 2);
1210 MinimalTypeDumpVisitor V(Printer, Width + 2, Bytes, Extras, Types, RefTracker,
1227 MinimalTypeDumpVisitor V(Printer, Width + 2, Bytes, Extras, Types, RefTracker,
1309 LocallyHashedType &L = std::get<0>(H);
1312 P.formatLine("TI: {0}, LocalHash: {1:X}, GlobalHash: {2}", TI, L, G);
1415 P.formatLine("`{0}` -> {1}", *ExpectedStr, TI);
1417 P.formatLine("unknown str id ({0}) -> {1}", A.first, TI);
1442 File, PrintScope{P, 2},
1444 DebugSymbolsSubsectionRef &Symbols) -> Error {
1469 File, PrintScope{P, 2},
1470 [&](uint32_t I, const SymbolGroup &Strings) -> Error {
1525 if (RefTracker->isTypeReferenced(*TI)) {
1531 P.formatLine("Records referenced: {0:N} / {1:N} {2:P}", RefRecs, TotalRecs,
1533 P.formatLine("Bytes referenced: {0:N} / {1:N} {2:P}", RefBytes, TotalBytes,
1697 P.formatLine("sig = {0:X}, hdr = {1:X}, hr size = {2}, num buckets = {3}",
1714 ExpectedSyms->getSymbolArray().getUnderlyingStream();
1796 P.formatLine("{0,8:X-} virtual size", uint32_t(Header.VirtualSize));
1797 P.formatLine("{0,8:X-} virtual address", uint32_t(Header.VirtualAddress));
1798 P.formatLine("{0,8:X-} size of raw data", uint32_t(Header.SizeOfRawData));
1799 P.formatLine("{0,8:X-} file pointer to raw data",
1801 P.formatLine("{0,8:X-} file pointer to relocation table",
1803 P.formatLine("{0,8:X-} file pointer to line numbers",
1805 P.formatLine("{0,8:X-} number of relocations",
1807 P.formatLine("{0,8:X-} number of line numbers",
1809 P.formatLine("{0,8:X-} flags", uint32_t(Header.Characteristics));
1841 MaxNameLen = (Max == Names.end() ? 0 : Max->size());
1886 "Section {0:4} | ovl = {1}, group = {2}, frame = {3}, name = {4}", I,
1887 fmtle(M.Ovl), fmtle(M.Group), fmtle(M.Frame), fmtle(M.SecName));
1888 P.formatLine(" class = {0}, offset = {1}, size = {2}",