Home
last modified time | relevance | path

Searched refs:WithColor (Results 1 – 25 of 65) sorted by relevance

123

/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-pdbutil/
DPrettyFunctionDumper.cpp45 WithColor(Printer, PDB_ColorItem::Type).get() << ClassParent->getName(); in dumpClassParentWithScopeOperator()
72 WithColor(Printer, PDB_ColorItem::Keyword).get() << CC << " "; in start()
75 WithColor(Printer, PDB_ColorItem::Identifier).get() in start()
82 WithColor(Printer, PDB_ColorItem::Keyword).get() << CC << " "; in start()
84 WithColor(Printer, PDB_ColorItem::Identifier).get() in start()
93 WithColor(Printer, PDB_ColorItem::Identifier).get() << Name; in start()
109 WithColor(Printer, PDB_ColorItem::Keyword).get() << " const"; in start()
111 WithColor(Printer, PDB_ColorItem::Keyword).get() << " volatile"; in start()
119 WithColor(Printer, PDB_ColorItem::Address).get() << format_hex(FuncStart, 10); in start()
122 WithColor(Printer, PDB_ColorItem::Offset).get() in start()
[all …]
DPrettyVariableDumper.cpp52 WithColor(Printer, PDB_ColorItem::Address).get() in start()
55 WithColor(Printer, PDB_ColorItem::Keyword).get() << "static "; in start()
65 WithColor(Printer, PDB_ColorItem::LiteralValue).get() << Var.getValue(); in start()
70 WithColor(Printer, PDB_ColorItem::Offset).get() in start()
78 WithColor(Printer, PDB_ColorItem::Offset).get() in start()
83 WithColor(Printer, PDB_ColorItem::LiteralValue).get() << Var.getLength(); in start()
89 WithColor(Printer, PDB_ColorItem::Identifier).get() << Var.getName(); in start()
98 WithColor(Printer, PDB_ColorItem::Offset).get() in startVbptr()
108 WithColor(Printer, PDB_ColorItem::Offset).get() in start()
136 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName(); in dump()
[all …]
DPrettyCompilandDumper.cpp54 WithColor(Printer, PDB_ColorItem::Path).get() << FullName; in start()
62 WithColor(Printer, PDB_ColorItem::Path).get() << File->getFileName(); in start()
66 WithColor(Printer, PDB_ColorItem::Comment).get() in start()
84 WithColor(Printer, StatementColor).get() << LineStart; in start()
86 WithColor(Printer, StatementColor).get() << " - " << LineEnd; in start()
92 WithColor(Printer, StatementColor).get() << ColumnStart; in start()
94 WithColor(Printer, StatementColor).get() << " - " << ColumnEnd; in start()
101 WithColor(Printer, PDB_ColorItem::Address).get() in start()
107 WithColor(Printer, PDB_ColorItem::Address).get() in start()
139 WithColor(Printer, PDB_ColorItem::Address).get() in dump()
[all …]
DPrettyTypedefDumper.cpp30 WithColor(Printer, PDB_ColorItem::Keyword).get() << "typedef "; in start()
34 WithColor(Printer, PDB_ColorItem::Identifier).get() << " " in start()
46 WithColor(Printer, PDB_ColorItem::Keyword).get() << "enum "; in dump()
47 WithColor(Printer, PDB_ColorItem::Type).get() << " " << Symbol.getName(); in dump()
52 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const "; in dump()
54 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile "; in dump()
68 WithColor(Printer, PDB_ColorItem::Keyword).get() << " __restrict"; in dump()
77 WithColor(Printer, PDB_ColorItem::Keyword).get() << "class "; in dump()
78 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName(); in dump()
DPrettyClassDefinitionDumper.cpp54 WithColor(Printer, PDB_ColorItem::Keyword).get() << Class.getUdtKind() << " "; in prettyPrintClassIntro()
55 WithColor(Printer, PDB_ColorItem::Type).get() << Class.getName(); in prettyPrintClassIntro()
56 WithColor(Printer, PDB_ColorItem::Comment).get() << " [sizeof = " << Size in prettyPrintClassIntro()
69 WithColor(Printer, PDB_ColorItem::Keyword).get() << Base.getAccess(); in prettyPrintClassIntro()
71 WithColor(Printer, PDB_ColorItem::Keyword).get() << " virtual"; in prettyPrintClassIntro()
73 WithColor(Printer, PDB_ColorItem::Type).get() << " " << Base.getName(); in prettyPrintClassIntro()
95 WithColor(Printer, PDB_ColorItem::Padding).get() in prettyPrintClassOutro()
103 WithColor(Printer, PDB_ColorItem::Padding).get() in prettyPrintClassOutro()
DPrettyEnumDumper.cpp26 WithColor(Printer, PDB_ColorItem::Keyword).get() << "enum "; in start()
27 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName(); in start()
46 WithColor(Printer, PDB_ColorItem::Identifier).get() in start()
49 WithColor(Printer, PDB_ColorItem::LiteralValue).get() in start()
DPrettyBuiltinDumper.cpp23 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const "; in start()
25 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile "; in start()
26 WithColor(Printer, PDB_ColorItem::Type).get() << getTypeName(Symbol); in start()
/external/llvm/tools/llvm-pdbdump/
DFunctionDumper.cpp45 WithColor(Printer, PDB_ColorItem::Type).get() << ClassParent->getName(); in dumpClassParentWithScopeOperator()
72 WithColor(Printer, PDB_ColorItem::Keyword).get() << CC << " "; in start()
75 WithColor(Printer, PDB_ColorItem::Identifier).get() in start()
82 WithColor(Printer, PDB_ColorItem::Keyword).get() << CC << " "; in start()
84 WithColor(Printer, PDB_ColorItem::Identifier).get() in start()
93 WithColor(Printer, PDB_ColorItem::Identifier).get() << Name; in start()
109 WithColor(Printer, PDB_ColorItem::Keyword).get() << " const"; in start()
111 WithColor(Printer, PDB_ColorItem::Keyword).get() << " volatile"; in start()
119 WithColor(Printer, PDB_ColorItem::Address).get() << format_hex(FuncStart, 10); in start()
122 WithColor(Printer, PDB_ColorItem::Offset).get() << "+" << Prologue; in start()
[all …]
DVariableDumper.cpp47 WithColor(Printer, PDB_ColorItem::Address).get() in start()
50 WithColor(Printer, PDB_ColorItem::Keyword).get() << "static "; in start()
58 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const "; in start()
61 WithColor(Printer, PDB_ColorItem::LiteralValue).get() << Var.getValue(); in start()
66 WithColor(Printer, PDB_ColorItem::Offset).get() in start()
73 WithColor(Printer, PDB_ColorItem::Offset).get() in start()
77 WithColor(Printer, PDB_ColorItem::LiteralValue).get() << Var.getLength(); in start()
83 WithColor(Printer, PDB_ColorItem::Identifier).get() << Var.getName(); in start()
94 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName(); in dump()
112 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const "; in dump()
[all …]
DCompilandDumper.cpp54 WithColor(Printer, PDB_ColorItem::Path).get() << FullName; in start()
62 WithColor(Printer, PDB_ColorItem::Path).get() << File->getFileName(); in start()
75 WithColor(Printer, StatementColor).get() << LineStart; in start()
77 WithColor(Printer, StatementColor).get() << " - " << LineEnd; in start()
83 WithColor(Printer, PDB_ColorItem::Address).get() in start()
89 WithColor(Printer, PDB_ColorItem::Address).get() in start()
117 WithColor(Printer, PDB_ColorItem::Address).get() in dump()
122 WithColor(Printer, PDB_ColorItem::LiteralValue).get() in dump()
130 WithColor(Printer, PDB_ColorItem::Identifier).get() << Symbol.getName(); in dump()
150 WithColor(Printer, PDB_ColorItem::Address).get() in dump()
[all …]
DTypedefDumper.cpp31 WithColor(Printer, PDB_ColorItem::Keyword).get() << "typedef "; in start()
35 WithColor(Printer, PDB_ColorItem::Identifier).get() << " " in start()
47 WithColor(Printer, PDB_ColorItem::Keyword).get() << "enum "; in dump()
48 WithColor(Printer, PDB_ColorItem::Type).get() << " " << Symbol.getName(); in dump()
53 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const "; in dump()
55 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile "; in dump()
78 WithColor(Printer, PDB_ColorItem::Keyword).get() << "class "; in dump()
79 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName(); in dump()
DClassDefinitionDumper.cpp38 WithColor(Printer, PDB_ColorItem::Keyword).get() << Class.getUdtKind() << " "; in start()
39 WithColor(Printer, PDB_ColorItem::Type).get() << Class.getName(); in start()
49 WithColor(Printer, PDB_ColorItem::Keyword).get() << Base->getAccess(); in start()
51 WithColor(Printer, PDB_ColorItem::Keyword).get() << " virtual"; in start()
52 WithColor(Printer, PDB_ColorItem::Type).get() << " " << Base->getName(); in start()
124 WithColor(Printer, PDB_ColorItem::Keyword).get() << "private"; in dumpAccessGroup()
128 WithColor(Printer, PDB_ColorItem::Keyword).get() << "protected"; in dumpAccessGroup()
132 WithColor(Printer, PDB_ColorItem::Keyword).get() << "public"; in dumpAccessGroup()
DTypeDumper.cpp34 WithColor(Printer, PDB_ColorItem::Identifier).get() << "Enums"; in start()
43 WithColor(Printer, PDB_ColorItem::Identifier).get() << "Typedefs"; in start()
52 WithColor(Printer, PDB_ColorItem::Identifier).get() << "Classes"; in start()
92 WithColor(Printer, PDB_ColorItem::Keyword).get() << "class "; in dump()
93 WithColor(Printer, PDB_ColorItem::Identifier).get() << Symbol.getName(); in dump()
DEnumDumper.cpp26 WithColor(Printer, PDB_ColorItem::Keyword).get() << "enum "; in start()
27 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName(); in start()
43 WithColor(Printer, PDB_ColorItem::Identifier).get() in start()
46 WithColor(Printer, PDB_ColorItem::LiteralValue).get() in start()
DLinePrinter.cpp86 WithColor::WithColor(LinePrinter &P, PDB_ColorItem C) : OS(P.OS) { in WithColor() function in WithColor
90 WithColor::~WithColor() { OS.resetColor(); } in ~WithColor()
92 void WithColor::applyColor(PDB_ColorItem C) { in applyColor()
DLinePrinter.h24 friend class WithColor; variable
80 class WithColor {
82 WithColor(LinePrinter &P, PDB_ColorItem C);
83 ~WithColor();
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DWithColor.cpp22 bool WithColor::colorsEnabled(raw_ostream &OS) { in colorsEnabled()
28 WithColor::WithColor(raw_ostream &OS, HighlightColor Color) : OS(OS) { in WithColor() function in WithColor
63 raw_ostream &WithColor::error() { return error(errs()); } in error()
65 raw_ostream &WithColor::warning() { return warning(errs()); } in warning()
67 raw_ostream &WithColor::note() { return note(errs()); } in note()
69 raw_ostream &WithColor::error(raw_ostream &OS, StringRef Prefix) { in error()
72 return WithColor(OS, HighlightColor::Error).get() << "error: "; in error()
75 raw_ostream &WithColor::warning(raw_ostream &OS, StringRef Prefix) { in warning()
78 return WithColor(OS, HighlightColor::Warning).get() << "warning: "; in warning()
81 raw_ostream &WithColor::note(raw_ostream &OS, StringRef Prefix) { in note()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llc/
Dllc.cpp235 WithColor::error() << EC.message() << '\n'; in GetOutputStream()
271 WithColor::note() << "!srcloc = " << LocCookie << "\n"; in InlineAsmDiagHandler()
334 WithColor::error(errs(), argv[0]) << EC.message() << '\n'; in main()
343 WithColor::error(errs(), argv[0]) in main()
367 WithColor::error(errs(), argv0) in addPass()
376 WithColor::error(errs(), argv0) in addPass()
407 Err.print(argv[0], WithColor::error(errs(), argv[0])); in compileModule()
427 WithColor::error(errs(), argv[0]) << Error; in compileModule()
436 WithColor::error(errs(), argv[0]) << "invalid optimization level.\n"; in compileModule()
481 WithColor::error(errs(), argv[0]) << EC.message() << '\n'; in compileModule()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/
Ddsymutil.cpp178 WithColor::error() << "cannot create plist file " << InfoPlist << ": " in createPlistFile()
244 WithColor::error() << "cannot create directory " << Bundle << ": " in createBundleDir()
253 WithColor::warning() << "verification skipped for " << Arch in verify()
272 WithColor::error() << "verification failed for " << Arch << '\n'; in verify()
423 WithColor::error() << toString(OptionsOrErr.takeError()); in main()
434 WithColor::error() << toString(InputsOrErr.takeError()) << '\n'; in main()
439 WithColor::error() << "cannot emit to standard output without --flat\n"; in main()
444 WithColor::error() << "cannot use -o with multiple inputs in flat mode\n"; in main()
452 WithColor::warning() in main()
458 WithColor::error() << "unsupported cpu architecture: '" << Arch << "'\n"; in main()
[all …]
DLinkUtils.h67 WithColor::warning() << Warning + "\n";
69 WithColor::note() << Twine("while processing ") + Context + "\n";
73 WithColor::error() << Error + "\n";
75 WithColor::note() << Twine("while processing ") + Context + "\n";
/external/llvm/lib/DebugInfo/DWARF/
DSyntaxHighlighting.cpp21 WithColor::WithColor(llvm::raw_ostream &OS, enum HighlightColor Type) : OS(OS) { in WithColor() function in WithColor
35 WithColor::~WithColor() { in ~WithColor()
DSyntaxHighlighting.h24 class WithColor {
29 WithColor(llvm::raw_ostream &OS, enum HighlightColor Type);
30 ~WithColor();
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DWithColor.h37 class WithColor {
44 WithColor(raw_ostream &OS, HighlightColor S);
45 ~WithColor();
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-link/
Dllvm-link.cpp191 WithColor::error(); in handleDiagnostics()
196 WithColor::warning(); in handleDiagnostics()
242 WithColor::error() << "input module is broken!\n"; in importFunctions()
287 WithColor::error() << " loading file '" << File << "'\n"; in linkFiles()
296 WithColor::error() << "input module is broken!\n"; in linkFiles()
387 WithColor::error() << EC.message() << '\n'; in main()
393 WithColor::error() << "linked module is broken!\n"; in main()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/lli/
Dlli.cpp323 WithColor::error(errs(), "lli") << "invalid optimization level.\n"; in getOptLevel()
435 WithColor::error(errs(), argv[0]) in main()
451 WithColor::error(errs(), argv[0]) in main()
454 WithColor::error(errs(), argv[0]) << "unknown error creating EE!\n"; in main()
530 WithColor::warning(errs(), argv[0]) in main()
557 WithColor::error(errs(), argv[0]) in main()
571 WithColor::warning(errs(), argv[0]) in main()
573 WithColor::note() << "defaulting to local execution\n"; in main()
577 WithColor::error(errs(), argv[0]) in main()
581 WithColor::error(errs(), argv[0]) in main()
[all …]

123