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

Filipe Cabecinhas via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 23 06:32:33 PST 2016


filcab added a comment.

Just an additional question: Can errors be signalled in different threads?



================
Comment at: ELF/Error.cpp:46
+    *ErrorOS << Argv0 << ": error: " << Msg << "\n";
+  else if (Config->ExitEarly)
+    exitLld(1);
----------------
ruiu wrote:
> filcab wrote:
> > I don't think this should really be tied to `--full-shutdown`. I see those features as orthogonal.
> It correlates to `CanExitEarly` argument given to lld::elf::link. If it's true, we can't exit. Since --full-shutdown is for tests, I think using `Config->ExitEarly` is okay.
Fair enough. Thanks!


https://reviews.llvm.org/D26981





More information about the llvm-commits mailing list