Home
last modified time | relevance | path

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

12345

/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DWithColor.cpp41 WithColor::AutoDetectFunctionType WithColor::AutoDetectFunction =
44 WithColor::WithColor(raw_ostream &OS, HighlightColor Color, ColorMode Mode) in WithColor() function in WithColor
83 raw_ostream &WithColor::error() { return error(errs()); } in error()
85 raw_ostream &WithColor::warning() { return warning(errs()); } in warning()
87 raw_ostream &WithColor::note() { return note(errs()); } in note()
89 raw_ostream &WithColor::remark() { return remark(errs()); } in remark()
91 raw_ostream &WithColor::error(raw_ostream &OS, StringRef Prefix, in error()
95 return WithColor(OS, HighlightColor::Error, in error()
101 raw_ostream &WithColor::warning(raw_ostream &OS, StringRef Prefix, in warning()
105 return WithColor(OS, HighlightColor::Warning, in warning()
[all …]
/openbsd-src/gnu/llvm/llvm/tools/llvm-pdbutil/
H A DPrettyFunctionDumper.cpp47 WithColor(Printer, PDB_ColorItem::Type).get() << ClassParent->getName(); in dumpClassParentWithScopeOperator()
77 WithColor(Printer, PDB_ColorItem::Keyword).get() << CC << " "; in start()
80 WithColor(Printer, PDB_ColorItem::Identifier).get() in start()
87 WithColor(Printer, PDB_ColorItem::Keyword).get() << CC << " "; in start()
89 WithColor(Printer, PDB_ColorItem::Identifier).get() in start()
98 WithColor(Printer, PDB_ColorItem::Identifier).get() << Name; in start()
114 WithColor(Printer, PDB_ColorItem::Keyword).get() << " const"; in start()
116 WithColor(Printer, PDB_ColorItem::Keyword).get() << " volatile"; in start()
124 WithColor(Printer, PDB_ColorItem::Address).get() << format_hex(FuncStart, 10); in start()
127 WithColor(Printer, PDB_ColorItem::Offset).get() in start()
[all …]
H A DPrettyVariableDumper.cpp53 WithColor(Printer, PDB_ColorItem::Address).get() in start()
56 WithColor(Printer, PDB_ColorItem::Keyword).get() << "static "; in start()
66 WithColor(Printer, PDB_ColorItem::LiteralValue).get() << Var.getValue(); in start()
71 WithColor(Printer, PDB_ColorItem::Offset).get() in start()
79 WithColor(Printer, PDB_ColorItem::Offset).get() in start()
84 WithColor(Printer, PDB_ColorItem::LiteralValue).get() << Var.getLength(); in start()
90 WithColor(Printer, PDB_ColorItem::Identifier).get() << Var.getName(); in start()
99 WithColor(Printer, PDB_ColorItem::Offset).get() in startVbptr()
109 WithColor(Printer, PDB_ColorItem::Offset).get() in start()
137 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName(); in dump()
[all …]
H A DPrettyCompilandDumper.cpp53 WithColor(Printer, PDB_ColorItem::Path).get() << FullName; in start()
61 WithColor(Printer, PDB_ColorItem::Path).get() << File->getFileName(); in start()
65 WithColor(Printer, PDB_ColorItem::Comment).get() in start()
83 WithColor(Printer, StatementColor).get() << LineStart; in start()
85 WithColor(Printer, StatementColor).get() << " - " << LineEnd; in start()
91 WithColor(Printer, StatementColor).get() << ColumnStart; in start()
93 WithColor(Printer, StatementColor).get() << " - " << ColumnEnd; in start()
100 WithColor(Printer, PDB_ColorItem::Address).get() in start()
106 WithColor(Printer, PDB_ColorItem::Address).get() in start()
138 WithColor(Printer, PDB_ColorItem::Address).get() in dump()
[all …]
H A DPrettyClassDefinitionDumper.cpp55 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const "; in prettyPrintClassIntro()
57 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile "; in prettyPrintClassIntro()
59 WithColor(Printer, PDB_ColorItem::Keyword).get() << "unaligned "; in prettyPrintClassIntro()
61 WithColor(Printer, PDB_ColorItem::Keyword).get() << Class.getUdtKind() << " "; in prettyPrintClassIntro()
62 WithColor(Printer, PDB_ColorItem::Type).get() << Class.getName(); in prettyPrintClassIntro()
63 WithColor(Printer, PDB_ColorItem::Comment).get() << " [sizeof = " << Size in prettyPrintClassIntro()
76 WithColor(Printer, PDB_ColorItem::Keyword).get() << Base.getAccess(); in prettyPrintClassIntro()
78 WithColor(Printer, PDB_ColorItem::Keyword).get() << " virtual"; in prettyPrintClassIntro()
80 WithColor(Printer, PDB_ColorItem::Type).get() << " " << Base.getName(); in prettyPrintClassIntro()
102 WithColor(Printer, PDB_ColorItem::Padding).get() in prettyPrintClassOutro()
[all …]
H A DPrettyEnumDumper.cpp28 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const "; in start()
30 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile "; in start()
32 WithColor(Printer, PDB_ColorItem::Keyword).get() << "unaligned "; in start()
33 WithColor(Printer, PDB_ColorItem::Keyword).get() << "enum "; in start()
34 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName(); in start()
38 WithColor(Printer, PDB_ColorItem::Keyword).get() << "enum "; in start()
39 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName(); in start()
58 WithColor(Printer, PDB_ColorItem::Identifier).get() in start()
61 WithColor(Printer, PDB_ColorItem::LiteralValue).get() in start()
H A DPrettyTypedefDumper.cpp32 WithColor(Printer, PDB_ColorItem::Keyword).get() << "typedef "; in start()
36 WithColor(Printer, PDB_ColorItem::Identifier).get() << " " in start()
51 WithColor(Printer, PDB_ColorItem::Keyword).get() << "enum "; in dump()
52 WithColor(Printer, PDB_ColorItem::Type).get() << " " << Symbol.getName(); in dump()
57 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const "; in dump()
59 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile "; in dump()
73 WithColor(Printer, PDB_ColorItem::Keyword).get() << " __restrict"; in dump()
82 WithColor(Printer, PDB_ColorItem::Keyword).get() << "class "; in dump()
83 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName(); in dump()
H A DPrettyTypeDumper.cpp167 WithColor(Printer, PDB_ColorItem::Identifier).get() << Label; in dumpSymbolCategory()
185 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const "; in printClassDecl()
187 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile "; in printClassDecl()
189 WithColor(Printer, PDB_ColorItem::Keyword).get() << "unaligned "; in printClassDecl()
191 WithColor(Printer, PDB_ColorItem::Keyword).get() << Class.getUdtKind() << " "; in printClassDecl()
192 WithColor(Printer, PDB_ColorItem::Type).get() << Class.getName(); in printClassDecl()
221 WithColor(Printer, PDB_ColorItem::Identifier).get() << "Classes"; in start()
305 WithColor(Printer, PDB_ColorItem::LiteralValue).get() << Symbol.getCount(); in dump()
354 WithColor(Printer, PDB_ColorItem::Keyword).get() in dumpClassLayout()
356 WithColor(Printer, PDB_ColorItem::Type).get() << Class.getName(); in dumpClassLayout()
H A DPrettyBuiltinDumper.cpp22 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const "; in start()
24 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile "; in start()
25 WithColor(Printer, PDB_ColorItem::Type).get() << getTypeName(Symbol); in start()
/openbsd-src/gnu/llvm/llvm/include/llvm/Support/
H A DWithColor.h53 class WithColor {
61 WithColor(raw_ostream &OS, HighlightColor S,
70 WithColor(raw_ostream &OS,
77 ~WithColor();
81 template <typename T> WithColor &operator<<(T &O) {
85 template <typename T> WithColor &operator<<(const T &O) {
120 WithColor &changeColor(raw_ostream::Colors Color, bool Bold = false,
125 WithColor &resetColor();
/openbsd-src/gnu/llvm/llvm/utils/FileCheck/
H A DFileCheck.cpp262 WithColor(OS, raw_ostream::SAVEDCOLOR, true) << "L:"; in DumpInputAnnotationHelp()
270 WithColor(OS, raw_ostream::SAVEDCOLOR, true) << "T:L"; in DumpInputAnnotationHelp()
278 WithColor(OS, raw_ostream::SAVEDCOLOR, true) << "T:L'N"; in DumpInputAnnotationHelp()
283 WithColor(OS, raw_ostream::SAVEDCOLOR, true) << "^~~"; in DumpInputAnnotationHelp()
286 WithColor(OS, raw_ostream::SAVEDCOLOR, true) << "!~~"; in DumpInputAnnotationHelp()
293 WithColor(OS, raw_ostream::SAVEDCOLOR, true) << "X~~"; in DumpInputAnnotationHelp()
299 WithColor(OS, raw_ostream::SAVEDCOLOR, true) << "?"; in DumpInputAnnotationHelp()
304 WithColor(OS, raw_ostream::SAVEDCOLOR, true) << "..."; in DumpInputAnnotationHelp()
310 WithColor(OS, raw_ostream::GREEN, true) << "success"; in DumpInputAnnotationHelp()
312 WithColor(OS, raw_ostream::RED, true) << "error"; in DumpInputAnnotationHelp()
[all …]
/openbsd-src/gnu/llvm/llvm/tools/dsymutil/
H A DLinkUtils.h104 WithColor::warning() << Warning + "\n";
106 WithColor::note() << Twine("while processing ") + Context + "\n";
110 WithColor::error() << Error + "\n";
112 WithColor::note() << Twine("while processing ") + Context + "\n";
H A Ddsymutil.cpp463 WithColor::warning() << "verification skipped for " << Arch in verifyOutput()
470 WithColor::error() << OutputFile << ": " << toString(BinOrErr.takeError()); in verifyOutput()
482 WithColor::error() << "output verification failed for " << Arch << '\n'; in verifyOutput()
568 WithColor::warning() << "ignoring unknown option: " << Arg->getSpelling() in main()
590 WithColor::error() << toString(OptionsOrErr.takeError()); in main()
604 WithColor::error() << toString(Repro.takeError()); in main()
613 WithColor::error() << "unsupported cpu architecture: '" << Arch << "'\n"; in main()
634 WithColor::error() << "cannot parse the debug map for '" << InputFile in main()
653 WithColor::error() << "no architecture to link\n"; in main()
664 WithColor::error() << toString(OutputLocationOrErr.takeError()); in main()
[all …]
H A DSymbolMap.cpp39 WithColor::warning() << "reference to a unexisting unobfuscated string " in operator ()()
120 WithColor::warning() << SymbolMapPath << ": " << EC.message() in Load()
136 WithColor::warning() << SymbolMapPath in Load()
146 WithColor::warning() << SymbolMapPath in Load()
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/Symbolize/
H A DMarkupFilter.cpp42 ColorsEnabled.value_or(WithColor::defaultAutoDetectFunction()(OS))) {} in MarkupFilter()
103 WithColor::error(errs()) in tryMMap()
157 WithColor::error(errs()) << "duplicate module ID\n"; in tryModule()
262 WithColor::error() << "no mmap covers address\n"; in tryPC()
271 WithColor::defaultErrorHandler(LI.takeError()); in tryPC()
319 WithColor::error() << "no mmap covers address\n"; in tryBackTrace()
329 WithColor::defaultErrorHandler(II.takeError()); in tryBackTrace()
383 WithColor::error() << "no mmap covers address\n"; in tryData()
392 WithColor::defaultErrorHandler(Symbol.takeError()); in tryData()
510 WithColor::error() << "unknown module type\n"; in parseModule()
[all …]
/openbsd-src/gnu/llvm/llvm/tools/llvm-ml/
H A Dllvm-ml.cpp108 WithColor::error() << EC.message() << '\n'; in GetOutputStream()
145 WithColor::error(errs(), ProgName) in AssembleInput()
168 WithColor::error(errs(), ProgName) in AssembleInput()
185 WithColor::error(errs(), ProgName) in AssembleInput()
220 WithColor::warning(errs(), ProgName) in main()
234 WithColor::error(errs(), ProgName) << OS.str() << '\n'; in main()
240 WithColor::warning(errs(), ProgName) in main()
248 WithColor::warning(errs(), ProgName) in main()
280 WithColor::error(errs(), ProgName) << Error; in main()
287 WithColor::warning() in main()
[all …]
/openbsd-src/gnu/llvm/llvm/tools/llvm-ifs/
H A Dllvm-ifs.cpp250 WithColor::defaultErrorHandler(std::move(Err)); in fatalError()
255 WithColor::error() << T.str() << '\n'; in fatalError()
414 WithColor::error() in llvm_ifs_main()
425 WithColor::error() << "Interface Stub: Target Mismatch." in llvm_ifs_main()
431 WithColor::error() << "Interface Stub: SoName Mismatch." in llvm_ifs_main()
439 WithColor::error() << "Interface Stub: NeededLibs Mismatch." in llvm_ifs_main()
458 WithColor::error() << "Interface Stub: Type Mismatch for " in llvm_ifs_main()
466 WithColor::error() << "Interface Stub: Size Mismatch for " in llvm_ifs_main()
485 WithColor::error() << "Interface Stub: Bad IfsVersion: " in llvm_ifs_main()
516 WithColor::error() << "at least one output should be specified."; in llvm_ifs_main()
[all …]
/openbsd-src/gnu/llvm/llvm/tools/llvm-mca/
H A Dllvm-mca.cpp310 WithColor::error() << toString(Cycles.takeError()); in runPipeline()
352 WithColor::error() << InputFilename << ": " << EC.message() << '\n'; in main()
375 WithColor::error() in main()
381 WithColor::note() in main()
423 WithColor::error() in main()
442 WithColor::error() << E.getMessage() << '\n'; in main()
445 WithColor::error() << toString(std::move(Err)) << '\n'; in main()
456 WithColor::error() << "no assembly instructions found.\n"; in main()
484 WithColor::error() << E.getMessage() << '\n'; in main()
487 WithColor::error() << toString(std::move(Err)) << '\n'; in main()
[all …]
/openbsd-src/gnu/llvm/llvm/tools/llvm-link/
H A Dllvm-link.cpp185 WithColor::error() << " failed to read name of archive member" in loadArFile()
197 WithColor::error() << " loading memory for member '" << ChildName in loadArFile()
210 WithColor::error() << " member of archive is not a bitcode file: '" in loadArFile()
224 WithColor::error() << " parsing member '" << ChildName in loadArFile()
288 WithColor::error(); in handleDiagnostics()
293 WithColor::warning(); in handleDiagnostics()
341 WithColor::error() << "input module is broken!\n"; in importFunctions()
392 WithColor::error() << " loading file '" << File << "'\n"; in linkFiles()
401 WithColor::error() << "input module is broken!\n"; in linkFiles()
497 WithColor::error() << EC.message() << '\n'; in main()
[all …]
/openbsd-src/gnu/llvm/llvm/tools/llvm-tli-checker/
H A Dllvm-tli-checker.cpp83 WithColor::error() << Message << '\n'; in fail()
101 WithColor::warning() << ArchiveFilename << "(" << ChildName in reportArchiveChildIssue()
187 WithColor::warning() << O->getFileName() in populateFromObject()
223 WithColor::defaultErrorHandler(std::move(Err)); in populateFromArchive()
232 WithColor::warning() << StringRef(Filepath) << ": not found\n"; in populateFromFile()
239 WithColor::defaultWarningHandler(ExpectedBinary.takeError()); in populateFromFile()
250 WithColor::warning() << StringRef(Filepath) in populateFromFile()
255 WithColor::warning() << StringRef(Filepath) << ": no symbols found\n"; in populateFromFile()
319 WithColor::error() << "NO symbols found!\n"; in main()
/openbsd-src/gnu/llvm/lldb/tools/lldb-server/
H A Dlldb-platform.cpp206 WithColor::error() << "invalid port offset string " << optarg << "\n"; in main_platform()
211 WithColor::error() << llvm::formatv( in main_platform()
224 WithColor::error() << "invalid port number string " << optarg << "\n"; in main_platform()
229 WithColor::error() << llvm::formatv( in main_platform()
259 WithColor::error() << llvm::formatv( in main_platform()
324 WithColor::error() << error.AsCString() << '\n'; in main_platform()
377 WithColor::error() << error.AsCString() << '\n'; in main_platform()
/openbsd-src/gnu/llvm/llvm/tools/llc/
H A Dllc.cpp228 WithColor::error(errs(), "llc") << Prefix << Msg << "\n"; in reportError()
321 WithColor::note() << "!srcloc = " << DISM.getLocCookie() << "\n"; in handleDiagnostics()
436 WithColor::error(errs(), argv0) in addPass()
445 WithColor::error(errs(), argv0) in addPass()
479 WithColor::error(errs(), argv[0]) << "invalid optimization level.\n"; in compileModule()
491 WithColor::error(errs(), argv[0]) in compileModule()
543 WithColor::error(errs(), argv[0]) << Error; in compileModule()
571 Err.print(argv[0], WithColor::error(errs(), argv[0])); in compileModule()
590 WithColor::error(errs(), argv[0]) << Error; in compileModule()
597 WithColor::error(errs(), argv[0]) in compileModule()
[all …]
/openbsd-src/gnu/llvm/llvm/tools/llvm-profgen/
H A DErrorHandling.h24 WithColor::error(errs(), "llvm-profgen");
29 WithColor::note() << Hint.str() << "\n";
52 WithColor::warning() << format("%.2f", static_cast<double>(Num) * 100 / Total) in emitWarningSummary()
/openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFContext.h84 WithColor::defaultErrorHandler;
85 std::function<void(Error)> WarningHandler = WithColor::defaultWarningHandler;
118 WithColor::defaultErrorHandler,
120 WithColor::defaultWarningHandler);
424 WithColor::defaultErrorHandler,
426 WithColor::defaultWarningHandler);
432 WithColor::defaultErrorHandler,
434 WithColor::defaultWarningHandler);
/openbsd-src/gnu/llvm/llvm/tools/llvm-mc/
H A Dllvm-mc.cpp243 WithColor::error(errs(), ProgName) << Error; in GetTarget()
257 WithColor::error() << EC.message() << '\n'; in GetOutputStream()
306 WithColor::error() << "defsym must be of the form: sym=value: " << I in fillCommandLineSymbols()
312 WithColor::error() << "value is not an integer: " << Val << "\n"; in fillCommandLineSymbols()
330 WithColor::error(errs(), ProgName) in AssembleInput()
379 WithColor::error(errs(), ProgName) in main()
405 WithColor::error(errs(), ProgName) in main()
502 WithColor::error() << "dwo output only supported with object files\n"; in main()
523 WithColor::error() in main()
532 WithColor::error() << "invalid disassembler option '" << Opt << "'\n"; in main()

12345