| /freebsd-13.1/contrib/llvm-project/llvm/lib/Support/ |
| H A D | WithColor.cpp | 36 WithColor::WithColor(raw_ostream &OS, HighlightColor Color, ColorMode Mode) in WithColor() function in WithColor 87 return WithColor(OS, HighlightColor::Error, in error() 97 return WithColor(OS, HighlightColor::Warning, in warning() 107 return WithColor(OS, HighlightColor::Note, in note() 117 return WithColor(OS, HighlightColor::Remark, in remark() 123 bool WithColor::colorsEnabled() { in colorsEnabled() 136 WithColor &WithColor::changeColor(raw_ostream::Colors Color, bool Bold, in changeColor() 143 WithColor &WithColor::resetColor() { in resetColor() 149 WithColor::~WithColor() { resetColor(); } in ~WithColor() 151 void WithColor::defaultErrorHandler(Error Err) { in defaultErrorHandler() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-pdbutil/ |
| H A D | PrettyFunctionDumper.cpp | 77 WithColor(Printer, PDB_ColorItem::Identifier).get() in start() 86 WithColor(Printer, PDB_ColorItem::Identifier).get() in start() 95 WithColor(Printer, PDB_ColorItem::Identifier).get() << Name; in start() 111 WithColor(Printer, PDB_ColorItem::Keyword).get() << " const"; in start() 124 WithColor(Printer, PDB_ColorItem::Offset).get() in start() 131 WithColor(Printer, PDB_ColorItem::Offset).get() in start() 135 WithColor(Printer, PDB_ColorItem::Comment).get() in start() 140 WithColor(Printer, PDB_ColorItem::Register).get() in start() 144 WithColor(Printer, PDB_ColorItem::Register).get() << "FPO"; in start() 172 WithColor(Printer, PDB_ColorItem::Keyword).get() in start() [all …]
|
| H A D | PrettyCompilandDumper.cpp | 54 WithColor(Printer, PDB_ColorItem::Path).get() << FullName; in start() 66 WithColor(Printer, PDB_ColorItem::Comment).get() in start() 84 WithColor(Printer, StatementColor).get() << LineStart; 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() 142 WithColor(Printer, PDB_ColorItem::Comment).get() in dump() 148 WithColor(Printer, PDB_ColorItem::LiteralValue).get() in dump() 150 WithColor(Printer, PDB_ColorItem::Comment).get() in dump() 180 WithColor(Printer, PDB_ColorItem::Address).get() in dump() [all …]
|
| H A D | PrettyVariableDumper.cpp | 51 WithColor(Printer, PDB_ColorItem::Address).get() in start() 54 WithColor(Printer, PDB_ColorItem::Keyword).get() << "static "; in start() 69 WithColor(Printer, PDB_ColorItem::Offset).get() in start() 77 WithColor(Printer, PDB_ColorItem::Offset).get() in start() 97 WithColor(Printer, PDB_ColorItem::Offset).get() in startVbptr() 107 WithColor(Printer, PDB_ColorItem::Offset).get() in start() 149 WithColor(Printer, PDB_ColorItem::Identifier).get() in dump() 168 WithColor(Printer, PDB_ColorItem::Keyword).get() << " const"; in dumpRight() 185 WithColor(Printer, PDB_ColorItem::Keyword).get() << CC << " "; in dump() 191 WithColor(Printer, PDB_ColorItem::Keyword).get() << " const "; in dump() [all …]
|
| H A D | PrettyEnumDumper.cpp | 27 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const "; in start() 29 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile "; in start() 31 WithColor(Printer, PDB_ColorItem::Keyword).get() << "unaligned "; in start() 32 WithColor(Printer, PDB_ColorItem::Keyword).get() << "enum "; in start() 33 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName(); in start() 37 WithColor(Printer, PDB_ColorItem::Keyword).get() << "enum "; in start() 38 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName(); in start() 57 WithColor(Printer, PDB_ColorItem::Identifier).get() in start() 60 WithColor(Printer, PDB_ColorItem::LiteralValue).get() in start()
|
| H A D | PrettyClassDefinitionDumper.cpp | 54 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const "; in prettyPrintClassIntro() 56 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile "; in prettyPrintClassIntro() 58 WithColor(Printer, PDB_ColorItem::Keyword).get() << "unaligned "; in prettyPrintClassIntro() 60 WithColor(Printer, PDB_ColorItem::Keyword).get() << Class.getUdtKind() << " "; in prettyPrintClassIntro() 61 WithColor(Printer, PDB_ColorItem::Type).get() << Class.getName(); in prettyPrintClassIntro() 62 WithColor(Printer, PDB_ColorItem::Comment).get() << " [sizeof = " << Size in prettyPrintClassIntro() 75 WithColor(Printer, PDB_ColorItem::Keyword).get() << Base.getAccess(); in prettyPrintClassIntro() 77 WithColor(Printer, PDB_ColorItem::Keyword).get() << " virtual"; in prettyPrintClassIntro() 79 WithColor(Printer, PDB_ColorItem::Type).get() << " " << Base.getName(); in prettyPrintClassIntro() 101 WithColor(Printer, PDB_ColorItem::Padding).get() in prettyPrintClassOutro() [all …]
|
| H A D | PrettyTypedefDumper.cpp | 30 WithColor(Printer, PDB_ColorItem::Keyword).get() << "typedef "; in start() 34 WithColor(Printer, PDB_ColorItem::Identifier).get() << " " in start() 49 WithColor(Printer, PDB_ColorItem::Keyword).get() << "enum "; in dump() 50 WithColor(Printer, PDB_ColorItem::Type).get() << " " << Symbol.getName(); in dump() 55 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const "; in dump() 57 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile "; in dump() 71 WithColor(Printer, PDB_ColorItem::Keyword).get() << " __restrict"; in dump() 80 WithColor(Printer, PDB_ColorItem::Keyword).get() << "class "; in dump() 81 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName(); in dump()
|
| H A D | PrettyTypeDumper.cpp | 165 WithColor(Printer, PDB_ColorItem::Identifier).get() << Label; in dumpSymbolCategory() 183 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const "; in printClassDecl() 185 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile "; in printClassDecl() 187 WithColor(Printer, PDB_ColorItem::Keyword).get() << "unaligned "; in printClassDecl() 189 WithColor(Printer, PDB_ColorItem::Keyword).get() << Class.getUdtKind() << " "; in printClassDecl() 190 WithColor(Printer, PDB_ColorItem::Type).get() << Class.getName(); in printClassDecl() 219 WithColor(Printer, PDB_ColorItem::Identifier).get() << "Classes"; in start() 303 WithColor(Printer, PDB_ColorItem::LiteralValue).get() << Symbol.getCount(); in dump() 352 WithColor(Printer, PDB_ColorItem::Keyword).get() in dumpClassLayout() 354 WithColor(Printer, PDB_ColorItem::Type).get() << Class.getName(); in dumpClassLayout()
|
| H A D | PrettyBuiltinDumper.cpp | 22 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()
|
| H A D | PrettyClassLayoutGraphicalDumper.cpp | 88 WithColor(Printer, PDB_ColorItem::Padding).get() in start() 102 WithColor(Printer, PDB_ColorItem::Padding).get() << "<padding> (" << Amount in printPaddingRow() 124 WithColor(Printer, PDB_ColorItem::Offset).get() in dump() 128 WithColor(Printer, PDB_ColorItem::Identifier).get() << Layout.getName(); in dump()
|
| H A D | LinePrinter.h | 33 friend class WithColor; variable 153 class WithColor { 155 WithColor(LinePrinter &P, PDB_ColorItem C); 156 ~WithColor();
|
| H A D | PrettyExternalSymbolDumper.cpp | 38 WithColor(Printer, PDB_ColorItem::Address).get() << format_hex(Addr, 10); in dump() 40 WithColor(Printer, PDB_ColorItem::Identifier).get() << LinkageName; in dump()
|
| H A D | llvm-pdbutil.cpp | 953 WithColor(Printer, PDB_ColorItem::Path).get() << File; in dumpInjectedSources() 957 WithColor(Printer, PDB_ColorItem::Keyword).get() << "obj"; in dumpInjectedSources() 959 WithColor(Printer, PDB_ColorItem::Path).get() << Obj; in dumpInjectedSources() 963 WithColor(Printer, PDB_ColorItem::Path).get() << VFName; in dumpInjectedSources() 965 WithColor(Printer, PDB_ColorItem::Keyword).get() << "crc"; in dumpInjectedSources() 972 WithColor(Printer, PDB_ColorItem::LiteralValue).get(), in dumpInjectedSources() 1079 WithColor(Printer, PDB_ColorItem::Path).get() << FileName; in dumpPretty() 1096 WithColor(Printer, PDB_ColorItem::Identifier).get() << "Age"; in dumpPretty() 1110 WithColor(Printer, PDB_ColorItem::SectionHeader).get() in dumpPretty() 1186 WithColor(Printer, PDB_ColorItem::SectionHeader).get() in dumpPretty() [all …]
|
| H A D | LinePrinter.cpp | 287 WithColor::WithColor(LinePrinter &P, PDB_ColorItem C) in WithColor() function in WithColor 293 WithColor::~WithColor() { in ~WithColor() 298 void WithColor::applyColor(PDB_ColorItem C) { in applyColor()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | WithColor.h | 53 class WithColor { 62 WithColor(raw_ostream &OS, HighlightColor S, 71 WithColor(raw_ostream &OS, 78 ~WithColor(); 82 template <typename T> WithColor &operator<<(T &O) { 86 template <typename T> WithColor &operator<<(const T &O) { 121 WithColor &changeColor(raw_ostream::Colors Color, bool Bold = false, 126 WithColor &resetColor();
|
| /freebsd-13.1/contrib/llvm-project/lldb/tools/lldb-server/ |
| H A D | lldb-platform.cpp | 206 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() 379 WithColor::error() << error.AsCString() << '\n'; in main_platform() 382 WithColor::error() << "handshake with client failed\n"; in main_platform()
|
| /freebsd-13.1/contrib/llvm-project/lldb/tools/driver/ |
| H A D | Driver.cpp | 377 WithColor::warning() << "program arguments are ignored when attaching.\n"; in ProcessArgs() 419 WithColor::error() in PrepareCommandsForSourcing() 426 WithColor::error() in PrepareCommandsForSourcing() 446 WithColor::error() << format("fdopen(%i, \"rb\") failed (errno = %i) " in PrepareCommandsForSourcing() 671 WithColor::error() << error_cstr << '\n'; in MainLoop() 673 WithColor::error() << error.GetError() << '\n'; in MainLoop() 821 WithColor::error() << "reproducer replay failed: " << error << '\n'; in InitializeReproducer() 832 WithColor::warning() in InitializeReproducer() 895 WithColor::error() << "argument to '" in main() 917 WithColor::error() << "initialization failed: " << error.GetCString() in main() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-mca/ |
| H A D | llvm-mca.cpp | 334 WithColor::error() << toString(Cycles.takeError()); in runPipeline() 392 WithColor::error() in main() 398 WithColor::note() in main() 444 WithColor::error() in main() 458 WithColor::error() << E.getMessage() << '\n'; in main() 479 WithColor::error() << EC.message() << '\n'; in main() 489 WithColor::error() in main() 547 WithColor::error() << IE.Message << '\n'; in main() 550 WithColor::note() in main() 554 WithColor::error() << toString(std::move(NewE)); in main() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/ |
| H A D | DWARFContext.h | 92 WithColor::defaultErrorHandler; 93 std::function<void(Error)> WarningHandler = WithColor::defaultWarningHandler; 122 WithColor::defaultErrorHandler, 124 WithColor::defaultWarningHandler); 394 WithColor::defaultErrorHandler, 396 WithColor::defaultWarningHandler); 402 WithColor::defaultErrorHandler, 404 WithColor::defaultWarningHandler);
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-link/ |
| H A D | llvm-link.cpp | 175 WithColor::error() << " failed to read name of archive member" in loadArFile() 187 WithColor::error() << " loading memory for member '" << ChildName in loadArFile() 198 WithColor::error() << " member of archive is not a bitcode file: '" in loadArFile() 212 WithColor::error() << " parsing member '" << ChildName in loadArFile() 276 WithColor::error(); in handleDiagnostics() 281 WithColor::warning(); in handleDiagnostics() 329 WithColor::error() << "input module is broken!\n"; in importFunctions() 380 WithColor::error() << " loading file '" << File << "'\n"; in linkFiles() 389 WithColor::error() << "input module is broken!\n"; in linkFiles() 484 WithColor::error() << EC.message() << '\n'; in main() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llc/ |
| H A D | llc.cpp | 212 WithColor::error(errs(), "llc") << Prefix << Msg << "\n"; in reportError() 406 WithColor::error(errs(), argv0) in addPass() 415 WithColor::error(errs(), argv0) in addPass() 465 WithColor::error(errs(), argv[0]) in compileModule() 505 WithColor::error(errs(), argv[0]) << Error; in compileModule() 533 Err.print(argv[0], WithColor::error(errs(), argv[0])); in compileModule() 548 WithColor::error(errs(), argv[0]) << Error; in compileModule() 555 WithColor::error(errs(), argv[0]) in compileModule() 611 WithColor::warning(errs(), argv[0]) in compileModule() 637 WithColor::warning(errs(), argv[0]) in compileModule() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-mc/ |
| H A D | llvm-mc.cpp | 245 WithColor::error(errs(), ProgName) << Error; in GetTarget() 259 WithColor::error() << EC.message() << '\n'; in GetOutputStream() 308 WithColor::error() << "defsym must be of the form: sym=value: " << I in fillCommandLineSymbols() 314 WithColor::error() << "value is not an integer: " << Val << "\n"; in fillCommandLineSymbols() 332 WithColor::error(errs(), ProgName) in AssembleInput() 381 WithColor::error(errs(), ProgName) in main() 407 WithColor::error(errs(), ProgName) in main() 504 WithColor::error() << "dwo output only supported with object files\n"; in main() 525 WithColor::error() in main() 534 WithColor::error() << "invalid disassembler option '" << Opt << "'\n"; in main()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-cxxmap/ |
| H A D | llvm-cxxmap.cpp | 58 WithColor::warning(); in warn() 64 WithColor::note() << Hint << "\n"; in warn() 69 WithColor::error(); in exitWithError() 75 WithColor::note() << Hint << "\n"; in exitWithError()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/TableGen/ |
| H A D | Error.cpp | 46 WithColor::note() << Msg << "\n"; in PrintNote() 89 void PrintWarning(const Twine &Msg) { WithColor::warning() << Msg << "\n"; } in PrintWarning() 101 void PrintError(const Twine &Msg) { WithColor::error() << Msg << "\n"; } in PrintError()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/lli/ |
| H A D | lli.cpp | 402 WithColor::error(errs(), "lli") << "invalid optimization level.\n"; in getOptLevel() 507 WithColor::error(errs(), argv[0]) in main() 524 WithColor::error(errs(), argv[0]) in main() 527 WithColor::error(errs(), argv[0]) << "unknown error creating EE!\n"; in main() 603 WithColor::warning(errs(), argv[0]) in main() 630 WithColor::error(errs(), argv[0]) in main() 644 WithColor::warning(errs(), argv[0]) in main() 646 WithColor::note() << "defaulting to local execution\n"; in main() 650 WithColor::error(errs(), argv[0]) in main() 654 WithColor::error(errs(), argv[0]) in main() [all …]
|