| /freebsd-14.2/contrib/llvm-project/llvm/lib/Support/ |
| H A D | WithColor.cpp | 41 WithColor::AutoDetectFunctionType WithColor::AutoDetectFunction = 44 WithColor::WithColor(raw_ostream &OS, HighlightColor Color, ColorMode Mode) in WithColor() function in WithColor 95 return WithColor(OS, HighlightColor::Error, in error() 115 return WithColor(OS, HighlightColor::Note, in note() 125 return WithColor(OS, HighlightColor::Remark, in remark() 131 bool WithColor::colorsEnabled() { in colorsEnabled() 143 WithColor &WithColor::changeColor(raw_ostream::Colors Color, bool Bold, in changeColor() 150 WithColor &WithColor::resetColor() { in resetColor() 156 WithColor::~WithColor() { resetColor(); } in ~WithColor() 170 WithColor::AutoDetectFunctionType WithColor::defaultAutoDetectFunction() { in defaultAutoDetectFunction() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-pdbutil/ |
| H A D | PrettyFunctionDumper.cpp | 80 WithColor(Printer, PDB_ColorItem::Identifier).get() 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() 127 WithColor(Printer, PDB_ColorItem::Offset).get() in start() 134 WithColor(Printer, PDB_ColorItem::Offset).get() in start() 138 WithColor(Printer, PDB_ColorItem::Comment).get() in start() 143 WithColor(Printer, PDB_ColorItem::Register).get() in start() 147 WithColor(Printer, PDB_ColorItem::Register).get() << "FPO"; in start() 175 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 | 53 WithColor(Printer, PDB_ColorItem::Address).get() in start() 56 WithColor(Printer, PDB_ColorItem::Keyword).get() << "static "; in start() 71 WithColor(Printer, PDB_ColorItem::Offset).get() in start() 79 WithColor(Printer, PDB_ColorItem::Offset).get() in start() 99 WithColor(Printer, PDB_ColorItem::Offset).get() in startVbptr() 109 WithColor(Printer, PDB_ColorItem::Offset).get() in start() 151 WithColor(Printer, PDB_ColorItem::Identifier).get() in dump() 170 WithColor(Printer, PDB_ColorItem::Keyword).get() << " const"; in dumpRight() 187 WithColor(Printer, PDB_ColorItem::Keyword).get() << CC << " "; in dump() 193 WithColor(Printer, PDB_ColorItem::Keyword).get() << " const "; in dump() [all …]
|
| H A D | PrettyEnumDumper.cpp | 28 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 D | PrettyClassDefinitionDumper.cpp | 55 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 D | PrettyTypedefDumper.cpp | 32 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 D | PrettyTypeDumper.cpp | 167 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 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 | 89 WithColor(Printer, PDB_ColorItem::Padding).get() in start() 103 WithColor(Printer, PDB_ColorItem::Padding).get() << "<padding> (" << Amount in printPaddingRow() 125 WithColor(Printer, PDB_ColorItem::Offset).get() in dump() 129 WithColor(Printer, PDB_ColorItem::Identifier).get() << Layout.getName(); in dump()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | WithColor.h | 54 class WithColor { 62 LLVM_CTOR_NODISCARD WithColor(raw_ostream &OS, HighlightColor S, 71 LLVM_CTOR_NODISCARD WithColor( 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();
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
| H A D | Logger.cpp | 34 : OS(OS), ShowColors(llvm::WithColor::defaultAutoDetectFunction()(OS)) {} in TextualLogger() 39 llvm::WithColor Header(OS, llvm::raw_ostream::Colors::RED, /*Bold=*/true); in beginAnalysis() 51 llvm::WithColor Header(OS, llvm::raw_ostream::Colors::RED, /*Bold=*/true); in endAnalysis() 63 llvm::WithColor Header(OS, llvm::raw_ostream::Colors::RED, /*Bold=*/true); in enterBlock() 81 llvm::WithColor Subheader(OS, llvm::raw_ostream::Colors::CYAN, in enterElement() 90 llvm::WithColor Subheader(OS, llvm::raw_ostream::Colors::CYAN, in recordState()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/ |
| H A D | MarkupFilter.cpp | 103 WithColor::error(errs()) in tryMMap() 260 WithColor::error() << "no mmap covers address\n"; in tryPC() 269 WithColor::defaultErrorHandler(LI.takeError()); in tryPC() 316 WithColor::error() << "no mmap covers address\n"; in tryBackTrace() 326 WithColor::defaultErrorHandler(II.takeError()); in tryBackTrace() 380 WithColor::error() << "no mmap covers address\n"; in tryData() 507 WithColor::error() << "unknown module type\n"; in parseModule() 527 WithColor::error() << "unknown mmap type\n"; in parseMMap() 537 WithColor::error() << "unknown module ID\n"; in parseMMap() 665 WithColor::error(errs()) in checkNumFieldsAtLeast() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-tli-checker/ |
| H A D | llvm-tli-checker.cpp | 76 WithColor::error() << Message << '\n'; in fail() 94 WithColor::warning() << ArchiveFilename << "(" << ChildName in reportArchiveChildIssue() 180 WithColor::warning() << O->getFileName() in populateFromObject() 216 WithColor::defaultErrorHandler(std::move(Err)); in populateFromArchive() 225 WithColor::warning() << StringRef(Filepath) << ": not found\n"; in populateFromFile() 232 WithColor::defaultWarningHandler(ExpectedBinary.takeError()); in populateFromFile() 243 WithColor::warning() << StringRef(Filepath) in populateFromFile() 248 WithColor::warning() << StringRef(Filepath) << ": no symbols found\n"; in populateFromFile() 312 WithColor::error() << "NO symbols found!\n"; in main()
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-mca/ |
| H A D | llvm-mca.cpp | 310 WithColor::error() << toString(Cycles.takeError()); in runPipeline() 375 WithColor::error() in main() 381 WithColor::note() in main() 423 WithColor::error() in main() 442 WithColor::error() << E.getMessage() << '\n'; in main() 500 WithColor::error() << EC.message() << '\n'; in main() 510 WithColor::error() in main() 591 WithColor::error() << IE.Message << '\n'; in main() 594 WithColor::note() in main() 598 WithColor::error() << toString(std::move(NewE)); in main() [all …]
|
| /freebsd-14.2/contrib/llvm-project/lldb/tools/lldb-server/ |
| H A D | lldb-platform.cpp | 182 WithColor::error() << "invalid port offset string " << optarg << "\n"; in main_platform() 187 WithColor::error() << llvm::formatv( in main_platform() 200 WithColor::error() << "invalid port number string " << optarg << "\n"; in main_platform() 205 WithColor::error() << llvm::formatv( in main_platform() 235 WithColor::error() << llvm::formatv( in main_platform() 300 WithColor::error() << error.AsCString() << '\n'; in main_platform() 353 WithColor::error() << error.AsCString() << '\n'; in main_platform()
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-link/ |
| H A D | llvm-link.cpp | 185 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() 346 WithColor::error() << "input module is broken!\n"; in importFunctions() 398 WithColor::error() << " loading file '" << File << "'\n"; in linkFiles() 407 WithColor::error() << "input module is broken!\n"; in linkFiles() 503 WithColor::error() << EC.message() << '\n'; in main() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/ |
| H A D | DWARFContext.h | 118 WithColor::defaultErrorHandler; 119 std::function<void(Error)> WarningHandler = WithColor::defaultWarningHandler; 138 WithColor::defaultErrorHandler, 140 WithColor::defaultWarningHandler, 443 WithColor::defaultErrorHandler, 445 WithColor::defaultWarningHandler, 452 WithColor::defaultErrorHandler, 454 WithColor::defaultWarningHandler,
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | BasicBlockPathCloning.cpp | 96 WithColor::warning() << "no block with id " << BBID << " in function " in IsValidCloning() 103 WithColor::warning() in IsValidCloning() 115 WithColor::warning() in IsValidCloning() 126 WithColor::warning() in IsValidCloning()
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llc/ |
| H A D | llc.cpp | 247 WithColor::error(errs(), "llc") << Prefix << Msg << "\n"; in reportError() 428 WithColor::error(errs(), argv0) in addPass() 437 WithColor::error(errs(), argv0) in addPass() 471 WithColor::error(errs(), argv[0]) << "invalid optimization level.\n"; in compileModule() 483 WithColor::error(errs(), argv[0]) in compileModule() 553 WithColor::error(errs(), argv[0]) << Error; in compileModule() 575 Err.print(argv[0], WithColor::error(errs(), argv[0])); in compileModule() 596 WithColor::error(errs(), argv[0]) << Error; in compileModule() 650 WithColor::warning(errs(), argv[0]) in compileModule() 687 WithColor::warning(errs(), argv[0]) in compileModule() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-mc/ |
| H A D | llvm-mc.cpp | 246 WithColor::error(errs(), ProgName) << Error; in GetTarget() 260 WithColor::error() << EC.message() << '\n'; in GetOutputStream() 309 WithColor::error() << "defsym must be of the form: sym=value: " << I in fillCommandLineSymbols() 315 WithColor::error() << "value is not an integer: " << Val << "\n"; in fillCommandLineSymbols() 333 WithColor::error(errs(), ProgName) in AssembleInput() 382 WithColor::error(errs(), ProgName) in main() 408 WithColor::error(errs(), ProgName) in main() 505 WithColor::error() << "dwo output only supported with object files\n"; in main() 526 WithColor::error() in main() 535 WithColor::error() << "invalid disassembler option '" << Opt << "'\n"; in main()
|
| /freebsd-14.2/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-14.2/contrib/llvm-project/llvm/tools/llvm-dwarfutil/ |
| H A D | Error.h | 26 WithColor::error(errs(), Prefix) << Info.message() << '\n'; 32 WithColor::warning(errs(), Prefix) << Message << '\n';
|
| /freebsd-14.2/contrib/llvm-project/lldb/tools/driver/ |
| H A D | Driver.cpp | 190 WithColor::setAutoDetectFunction(disable_color); in ProcessArgs() 373 WithColor::warning() << "program arguments are ignored when attaching.\n"; in ProcessArgs() 535 WithColor::warning() << "commands specified to run after file load (via -o " in MainLoop() 555 WithColor::error() << error.GetCString() << '\n'; in MainLoop() 626 WithColor::error() << error_cstr << '\n'; in MainLoop() 628 WithColor::error() << error.GetError() << '\n'; in MainLoop() 769 WithColor::error() << "argument to '" in main() 776 WithColor::error() << "unknown option: " << arg->getSpelling() << '\n'; in main() 787 WithColor::error() << "initialization failed: " << error.GetCString() in main() 813 WithColor::error() << error_cstr << '\n'; in main()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/ |
| H A D | LinePrinter.h | 51 friend class WithColor; variable 170 class WithColor { 172 WithColor(LinePrinter &P, PDB_ColorItem C); 173 ~WithColor();
|