[PATCH] D41803: ldd::COFF: initalize ErrorHandler with CanExitEarly value

Shoaib Meenai via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 7 21:59:54 PST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rLLD321983: [COFF] Initalize ErrorHandler with CanExitEarly value (authored by smeenai, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D41803?vs=128850&id=128891#toc

Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D41803

Files:
  COFF/Driver.cpp


Index: COFF/Driver.cpp
===================================================================
--- COFF/Driver.cpp
+++ COFF/Driver.cpp
@@ -57,6 +57,7 @@
   errorHandler().ErrorLimitExceededMsg =
       "too many errors emitted, stopping now"
       " (use /ERRORLIMIT:0 to see all errors)";
+  errorHandler().ExitEarly = CanExitEarly;
   Config = make<Configuration>();
   Config->Argv = {Args.begin(), Args.end()};
   Config->CanExitEarly = CanExitEarly;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41803.128891.patch
Type: text/x-patch
Size: 452 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180108/e68b4101/attachment.bin>


More information about the llvm-commits mailing list