This adds support for reporting multiple errors in a single invocation of lld-link. The limit defaults to 20 and can be changed with the /ERRORLIMIT command line parameter, or set to unlimited by passing a value of 0.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
| COFF/Driver.cpp | ||
|---|---|---|
| 160–164 ↗ | (On Diff #87541) | nit: when you add {}, please add {} to other if-elseif-else. |
| 543–545 ↗ | (On Diff #87541) | Ditto |
| 616–638 ↗ | (On Diff #87541) | I think it is not safe to continue with wrong values. After you parse all command line options, you want to check if ErrorCount == 0, and if it is not, you should exit. |
| 745–746 ↗ | (On Diff #87541) | Braces. |
Comment Actions
Exit Code: 1
Command Output (stderr):
--
/mnt/b/sanitizer-buildbot3/sanitizer-x86_64-linux-fast/build/llvm/tools/lld/test/COFF/error-limit.test:30:8: error: expected string not found in input
WRONG: could not open 01
^
<stdin>:3:1: note: scanning from here
^