Searched refs:errorHandler (Results 1 – 11 of 11) sorted by relevance
109 ErrorHandler &errorHandler();111 inline void error(const Twine &Msg) { errorHandler().error(Msg); } in error()113 errorHandler().fatal(Msg); in fatal()115 inline void log(const Twine &Msg) { errorHandler().log(Msg); } in log()116 inline void message(const Twine &Msg) { errorHandler().message(Msg); } in message()117 inline void warn(const Twine &Msg) { errorHandler().warn(Msg); } in warn()118 inline uint64_t errorCount() { return errorHandler().ErrorCount; } in errorCount()
230 const std::function<void()> &errorHandler) { in HandleSBError() argument235 errorHandler(); in HandleSBError()269 const std::function<void()> &errorHandler) { in HandleSBErrorWithFailure() argument270 return HandleSBError(error, [] { return MIstatus::success; }, errorHandler); in HandleSBErrorWithFailure()
86 const std::function<void()> &errorHandler = [] {});90 const std::function<void()> &errorHandler);
44 ErrorHandler &lld::errorHandler() { in errorHandler() function in lld51 if (errorHandler().OutputBuffer) in exitLld()52 errorHandler().OutputBuffer->discard(); in exitLld()
63 errorHandler().ColorDiagnostics = true; in handleColorDiagnostics()65 errorHandler().ColorDiagnostics = false; in handleColorDiagnostics()69 errorHandler().ColorDiagnostics = true; in handleColorDiagnostics()71 errorHandler().ColorDiagnostics = false; in handleColorDiagnostics()
78 errorHandler().LogName = args::getFilenameWithoutExe(Args[0]); in link()79 errorHandler().ErrorLimitExceededMsg = in link()82 errorHandler().ErrorOS = &Error; in link()83 errorHandler().ExitEarly = CanExitEarly; in link()84 errorHandler().ColorDiagnostics = Error.has_colors(); in link()374 errorHandler().ErrorLimit = args::getInteger(Args, OPT_error_limit, 20); in main()752 errorHandler().Verbose = Args.hasArg(OPT_verbose); in readConfigs()753 errorHandler().FatalWarnings = in readConfigs()
43 Writer() : Buffer(errorHandler().OutputBuffer) {} in Writer()
337 errorHandler().Verbose = parsedArgs.hasArg(OPT_v); in parse()641 if (errorHandler().Verbose) { in parse()1149 errorHandler().LogName = args::getFilenameWithoutExe(args[0]); in link()1150 errorHandler().ErrorLimitExceededMsg = in link()1153 errorHandler().ErrorOS = &Error; in link()1154 errorHandler().ExitEarly = CanExitEarly; in link()1155 errorHandler().ColorDiagnostics = Error.has_colors(); in link()1200 *errorHandler().ErrorOS << "Failed to run passes on file '" in link()1202 logAllUnhandledErrors(std::move(ec), *errorHandler().ErrorOS, in link()1214 *errorHandler().ErrorOS << "Failed to write file '" << ctx.outputPath() in link()[all …]
742 errorHandler().ColorDiagnostics = true; in handleColorDiagnostics()744 errorHandler().ColorDiagnostics = false; in handleColorDiagnostics()748 errorHandler().ColorDiagnostics = true; in handleColorDiagnostics()750 errorHandler().ColorDiagnostics = false; in handleColorDiagnostics()800 errorHandler().FatalWarnings = Args.hasFlag(OPT_WX, OPT_WX_no, false); in parse()
60 errorHandler().LogName = args::getFilenameWithoutExe(Args[0]); in link()61 errorHandler().ErrorOS = &Diag; in link()62 errorHandler().ColorDiagnostics = Diag.has_colors(); in link()63 errorHandler().ErrorLimitExceededMsg = in link()66 errorHandler().ExitEarly = CanExitEarly; in link()934 errorHandler().ErrorLimit = N; in link()1009 errorHandler().Verbose = Config->Verbose; in link()
163 Writer() : Buffer(errorHandler().OutputBuffer) {} in Writer()