Lines Matching +full:asi +full:- +full:format
1 //===- DumpOutputStyle.cpp ------------------------------------ *- C++ --*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
15 #include "llvm-pdbutil.h"
89 RefTracker->mark(); in dump()
247 ExitOnError Err("Invalid PDB Format: "); in dumpFileSummary()
338 P.formatLine("{0}", fmt_repeat('-', 74)); in printModuleDetailStats()
405 if (Stream->getLength() % sizeof(object::coff_section) != 0) in loadSectionHeaders()
410 uint32_t NumHeaders = Stream->getLength() / sizeof(object::coff_section); in loadSectionHeaders()
435 StringRef SectionName = SectionNames[SC.ISect - 1]; in dumpSectionContrib()
486 [&](uint32_t Modi, const SymbolGroup &Strings) -> Error { in dumpModules()
532 [this](uint32_t Modi, const SymbolGroup &Strings) -> Error { in dumpModuleFiles()
559 File, Scope, [&](uint32_t Modi, const SymbolGroup &SG) -> Error { in dumpSymbolStats()
618 P.formatLine("{0}", fmt_repeat('-', 74)); in dumpTypeStats()
698 Kind = T->kind(); in dumpUdtStats()
699 RecordSize = T->length(); in dumpUdtStats()
725 for (uint32_t PubSymOff : ExpGlobals->getGlobalsTable()) { in dumpUdtStats()
753 CD += (CD - 1) / 3; in dumpUdtStats()
757 SD += (SD - 1) / 3; in dumpUdtStats()
767 P.formatLine("{0}", fmt_repeat('-', TableWidth)); in dumpUdtStats()
775 P.formatLine("{0}", fmt_repeat('-', TableWidth)); in dumpUdtStats()
780 P.formatLine("{0}", fmt_repeat('-', TableWidth)); in dumpUdtStats()
818 LineInfo Line(LineIter->Flags); in typesetLinesAndColumns()
821 LineStr = "ASI"; in typesetLinesAndColumns()
827 P.format("{0} {1:X-} {2} ", in typesetLinesAndColumns()
829 fmt_align(Start + LineIter->Offset, AlignStyle::Right, 8, '0'), in typesetLinesAndColumns()
832 --ItemsLeft; in typesetLinesAndColumns()
852 DebugLinesSubsectionRef &Lines) -> Error { in dumpLines()
853 uint16_t Segment = Lines.header()->RelocSegment; in dumpLines()
854 uint32_t Begin = Lines.header()->RelocOffset; in dumpLines()
855 uint32_t End = Begin + Lines.header()->CodeSize; in dumpLines()
864 P.formatLine("{0:X-4}:{1:X-8}-{2:X-8}, ", Segment, Begin, End); in dumpLines()
867 P.format("line/column/addr entries = {0}", Count); in dumpLines()
869 P.format("line/addr entries = {0}", Count); in dumpLines()
889 DebugInlineeLinesSubsectionRef &Lines) -> Error { in dumpInlineeLines()
892 P.formatLine("{0,+8} | {1,+5} | ", Entry.Header->Inlinee, in dumpInlineeLines()
893 fmtle(Entry.Header->SourceLineNum)); in dumpInlineeLines()
894 Strings.formatFromChecksumsOffset(P, Entry.Header->FileID, true); in dumpInlineeLines()
916 DebugCrossModuleImportsSubsectionRef &Imports) -> Error { in dumpXmi()
921 Strings.getNameFromStringTable(Xmi.Header->ModuleNameOffset); in dumpXmi()
931 ModuleStorage += Module.take_back(32 - 3); in dumpXmi()
956 DebugCrossModuleExportsSubsectionRef &Exports) -> Error { in dumpXme()
957 P.formatLine("{0,-10} | {1}", "Local ID", "Global ID"); in dumpXme()
971 return "Non-FPO"; in formatFrameType()
997 P.formatLine("{0:X-8} | {1,4} | {2,6} | {3,6} | {4,6} | {5,10} | {6,6} | " in dumpOldFpo()
1030 P.formatLine("{0:X-8} | {1,4} | {2,6} | {3,6} | {4,5} | {5,6} | {6,10} | " in dumpNewFpo()
1070 if (IS->name_ids().empty()) in dumpStringTableFromPdb()
1073 auto MaxID = llvm::max_element(IS->name_ids()); in dumpStringTableFromPdb()
1079 std::vector<uint32_t> SortedIDs(IS->name_ids().begin(), in dumpStringTableFromPdb()
1080 IS->name_ids().end()); in dumpStringTableFromPdb()
1083 auto ES = IS->getStringForID(I); in dumpStringTableFromPdb()
1088 } else if (!ES->empty()) { in dumpStringTableFromPdb()
1106 P.formatLine("Signature: {0}", IS->getSignature()); in dumpStringTableFromPdb()
1107 P.formatLine("Hash Version: {0}", IS->getHashVersion()); in dumpStringTableFromPdb()
1108 P.formatLine("Name Buffer Size: {0}", IS->getByteSize()); in dumpStringTableFromPdb()
1112 BinaryStreamRef NameBuffer = IS->getStringTable().getBuffer(); in dumpStringTableFromPdb()
1120 P.formatLine("Bucket Count: {0}", IS->name_ids().size()); in dumpStringTableFromPdb()
1121 for (const auto &Entry : enumerate(IS->name_ids())) in dumpStringTableFromPdb()
1124 P.formatLine("Name Count: {0}", IS->getNameCount()); in dumpStringTableFromPdb()
1134 DebugStringTableSubsectionRef &Strings2) -> Error { in dumpStringTableFromObj()
1275 // format but used for MSVC precompiled header object files. in dumpTypesFromObjectFile()
1415 P.formatLine("`{0}` -> {1}", *ExpectedStr, TI); in dumpTpiStream()
1417 P.formatLine("unknown str id ({0}) -> {1}", A.first, TI); in dumpTpiStream()
1444 DebugSymbolsSubsectionRef &Symbols) -> Error { in dumpModuleSymsForObj()
1470 [&](uint32_t I, const SymbolGroup &Strings) -> Error { in dumpModuleSymsForPdb()
1525 if (RefTracker->isTypeReferenced(*TI)) { in dumpTypeRefStats()
1714 ExpectedSyms->getSymbolArray().getUnderlyingStream(); in dumpSymbolsFromGSI()
1796 P.formatLine("{0,8:X-} virtual size", uint32_t(Header.VirtualSize)); in dumpSectionHeaders()
1797 P.formatLine("{0,8:X-} virtual address", uint32_t(Header.VirtualAddress)); in dumpSectionHeaders()
1798 P.formatLine("{0,8:X-} size of raw data", uint32_t(Header.SizeOfRawData)); in dumpSectionHeaders()
1799 P.formatLine("{0,8:X-} file pointer to raw data", in dumpSectionHeaders()
1801 P.formatLine("{0,8:X-} file pointer to relocation table", in dumpSectionHeaders()
1803 P.formatLine("{0,8:X-} file pointer to line numbers", in dumpSectionHeaders()
1805 P.formatLine("{0,8:X-} number of relocations", in dumpSectionHeaders()
1807 P.formatLine("{0,8:X-} number of line numbers", in dumpSectionHeaders()
1809 P.formatLine("{0,8:X-} flags", uint32_t(Header.Characteristics)); in dumpSectionHeaders()
1841 MaxNameLen = (Max == Names.end() ? 0 : Max->size()); in dumpSectionContribs()