[PATCH] D31688: [COFF] support /ERRORLIMIT option
Bob Haarman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 4 17:20:12 PDT 2017
inglorion created this revision.
This adds support for reporting multiple errors in a single invocation of lld-link. The limit defaults to 20 and can be changed with the /ERRORLIMIT command line parameter, or set to unlimited by passing a value of 0.
This is a new attempt after r295507, which was reverted because opening files raced with exiting early, causing the test to be flaky. This version avoids the race by exiting before calling enqueuePath.
https://reviews.llvm.org/D31688
Files:
COFF/Driver.cpp
COFF/Error.cpp
COFF/Options.td
COFF/SymbolTable.cpp
test/COFF/error-limit.test
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31688.94143.patch
Type: text/x-patch
Size: 8779 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170405/bc45b12d/attachment.bin>
More information about the llvm-commits
mailing list