Home
last modified time | relevance | path

Searched refs:errorHandler (Results 1 – 11 of 11) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/lld/include/lld/Common/
H A DErrorHandler.h109 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()
/freebsd-12.1/contrib/llvm/tools/lldb/tools/lldb-mi/
H A DMICmdBase.cpp230 const std::function<void()> &errorHandler) { in HandleSBError() argument
235 errorHandler(); in HandleSBError()
269 const std::function<void()> &errorHandler) { in HandleSBErrorWithFailure() argument
270 return HandleSBError(error, [] { return MIstatus::success; }, errorHandler); in HandleSBErrorWithFailure()
H A DMICmdBase.h86 const std::function<void()> &errorHandler = [] {});
90 const std::function<void()> &errorHandler);
/freebsd-12.1/contrib/llvm/tools/lld/Common/
H A DErrorHandler.cpp44 ErrorHandler &lld::errorHandler() { in errorHandler() function in lld
51 if (errorHandler().OutputBuffer) in exitLld()
52 errorHandler().OutputBuffer->discard(); in exitLld()
/freebsd-12.1/contrib/llvm/tools/lld/ELF/
H A DDriverUtils.cpp63 errorHandler().ColorDiagnostics = true; in handleColorDiagnostics()
65 errorHandler().ColorDiagnostics = false; in handleColorDiagnostics()
69 errorHandler().ColorDiagnostics = true; in handleColorDiagnostics()
71 errorHandler().ColorDiagnostics = false; in handleColorDiagnostics()
H A DDriver.cpp78 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()
H A DWriter.cpp43 Writer() : Buffer(errorHandler().OutputBuffer) {} in Writer()
/freebsd-12.1/contrib/llvm/tools/lld/lib/Driver/
H A DDarwinLdDriver.cpp337 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 …]
/freebsd-12.1/contrib/llvm/tools/lld/COFF/
H A DDriverUtils.cpp742 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()
H A DDriver.cpp60 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()
H A DWriter.cpp163 Writer() : Buffer(errorHandler().OutputBuffer) {} in Writer()