reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/llvm-pdbutil/BytesOutputStyle.cpp
   70       P.formatLine("Error parsing stream spec {0}: {1}", Str,
   81   P.formatLine("{0,=60}", S);
   82   P.formatLine("{0}", fmt_repeat('=', 60));
  217       P.formatLine("Could not get block {0}.  Reason = {1}", I,
  311       P.formatLine("Error: TypeIndex {0} does not exist", TI);
  328     P.formatLine("Mod {0:4} | Invalid module index ",
  334   P.formatLine("Mod {0:4} | `{1}`: ",
  346     P.formatLine("Could not parse debug information.");
  358     P.formatLine("DBI Stream not present");
  484       P.formatLine("Stream {0}: Not present", Spec.SI);
tools/llvm-pdbutil/DumpOutputStyle.cpp
   76   P.formatLine("Dumping this stream is not valid for object files");
   81   P.formatLine("{0} stream not present", StreamName);
  233   P.formatLine("{0,=60}", S);
  234   P.formatLine("{0}", fmt_repeat('=', 60));
  248   P.formatLine("Block Size: {0}", getPdb().getBlockSize());
  249   P.formatLine("Number of blocks: {0}", getPdb().getBlockCount());
  250   P.formatLine("Number of streams: {0}", getPdb().getNumStreams());
  253   P.formatLine("Signature: {0}", PS.getSignature());
  254   P.formatLine("Age: {0}", PS.getAge());
  255   P.formatLine("GUID: {0}", fmt_guid(PS.getGuid().Guid));
  256   P.formatLine("Features: {0:x+}", static_cast<uint32_t>(PS.getFeatures()));
  257   P.formatLine("Has Debug Info: {0}", getPdb().hasPDBDbiStream());
  258   P.formatLine("Has Types: {0}", getPdb().hasPDBTpiStream());
  259   P.formatLine("Has IDs: {0}", getPdb().hasPDBIpiStream());
  260   P.formatLine("Has Globals: {0}", getPdb().hasPDBGlobalsStream());
  261   P.formatLine("Has Publics: {0}", getPdb().hasPDBPublicsStream());
  264     P.formatLine("Is incrementally linked: {0}", DBI.isIncrementallyLinked());
  265     P.formatLine("Has conflicting types: {0}", DBI.hasCTypes());
  266     P.formatLine("Is stripped: {0}", DBI.isStripped());
  333   P.formatLine("  {0}", Label);
  335   P.formatLine("{0,40}: {1,7} entries ({2,12:N} bytes)", "Total",
  337   P.formatLine("{0}", fmt_repeat('-', 74));
  341     P.formatLine("{0,40}: {1,7} entries ({2,12:N} bytes)", KindName,
  393     P.formatLine(
  403       P.formatLine("       {0}  Blocks: [{1}]",
  440     HeaderScope->P.formatLine(
  555   P.formatLine("SC{5}  | mod = {2}, {0}, size = {1}, data crc = {3}, reloc "
  561   P.formatLine("      {0}",
  569   P.formatLine("SC2[{6}] | mod = {2}, {0}, size = {1}, data crc = {3}, reloc "
  574   P.formatLine("      {0}",
  605         P.formatLine("Obj: `{0}`: ", Desc.getObjFileName());
  606         P.formatLine("debug stream: {0}, # files: {1}, has ec info: {2}",
  613         P.formatLine("pdb file ni: {0} `{1}`, src file ni: {2} `{3}`",
  676         P.formatLine("Mod {0} (debug info not present): [{1}]",
  681       P.formatLine("Stream {0}, {1} bytes", StreamIdx,
  711   P.formatLine("  Types");
  713   P.formatLine("{0,14}: {1,7} entries ({2,12:N} bytes, {3,7} avg)", "Total",
  716   P.formatLine("{0}", fmt_repeat('-', 74));
  719     P.formatLine("{0,14}: {1,7} entries ({2,12:N} bytes, {3,7} avg)",
  866   P.formatLine("{0} | {1}  {2}",
  871   P.formatLine("{0}", fmt_repeat('-', TableWidth));
  874     P.formatLine("{0} | {1:N}  {2:N}",
  879   P.formatLine("{0}", fmt_repeat('-', TableWidth));
  880   P.formatLine("{0} | {1:N}  {2:N}",
  884   P.formatLine("{0}", fmt_repeat('-', TableWidth));
  900     P.formatLine("{0} | {1:N}  {2:N}",
  968           P.formatLine("{0:X-4}:{1:X-8}-{2:X-8}, ", Segment, Begin, End);
  995         P.formatLine("{0,+8} | {1,+5} | {2}", "Inlinee", "Line", "Source File");
  997           P.formatLine("{0,+8} | {1,+5} | ", Entry.Header->Inlinee,
 1001             P.formatLine("                   ");
 1023         P.formatLine("{0,=32} | {1}", "Imported Module", "Type IDs");
 1045           P.formatLine("{0,+32} | {1}", Module, Result);
 1064         P.formatLine("{0,-10} | {1}", "Local ID", "Global ID");
 1066           P.formatLine("{0,+10:X+} | {1}", TypeIndex(Export.Local),
 1105     P.formatLine("{0:X-8} | {1,4} | {2,6} | {3,6} | {4,6} | {5,10} | {6,6} | "
 1138     P.formatLine("{0:X-8} | {1,4} | {2,6} | {3,6} | {4,5} | {5,6} | {6,10} | "
 1172     P.formatLine("Not present in file");
 1179       P.formatLine("Empty");
 1185       P.formatLine("{0} | {1}", fmt_align("ID", AlignStyle::Right, Digits),
 1204           P.formatLine("{0} | {1}", fmt_align(I, AlignStyle::Right, Digits),
 1215       P.formatLine("Signature: {0}", IS->getSignature());
 1216       P.formatLine("Hash Version: {0}", IS->getHashVersion());
 1217       P.formatLine("Name Buffer Size: {0}", IS->getByteSize());
 1229       P.formatLine("Bucket Count: {0}", IS->name_ids().size());
 1231         P.formatLine("Bucket[{0}] : {1}", Entry.index(),
 1233       P.formatLine("Name Count: {0}", IS->getNameCount());
 1253           P.formatLine("{0} | {1}", fmt_align(Offset, AlignStyle::Right, 4),
 1276     P.formatLine("Index: {0}", Entry.getValue());
 1277     P.formatLine("Size in bytes: {0}",
 1316   Printer.formatLine("Showing {0:N} records", NumTypeRecords);
 1323     Printer.formatLine("An error occurred dumping type records: {0}",
 1346     Printer.formatLine(
 1352         Printer.formatLine("An error occurred dumping type record {0}: {1}",
 1356     Printer.formatLine("Showing {0:N} records.", TiList.size());
 1362         Printer.formatLine("An error occurred dumping type record {0}: {1}", TI,
 1408       P.formatLine("Local / Global hashes:");
 1415         P.formatLine("TI: {0}, LocalHash: {1:X}, GlobalHash: {2}", TI, L, G);
 1493     P.formatLine("Header Version: {0}",
 1495     P.formatLine("Hash Stream Index: {0}", Stream.getTypeHashStreamIndex());
 1496     P.formatLine("Aux Hash Stream Index: {0}",
 1498     P.formatLine("Hash Key Size: {0}", Stream.getHashKeySize());
 1499     P.formatLine("Num Hash Buckets: {0}", Stream.getNumHashBuckets());
 1502     P.formatLine("Type Index Offsets:");
 1505       P.formatLine("TI: {0}, Offset: {1}", IO.Type, fmtle(IO.Offset));
 1510       P.formatLine("Hash Adjusters:");
 1518           P.formatLine("`{0}` -> {1}", *ExpectedStr, TI);
 1520           P.formatLine("unknown str id ({0}) -> {1}", A.first, TI);
 1585           P.formatLine("Error loading module stream {0}.  {1}", I,
 1603           P.formatLine("Error while processing symbol records.  {0}",
 1631   P.formatLine("Records referenced: {0:N} / {1:N} {2:P}", RefRecs, TotalRecs,
 1633   P.formatLine("Bytes referenced: {0:N} / {1:N} {2:P}", RefBytes, TotalBytes,
 1709       P.formatLine("Global Name `{0}`", Name);
 1748     P.formatLine("sym hash = {0}, thunk table addr = {1}", Publics.getSymHash(),
 1758   P.formatLine("Address Map");
 1763       P.formatLine("off = {0}", Addr);
 1768     P.formatLine("Thunk Map");
 1771       P.formatLine("{0:x8}", Addr);
 1777     P.formatLine("Section Offsets");
 1780       P.formatLine("{0:x4}:{1:x8}", uint16_t(SO.Isect), uint32_t(SO.Off));
 1797     P.formatLine("sig = {0:X}, hdr = {1:X}, hr size = {2}, num buckets = {3}",
 1826     P.formatLine("Hash Entries");
 1830         P.formatLine("off = {0}, refcnt = {1}", uint32_t(HR.Off),
 1834     P.formatLine("Hash Buckets");
 1838         P.formatLine("{0:x8}", Hash);
 1894     P.formatLine("SECTION HEADER #{0}", I);
 1895     P.formatLine("{0,8} name", Header.Name);
 1896     P.formatLine("{0,8:X-} virtual size", uint32_t(Header.VirtualSize));
 1897     P.formatLine("{0,8:X-} virtual address", uint32_t(Header.VirtualAddress));
 1898     P.formatLine("{0,8:X-} size of raw data", uint32_t(Header.SizeOfRawData));
 1899     P.formatLine("{0,8:X-} file pointer to raw data",
 1901     P.formatLine("{0,8:X-} file pointer to relocation table",
 1903     P.formatLine("{0,8:X-} file pointer to line numbers",
 1905     P.formatLine("{0,8:X-} number of relocations",
 1907     P.formatLine("{0,8:X-} number of line numbers",
 1909     P.formatLine("{0,8:X-} flags", uint32_t(Header.Characteristics));
 1911     P.formatLine("{0}", formatSectionCharacteristics(
 1983     P.formatLine(
 1986     P.formatLine("               class = {0}, offset = {1}, size = {2}",
 1988     P.formatLine("               flags = {0}",
tools/llvm-pdbutil/ExplainOutputStyle.cpp
   35   P.formatLine("Explaining file offset {0} of file '{1}'.", FileOffset,
  136     P.formatLine("Address {0} is not in the file (file size = {1}).",
  140   P.formatLine("Block:Offset = {2:X-}:{1:X-4}.", FileOffset, pdbBlockOffset(),
  144   P.formatLine("Address is in block {0} ({1}allocated).", pdbBlockIndex(),
  152   P.formatLine("This corresponds to offset {0} of the MSF super block, ",
  158     P.formatLine("The current value is {0}.",
  162     P.formatLine("The current value is {0}.",
  166     P.formatLine("The current value is {0}.",
  170     P.formatLine("The current value is {0}.",
  174     P.formatLine("The current value is {0}.",
  178     P.formatLine("The current value is {0}.",
  208   P.formatLine("Address is in FPM{0} ({1} FPM)", Fpm, IsMain ? "Main" : "Alt");
  216   P.formatLine("Address describes the allocation status of blocks [{0},{1})",
  220   P.formatLine("Status = {0} (Note: 0 = allocated, 1 = free)",
  227   P.formatLine("Address is at offset {0} of the directory block list",
  251   P.formatLine("Address is at offset {0}/{1} of Stream {2} ({3}){4}.",
  279   P.formatLine("Address is at offset {0}/{1} of Stream Directory{2}.",
  287   P.formatLine("Address has unknown purpose.");
  292   P.formatLine("which contains {0}.", Label);
  293   P.formatLine("The current value is {0}.", Value);
  377   P.formatLine("which contains the descriptor for module {0} ({1}).", Index,
  394       P.formatLine("address is at offset {0}/{1} of the {2}.", SubOffset, S,
tools/llvm-pdbutil/InputFile.cpp
  127     Printer.formatLine(std::forward<Args>(args)...);
tools/llvm-pdbutil/LinePrinter.cpp
  179     formatLine("Stream {0}: Not present", StreamIdx);
  183     formatLine(
  192     formatLine("Stream {0}: Not present", StreamIdx);
  200   formatLine("Stream {0}: {1} (dumping {2:N} / {3:N} bytes)", StreamIdx,
tools/llvm-pdbutil/MinimalSymbolDumper.cpp
  350   P.formatLine("{0} | {1} [size = {2}]",
  390   P.formatLine("parent = {0}, end = {1}", Block.Parent, Block.End);
  391   P.formatLine("code size = {0}, addr = {1}", Block.CodeSize,
  399   P.formatLine("parent = {0}, end = {1}, next = {2}", Thunk.Parent, Thunk.End,
  401   P.formatLine("kind = {0}, size = {1}, addr = {2}",
  411   P.formatLine("type = {0}, size = {1}, source = {2}, target = {3}",
  423   P.formatLine("length = {0}, alignment = {1}, rva = {2}, section # = {3}",
  437   P.formatLine("length = {0}, addr = {1}", CG.Size,
  451   P.formatLine("type = {0}, offset = {1}", typeIndex(BPRel.Type), BPRel.Offset);
  464   P.formatLine("type = {0}, addr = {1}", typeIndex(CSI.Type),
  473     P.formatLine("- {0}", Entry);
  485       P.formatLine("type = {0}, file name = {1} ({2}), flags = {3}",
  492   P.formatLine("type = {0}, file name offset = {1}, flags = {2}",
  501   P.formatLine("ordinal = {0}, flags = {1}", Export.Ordinal,
  512   P.formatLine("machine = {0}, ver = {1}, language = {2}",
  515   P.formatLine("frontend = {0}.{1}.{2}, backend = {3}.{4}.{5}",
  519   P.formatLine("flags = {0}",
  521   P.formatLine(
  533   P.formatLine("machine = {0}, Ver = {1}, language = {2}",
  536   P.formatLine("frontend = {0}.{1}.{2}.{3}, backend = {4}.{5}.{6}.{7}",
  541   P.formatLine("flags = {0}",
  550   P.formatLine("type = {0}, value = {1}", typeIndex(Constant.Type),
  558   P.formatLine("type = {0}, addr = {1}", typeIndex(Data.Type),
  572   P.formatLine("offset = {0}, range = {1}", Def.Hdr.Offset,
  574   P.formatLine("gaps = {2}", Def.Hdr.Offset,
  582   P.formatLine("register = {0}, offset = {1}, offset in parent = {2}, has "
  587   P.formatLine("range = {0}, gaps = {1}", formatRange(Def.Range),
  595   P.formatLine("register = {0}, may have no name = {1}, range start = "
  602   P.formatLine("gaps = [{0}]",
  611   P.formatLine("register = {0}, may have no name = {1}, offset in parent = {2}",
  614   P.formatLine("range = {0}, gaps = {1}", formatRange(Def.Range),
  622   P.formatLine("program = {0}, offset in parent = {1}, range = {2}",
  624   P.formatLine("gaps = {0}", formatGaps(P.getIndentLevel() + 9, Def.Gaps));
  630   P.formatLine("program = {0}, range = {1}", Def.Program,
  632   P.formatLine("gaps = {0}", formatGaps(P.getIndentLevel() + 9, Def.Gaps));
  638   P.formatLine("code offset = {0}, Register = {1}, kind = {2}, flags = {3}",
  646   P.formatLine("size = {0}, padding size = {1}, offset to padding = {2}",
  648   P.formatLine("bytes of callee saved registers = {0}, exception handler addr "
  653   P.formatLine(
  657   P.formatLine("flags = {0}",
  665   P.formatLine("type = {0}, addr = {1} call size = {2}", typeIndex(HAS.Type),
  673   P.formatLine("inlinee = {0}, parent = {1}, end = {2}", idIndex(IS.Inlinee),
  682     P.formatLine("  {0}", fmt_align(toHex(Annot.Bytes), AlignStyle::Left, 9));
  763   P.formatLine("register = {0}, type = {1}",
  773   P.formatLine("flags = {0}, addr = {1}",
  782   P.formatLine("module = {0}, sum name = {1}, offset = {2}", PR.Module,
  791   P.formatLine("flags = {0}",
  802   P.formatLine("type={0}, flags = {1}", typeIndex(Local.Type), FlagStr);
  815   P.formatLine("parent = {0}, end = {1}, addr = {2}, code size = {3}",
  829   P.formatLine("type = `{0}`, debug start = {1}, debug end = {2}, flags = {3}",
  844     P.formatLine("callee: {0}", idIndex(I));
  853   P.formatLine(
  863   P.formatLine("type = {0}, addr = {1}", typeIndex(Data.Type),
  871   P.formatLine("original type = {0}", UDT.Type);
  884   P.formatLine("addr = {0}", formatSegmentOffset(Annot.Segment, Annot.CodeOffset));
  885   P.formatLine("strings = {0}", typesetStringList(P.getIndentLevel() + 9 + 2,
tools/llvm-pdbutil/MinimalTypeDumper.cpp
  225   P.formatLine("{0} | {1} [size = {2}",
  267   P.formatLine("- {0}", formatTypeLeafKind(Record.Kind));
  309     P.formatLine("{0}: `{1}`", fmt_align(I, AlignStyle::Right, W),
  324     P.formatLine("{0}: `{1}`", fmt_align(I, AlignStyle::Right, W),
  333     P.formatLine("unique name: `{0}`", Class.UniqueName);
  334   P.formatLine("vtable: {0}, base list: {1}, field list: {2}",
  336   P.formatLine("options: {0}, sizeof {1}",
  347     P.formatLine("unique name: `{0}`", Union.UniqueName);
  348   P.formatLine("field list: {0}", Union.FieldList);
  349   P.formatLine("options: {0}, sizeof {1}",
  359     P.formatLine("unique name: `{0}`", Enum.UniqueName);
  360   P.formatLine("field list: {0}, underlying type: {1}", Enum.FieldList,
  362   P.formatLine("options: {0}",
  370     P.formatLine("size: {0}, index type: {1}, element type: {2}", AT.Size,
  373     P.formatLine("name: {0}, size: {1}, index type: {2}, element type: {3}",
  381   P.formatLine("offset: {0}, complete class: {1}, overridden vftable: {2}",
  383   P.formatLine("method names: ");
  396   P.formatLine("name = {0}, type = {1}, class type = {2}", Id.Name,
  403   P.formatLine("return type = {0}, # args = {1}, param list = {2}",
  405   P.formatLine("calling conv = {0}, options = {1}",
  413   P.formatLine("return type = {0}, # args = {1}, param list = {2}",
  415   P.formatLine("class type = {0}, this type = {1}, this adjust = {2}",
  417   P.formatLine("calling conv = {0}, options = {1}",
  425   P.formatLine("name = {0}, type = {1}, parent scope = {2}", Func.Name,
  432   P.formatLine("name = {0}, age = {1}, guid = {2}", TS.Name, TS.Age, TS.Guid);
  438   P.formatLine("referent = {0}, {1}", Ptr.ReferentType,
  445   P.formatLine("referent = {0}, modifiers = {1}", Mod.ModifiedType,
  457   P.formatLine("udt = {0}, mod = {1}, file = {2}, line = {3}", U.UDT, U.Module,
  464   P.formatLine("udt = {0}, file = {1}, line = {2}", U.UDT,
  471   P.formatLine("type = {0}, bit offset = {1}, # bits = {2}", BF.Type,
  479     P.formatLine("- Method [type = {0}, vftable offset = {1}, attrs = {2}]",
  494     P.formatLine("{0}: `{1}`", fmt_align(I, AlignStyle::Right, W),
  530   P.formatLine("type = {0}, vftable offset = {1}, attrs = {2}", Method.Type,
  566   P.formatLine("type = {0}, offset = {1}, attrs = {2}", Base.Type, Base.Offset,
  574   P.formatLine(
  577   P.formatLine("attrs = {0}", memberAttributes(Base.Attrs));
tools/llvm-pdbutil/llvm-pdbutil.cpp
 1114         Printer.formatLine("[not found] - {0}", Name);
 1117       Printer.formatLine("[{0} occurrences] - {1}", Symbols->getChildCount(),