hanchenye-llvm-project/lld/COFF
Bob Haarman ac8f7fc07b [COFF] support /ERRORLIMIT option
Summary:
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.

This is a new attempt after r295507, which was reverted because opening files raced with exiting early, causing the test to be flaky. This version avoids the race by exiting before calling enqueuePath.

Reviewers: pcc, ruiu

Reviewed By: ruiu

Subscribers: llvm-commits, dblaikie

Differential Revision: https://reviews.llvm.org/D31688

llvm-svn: 299496
2017-04-05 00:43:54 +00:00
..
CMakeLists.txt [CMake] Fix pthread handling for out-of-tree builds 2017-02-10 01:59:20 +00:00
Chunks.cpp Do not use errs() or outs() directly. Instead use message(), log() or error() 2017-02-21 23:22:56 +00:00
Chunks.h COFF: Change the /lldmap output format to be more like the ELF linker. 2017-01-14 03:14:46 +00:00
Config.h [COFF] Put the PDB next to the image if the user doesn't pass /PDB: 2017-03-22 00:57:14 +00:00
DLL.cpp COFF: New symbol table design. 2016-12-09 21:55:24 +00:00
DLL.h
Driver.cpp [COFF] support /ERRORLIMIT option 2017-04-05 00:43:54 +00:00
Driver.h Fix /msvclto. 2017-02-23 00:26:42 +00:00
DriverUtils.cpp Fix /msvclto. 2017-02-23 00:26:42 +00:00
Error.cpp [COFF] support /ERRORLIMIT option 2017-04-05 00:43:54 +00:00
Error.h Do not pass archive files containing non-native object files. 2017-03-16 21:19:36 +00:00
ICF.cpp Do not use errs() or outs() directly. Instead use message(), log() or error() 2017-02-21 23:22:56 +00:00
InputFiles.cpp Re-apply r299168 and r299169 now that the libdeps are fixed. 2017-03-31 04:47:07 +00:00
InputFiles.h refactor COFF linker to use new LTO API 2017-02-02 23:58:14 +00:00
LTO.cpp LTO: Replace InputFile::Symbol::getFlags() with predicate accessors. NFC. 2017-03-28 22:31:35 +00:00
LTO.h Add an option to use the MSVC linker to link LTO-generated object files. 2017-02-06 20:47:55 +00:00
Librarian.cpp Fix wrong assertion failure. 2017-03-09 04:47:33 +00:00
MapFile.cpp Print alignment in decimal instead of hexadecimal. 2017-01-31 20:42:34 +00:00
MapFile.h COFF: Change the /lldmap output format to be more like the ELF linker. 2017-01-14 03:14:46 +00:00
MarkLive.cpp COFF: New symbol table design. 2016-12-09 21:55:24 +00:00
Memory.h Remove lld/Support/Memory.h. 2016-12-18 14:06:06 +00:00
ModuleDef.cpp [COFF] Don't let /def override /out filename 2017-03-21 00:12:51 +00:00
Options.td [COFF] support /ERRORLIMIT option 2017-04-05 00:43:54 +00:00
PDB.cpp [PDB] Save one type record copy 2017-04-04 00:56:34 +00:00
PDB.h COFF: tie the execute and the PDB together 2017-01-04 17:56:54 +00:00
README.md Update the documents of the new LLD. 2016-03-12 06:06:40 +00:00
Strings.cpp Fix Windows buildbots. 2016-12-07 23:24:32 +00:00
Strings.h COFF: Define overloaded toString functions. 2016-12-07 23:17:02 +00:00
SymbolTable.cpp [COFF] support /ERRORLIMIT option 2017-04-05 00:43:54 +00:00
SymbolTable.h Add an option to use the MSVC linker to link LTO-generated object files. 2017-02-06 20:47:55 +00:00
Symbols.cpp refactor COFF linker to use new LTO API 2017-02-02 23:58:14 +00:00
Symbols.h fix nullptr dereference in COFF/Symbol.h 2017-02-03 23:05:17 +00:00
Writer.cpp Add a function to MD5 a file's contents. 2017-03-20 23:33:18 +00:00
Writer.h COFF: Change the /lldmap output format to be more like the ELF linker. 2017-01-14 03:14:46 +00:00

README.md

See docs/NewLLD.rst