Go to file
Rui Ueyama ac95f6bfcc Limit default maximum number of errors to 20.
This is in the context of https://llvm.org/bugs/show_bug.cgi?id=31109.
When LLD prints out errors for relocations, it tends to print out
extremely large number of errors (like millions) because it would
print out one error per relocation.

This patch makes LLD bail out if it prints out more than 20 errors.
You can configure the limitation using -error-limit argument.
-error-limit=0 means no limit.

I chose the flag name because Clang has the same feature as -ferror-limit.
"f" doesn't make sense to us, so I omitted it.

Differential Revision: https://reviews.llvm.org/D26981

llvm-svn: 287789
2016-11-23 18:15:37 +00:00
clang [Sema][Atomics] Treat expected pointer in compare exchange atomics as _Nonnull 2016-11-23 16:57:03 +00:00
clang-tools-extra [clang-rename] Add test case for r287758. 2016-11-23 13:14:19 +00:00
compiler-rt [asan/win] Check assumptions about the incremental linker more 2016-11-23 18:02:16 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Fix build since r286752. 2016-11-14 16:06:33 +00:00
libcxx [libc++] Remove unneeded visibility pragmas 2016-11-23 16:11:15 +00:00
libcxxabi __cxa_demangle: use default member initialization 2016-11-18 19:01:53 +00:00
libunwind EHABI: mark some functions as exported 2016-11-17 23:53:35 +00:00
lld Limit default maximum number of errors to 20. 2016-11-23 18:15:37 +00:00
lldb Refactor LLDB's Windows process plugin (NFC) 2016-11-23 16:26:37 +00:00
llgo [llgo] add llgo source path to LLVM_GO_PACKAGES 2016-07-27 03:01:00 +00:00
llvm llvm-readobj: Use hash tables to print dynamic symbols. 2016-11-23 18:04:23 +00:00
openmp Set task->td_dephash to NULL after free 2016-11-21 16:24:59 +00:00
parallel-libs [Acxxel] Remove setActiveDeviceForThread 2016-10-28 00:54:02 +00:00
polly Update to isl-0.17.1-284-gbb38638 2016-11-22 21:31:59 +00:00