reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/lld/include/lld/Common/ErrorHandler.h
  110 ErrorHandler &errorHandler();

References

tools/lld/COFF/Driver.cpp
   65   errorHandler().logName = args::getFilenameWithoutExe(args[0]);
   66   errorHandler().errorOS = &diag;
   67   errorHandler().errorLimitExceededMsg =
   70   errorHandler().exitEarly = canExitEarly;
 1124     errorHandler().errorLimit = n;
 1202   errorHandler().verbose = config->verbose;
tools/lld/COFF/DriverUtils.cpp
  839   errorHandler().fatalWarnings = args.hasFlag(OPT_WX, OPT_WX_no, false);
tools/lld/COFF/Writer.cpp
  189   Writer() : buffer(errorHandler().outputBuffer) {}
tools/lld/Common/ErrorHandler.cpp
   48   errorHandler().errorOS->enable_colors(enable);
   53   if (errorHandler().outputBuffer)
   54     errorHandler().outputBuffer->discard();
tools/lld/ELF/Driver.cpp
   79   errorHandler().logName = args::getFilenameWithoutExe(args[0]);
   80   errorHandler().errorLimitExceededMsg =
   83   errorHandler().errorOS = &error;
   84   errorHandler().exitEarly = canExitEarly;
  425   errorHandler().errorLimit = args::getInteger(args, OPT_error_limit, 20);
  817   errorHandler().verbose = args.hasArg(OPT_verbose);
  818   errorHandler().fatalWarnings =
  820   errorHandler().vsDiagnostics =
tools/lld/ELF/Writer.cpp
   45   Writer() : buffer(errorHandler().outputBuffer) {}
tools/lld/include/lld/Common/ErrorHandler.h
  114 inline void error(const Twine &msg) { errorHandler().error(msg); }
  116   errorHandler().fatal(msg);
  118 inline void log(const Twine &msg) { errorHandler().log(msg); }
  119 inline void message(const Twine &msg) { errorHandler().message(msg); }
  120 inline void warn(const Twine &msg) { errorHandler().warn(msg); }
  121 inline uint64_t errorCount() { return errorHandler().errorCount; }
tools/lld/lib/Driver/DarwinLdDriver.cpp
  336   errorHandler().verbose = parsedArgs.hasArg(OPT_v);
  337   errorHandler().errorLimit = args::getInteger(parsedArgs, OPT_error_limit, 20);
  640   if (errorHandler().verbose) {
 1148   errorHandler().logName = args::getFilenameWithoutExe(args[0]);
 1149   errorHandler().errorLimitExceededMsg =
 1152   errorHandler().errorOS = &Error;
 1153   errorHandler().exitEarly = CanExitEarly;
 1199     *errorHandler().errorOS << "Failed to run passes on file '"
 1201     logAllUnhandledErrors(std::move(ec), *errorHandler().errorOS,
 1213     *errorHandler().errorOS << "Failed to write file '" << ctx.outputPath()
 1215     logAllUnhandledErrors(std::move(ec), *errorHandler().errorOS,
tools/lld/wasm/Driver.cpp
   82   errorHandler().logName = args::getFilenameWithoutExe(args[0]);
   83   errorHandler().errorOS = &error;
   84   errorHandler().errorLimitExceededMsg =
  316   errorHandler().fatalWarnings =
  346   errorHandler().verbose = args.hasArg(OPT_verbose);
  347   LLVM_DEBUG(errorHandler().verbose = true);
  684   errorHandler().errorLimit = args::getInteger(args, OPT_error_limit, 20);
tools/lld/wasm/Writer.cpp
 1043   if (errorHandler().verbose) {