diff options
| author | Rui Ueyama <ruiu@google.com> | 2016-11-23 18:15:37 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2016-11-23 18:15:37 +0000 |
| commit | ac95f6bfccd99488d51d3f7ce38af4b96866f4af (patch) | |
| tree | 1d62c87267a326ba2f7089bbc317aebd7f2aeecc /clang/test/OpenMP/taskloop_simd_codegen.cpp | |
| parent | 28590b611815055407679b53973e8e65b1d9cf76 (diff) | |
| download | bcm5719-llvm-ac95f6bfccd99488d51d3f7ce38af4b96866f4af.tar.gz bcm5719-llvm-ac95f6bfccd99488d51d3f7ce38af4b96866f4af.zip | |
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
Diffstat (limited to 'clang/test/OpenMP/taskloop_simd_codegen.cpp')
0 files changed, 0 insertions, 0 deletions

