summaryrefslogtreecommitdiffstats
path: root/clang/test/OpenMP/debug-info-openmp-array.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2016-11-23 18:15:37 +0000
committerRui Ueyama <ruiu@google.com>2016-11-23 18:15:37 +0000
commitac95f6bfccd99488d51d3f7ce38af4b96866f4af (patch)
tree1d62c87267a326ba2f7089bbc317aebd7f2aeecc /clang/test/OpenMP/debug-info-openmp-array.cpp
parent28590b611815055407679b53973e8e65b1d9cf76 (diff)
downloadbcm5719-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/debug-info-openmp-array.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud