[PATCH] D26981: Limit maximum number of errors to 1000.

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 22 11:01:00 PST 2016


davide added a comment.

I think the idea is OK, but I have some questions about the implementation. Please see inline comment.

In https://reviews.llvm.org/D26981#602919, @ruiu wrote:

> If you make this configurable, what's the flag name? gcc uses -fmax-errors=n, while clang uses -ferror-limit=n. (Why they are different in the first place?)


I'm not sure why LLVM and GCC use two different flags, but at this point, if gold doesn't have a similar flag, I'd just stick with whatever clang uses (i.e. `-ferror-limit=patatino`).


https://reviews.llvm.org/D26981





More information about the llvm-commits mailing list