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

References

tools/llvm-pdbutil/LinePrinter.cpp
  287 WithColor::WithColor(LinePrinter &P, PDB_ColorItem C)
  298 void WithColor::applyColor(PDB_ColorItem C) {
  300   case PDB_ColorItem::None:
  303   case PDB_ColorItem::Comment:
  306   case PDB_ColorItem::Address:
  309   case PDB_ColorItem::Keyword:
  312   case PDB_ColorItem::Register:
  313   case PDB_ColorItem::Offset:
  316   case PDB_ColorItem::Type:
  319   case PDB_ColorItem::Identifier:
  322   case PDB_ColorItem::Path:
  325   case PDB_ColorItem::Padding:
  326   case PDB_ColorItem::SectionHeader:
  329   case PDB_ColorItem::LiteralValue:
tools/llvm-pdbutil/LinePrinter.h
  155   WithColor(LinePrinter &P, PDB_ColorItem C);
  161   void applyColor(PDB_ColorItem C);
tools/llvm-pdbutil/PrettyBuiltinDumper.cpp
   22     WithColor(Printer, PDB_ColorItem::Keyword).get() << "const ";
   24     WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile ";
   25   WithColor(Printer, PDB_ColorItem::Type).get() << getTypeName(Symbol);
tools/llvm-pdbutil/PrettyClassDefinitionDumper.cpp
   54     WithColor(Printer, PDB_ColorItem::Keyword).get() << "const ";
   56     WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile ";
   58     WithColor(Printer, PDB_ColorItem::Keyword).get() << "unaligned ";
   60   WithColor(Printer, PDB_ColorItem::Keyword).get() << Class.getUdtKind() << " ";
   61   WithColor(Printer, PDB_ColorItem::Type).get() << Class.getName();
   62   WithColor(Printer, PDB_ColorItem::Comment).get() << " [sizeof = " << Size
   75       WithColor(Printer, PDB_ColorItem::Keyword).get() << Base.getAccess();
   77         WithColor(Printer, PDB_ColorItem::Keyword).get() << " virtual";
   79       WithColor(Printer, PDB_ColorItem::Type).get() << " " << Base.getName();
  101     WithColor(Printer, PDB_ColorItem::Padding).get()
  109     WithColor(Printer, PDB_ColorItem::Padding).get()
tools/llvm-pdbutil/PrettyClassLayoutGraphicalDumper.cpp
   88       WithColor(Printer, PDB_ColorItem::Padding).get()
  102   WithColor(Printer, PDB_ColorItem::Padding).get() << "<padding> (" << Amount
  124   WithColor(Printer, PDB_ColorItem::Offset).get()
  128   WithColor(Printer, PDB_ColorItem::Identifier).get() << Layout.getName();
tools/llvm-pdbutil/PrettyCompilandDumper.cpp
   54   WithColor(Printer, PDB_ColorItem::Path).get() << FullName;
   62         WithColor(Printer, PDB_ColorItem::Path).get() << File->getFileName();
   66           WithColor(Printer, PDB_ColorItem::Comment).get()
   81           PDB_ColorItem StatementColor = Line->isStatement()
   82             ? PDB_ColorItem::Keyword
   83             : PDB_ColorItem::LiteralValue;
  101             WithColor(Printer, PDB_ColorItem::Address).get()
  107             WithColor(Printer, PDB_ColorItem::Address).get()
  139     WithColor(Printer, PDB_ColorItem::Address).get()
  142     WithColor(Printer, PDB_ColorItem::Comment).get()
  148     WithColor(Printer, PDB_ColorItem::LiteralValue).get()
  150     WithColor(Printer, PDB_ColorItem::Comment).get()
  158   WithColor(Printer, PDB_ColorItem::Identifier).get() << Symbol.getName();
  180   WithColor(Printer, PDB_ColorItem::Address).get()
  182   WithColor(Printer, PDB_ColorItem::Identifier).get() << Symbol.getName();
  197     WithColor(Printer, PDB_ColorItem::Address).get() << format_hex(VA, 10);
  199     WithColor(Printer, PDB_ColorItem::Address).get() << format_hex(Target, 10);
  201     WithColor(Printer, PDB_ColorItem::Address).get()
  206   WithColor(Printer, PDB_ColorItem::Register).get() << Ordinal;
  210     WithColor(Printer, PDB_ColorItem::Identifier).get() << Name;
  227   WithColor(Printer, PDB_ColorItem::Identifier).get() << Name;
tools/llvm-pdbutil/PrettyEnumDumper.cpp
   27       WithColor(Printer, PDB_ColorItem::Keyword).get() << "const ";
   29       WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile ";
   31       WithColor(Printer, PDB_ColorItem::Keyword).get() << "unaligned ";
   32     WithColor(Printer, PDB_ColorItem::Keyword).get() << "enum ";
   33     WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName();
   37   WithColor(Printer, PDB_ColorItem::Keyword).get() << "enum ";
   38   WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName();
   57         WithColor(Printer, PDB_ColorItem::Identifier).get()
   60         WithColor(Printer, PDB_ColorItem::LiteralValue).get()
tools/llvm-pdbutil/PrettyExternalSymbolDumper.cpp
   38   WithColor(Printer, PDB_ColorItem::Address).get() << format_hex(Addr, 10);
   40   WithColor(Printer, PDB_ColorItem::Identifier).get() << LinkageName;
tools/llvm-pdbutil/PrettyFunctionDumper.cpp
   44   WithColor(Printer, PDB_ColorItem::Type).get() << ClassParent->getName();
   74       WithColor(Printer, PDB_ColorItem::Keyword).get() << CC << " ";
   77       WithColor(Printer, PDB_ColorItem::Identifier).get()
   84       WithColor(Printer, PDB_ColorItem::Keyword).get() << CC << " ";
   86       WithColor(Printer, PDB_ColorItem::Identifier).get()
   95       WithColor(Printer, PDB_ColorItem::Identifier).get() << Name;
  111     WithColor(Printer, PDB_ColorItem::Keyword).get() << " const";
  113     WithColor(Printer, PDB_ColorItem::Keyword).get() << " volatile";
  121   WithColor(Printer, PDB_ColorItem::Address).get() << format_hex(FuncStart, 10);
  124     WithColor(Printer, PDB_ColorItem::Offset).get()
  128   WithColor(Printer, PDB_ColorItem::Address).get() << format_hex(FuncEnd, 10);
  131     WithColor(Printer, PDB_ColorItem::Offset).get()
  135   WithColor(Printer, PDB_ColorItem::Comment).get()
  140     WithColor(Printer, PDB_ColorItem::Register).get()
  144     WithColor(Printer, PDB_ColorItem::Register).get() << "FPO";
  149     WithColor(Printer, PDB_ColorItem::Keyword).get() << "virtual ";
  153     WithColor(Printer, PDB_ColorItem::Identifier).get() << Symbol.getName();
  172     WithColor(Printer, PDB_ColorItem::Keyword).get()
  175   WithColor(Printer, PDB_ColorItem::Identifier).get() << Symbol.getName();
  190       WithColor(Printer, PDB_ColorItem::Identifier).get() << " "
  200     WithColor(Printer, PDB_ColorItem::Keyword).get() << " const";
  202     WithColor(Printer, PDB_ColorItem::Keyword).get() << " volatile";
  212   WithColor(Printer, PDB_ColorItem::LiteralValue).get() << Symbol.getLength();
  223   WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName();
  239   WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName();
  254       WithColor(Printer, PDB_ColorItem::Keyword).get() << "const ";
  256       WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile ";
  261       WithColor(Printer, PDB_ColorItem::Keyword).get() << " __restrict";
  266   WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName();
tools/llvm-pdbutil/PrettyTypeDumper.cpp
  165     WithColor(Printer, PDB_ColorItem::Identifier).get() << Label;
  183       WithColor(Printer, PDB_ColorItem::Keyword).get() << "const ";
  185       WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile ";
  187       WithColor(Printer, PDB_ColorItem::Keyword).get() << "unaligned ";
  189   WithColor(Printer, PDB_ColorItem::Keyword).get() << Class.getUdtKind() << " ";
  190   WithColor(Printer, PDB_ColorItem::Type).get() << Class.getName();
  219       WithColor(Printer, PDB_ColorItem::Identifier).get() << "Classes";
  303   WithColor(Printer, PDB_ColorItem::LiteralValue).get() << Symbol.getCount();
  352     WithColor(Printer, PDB_ColorItem::Keyword).get()
  354     WithColor(Printer, PDB_ColorItem::Type).get() << Class.getName();
tools/llvm-pdbutil/PrettyTypedefDumper.cpp
   30   WithColor(Printer, PDB_ColorItem::Keyword).get() << "typedef ";
   34   WithColor(Printer, PDB_ColorItem::Identifier).get() << " "
   49   WithColor(Printer, PDB_ColorItem::Keyword).get() << "enum ";
   50   WithColor(Printer, PDB_ColorItem::Type).get() << " " << Symbol.getName();
   55     WithColor(Printer, PDB_ColorItem::Keyword).get() << "const ";
   57     WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile ";
   71     WithColor(Printer, PDB_ColorItem::Keyword).get() << " __restrict";
   80   WithColor(Printer, PDB_ColorItem::Keyword).get() << "class ";
   81   WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName();
tools/llvm-pdbutil/PrettyVariableDumper.cpp
   51     WithColor(Printer, PDB_ColorItem::Address).get()
   54     WithColor(Printer, PDB_ColorItem::Keyword).get() << "static ";
   64     WithColor(Printer, PDB_ColorItem::LiteralValue).get() << Var.getValue();
   69     WithColor(Printer, PDB_ColorItem::Offset).get()
   77     WithColor(Printer, PDB_ColorItem::Offset).get()
   82     WithColor(Printer, PDB_ColorItem::LiteralValue).get() << Var.getLength();
   88     WithColor(Printer, PDB_ColorItem::Identifier).get() << Var.getName();
   97   WithColor(Printer, PDB_ColorItem::Offset).get()
  107   WithColor(Printer, PDB_ColorItem::Offset).get()
  135   WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName();
  149     WithColor(Printer, PDB_ColorItem::Identifier).get()
  168     WithColor(Printer, PDB_ColorItem::Keyword).get() << " const";
  170     WithColor(Printer, PDB_ColorItem::Keyword).get() << " volatile";
  173     WithColor(Printer, PDB_ColorItem::Keyword).get() << " __restrict";
  185     WithColor(Printer, PDB_ColorItem::Keyword).get() << CC << " ";
  191     WithColor(Printer, PDB_ColorItem::Keyword).get() << " const ";
  193     WithColor(Printer, PDB_ColorItem::Keyword).get() << " volatile ";
  196     WithColor(Printer, PDB_ColorItem::Keyword).get() << " __restrict ";
  212   WithColor(Printer, PDB_ColorItem::Keyword).get() << "typedef ";
  213   WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName();
  217   WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName();
  223   WithColor(Printer, PDB_ColorItem::Identifier).get() << " " << Name;
tools/llvm-pdbutil/llvm-pdbutil.cpp
  950     WithColor(Printer, PDB_ColorItem::Path).get() << File;
  952     WithColor(Printer, PDB_ColorItem::LiteralValue).get() << Size;
  954     WithColor(Printer, PDB_ColorItem::Keyword).get() << "obj";
  956     WithColor(Printer, PDB_ColorItem::Path).get() << Obj;
  958     WithColor(Printer, PDB_ColorItem::Keyword).get() << "vname";
  960     WithColor(Printer, PDB_ColorItem::Path).get() << VFName;
  962     WithColor(Printer, PDB_ColorItem::Keyword).get() << "crc";
  964     WithColor(Printer, PDB_ColorItem::LiteralValue).get() << CRC;
  966     WithColor(Printer, PDB_ColorItem::Keyword).get() << "compression";
  969         WithColor(Printer, PDB_ColorItem::LiteralValue).get(),
 1075   WithColor(Printer, PDB_ColorItem::None).get() << "Summary for ";
 1076   WithColor(Printer, PDB_ColorItem::Path).get() << FileName;
 1081   WithColor(Printer, PDB_ColorItem::Identifier).get() << "Size";
 1089   WithColor(Printer, PDB_ColorItem::Identifier).get() << "Guid";
 1093   WithColor(Printer, PDB_ColorItem::Identifier).get() << "Age";
 1097   WithColor(Printer, PDB_ColorItem::Identifier).get() << "Attributes";
 1107     WithColor(Printer, PDB_ColorItem::SectionHeader).get()
 1183     WithColor(Printer, PDB_ColorItem::SectionHeader).get()
 1203     WithColor(Printer, PDB_ColorItem::SectionHeader).get() << "---TYPES---";
 1212     WithColor(Printer, PDB_ColorItem::SectionHeader).get() << "---SYMBOLS---";
 1224     WithColor(Printer, PDB_ColorItem::SectionHeader).get() << "---GLOBALS---";
 1273     WithColor(Printer, PDB_ColorItem::SectionHeader).get() << "---EXTERNALS---";
 1283     WithColor(Printer, PDB_ColorItem::SectionHeader).get()