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

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 22 11:25:34 PST 2016


ruiu added inline comments.


================
Comment at: ELF/Driver.cpp:45-46
                raw_ostream &Error) {
   HasError = false;
+  ErrorCount = 0;
   ErrorOS = &Error;
----------------
davide wrote:
> Any reason to initialize it here instead of inside `struct Configuration` ?
This is not a limit but the current number of errors. The limit is in Config.


https://reviews.llvm.org/D26981





More information about the llvm-commits mailing list