llvm-project/lld/COFF
Peter Collingbourne feee2103c6 COFF: Implement /linkrepro flag.
This flag is implemented similarly to --reproduce in the ELF linker.

This patch implements /linkrepro by moving the cpio writer and associated
utility functions to lldCore, and using that implementation in both linkers.

One COFF-specific detail is that we store the object file from which the
resource files were created in our reproducer, rather than the resource
files themselves. This allows the reproducer to be used on non-Windows
systems for example.

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

llvm-svn: 276719
2016-07-26 02:00:42 +00:00
..
CMakeLists.txt COFF: Implement /linkrepro flag. 2016-07-26 02:00:42 +00:00
Chunks.cpp COFF: Update error messages so that they start with lowercase letters. 2016-07-15 01:12:24 +00:00
Chunks.h Apply clang-tidy's misc-move-constructor-init to lld. 2016-06-03 16:57:13 +00:00
Config.h [COFF] Add /section command line flag. 2016-06-20 03:39:39 +00:00
DLL.cpp Update for LLVM function name change. 2016-01-14 20:53:50 +00:00
DLL.h Make these headers as being c++. 2015-08-14 14:12:54 +00:00
Driver.cpp COFF: Implement /linkrepro flag. 2016-07-26 02:00:42 +00:00
Driver.h COFF: Implement /linkrepro flag. 2016-07-26 02:00:42 +00:00
DriverUtils.cpp COFF: Update error messages so that they start with lowercase letters. 2016-07-15 01:12:24 +00:00
Error.cpp COFF: Remove `void error()` functions and use fatal instead. 2016-07-15 00:40:46 +00:00
Error.h COFF: Implement /linkrepro flag. 2016-07-26 02:00:42 +00:00
ICF.cpp Rename so that the function name is consistent between ELF and COFF. 2016-02-25 18:49:11 +00:00
InputFiles.cpp COFF: Implement /linkrepro flag. 2016-07-26 02:00:42 +00:00
InputFiles.h COFF: Rename noreturn error -> fatal. 2016-07-14 23:37:14 +00:00
Librarian.cpp COFF: Update error messages so that they start with lowercase letters. 2016-07-15 01:12:24 +00:00
MarkLive.cpp COFF: Move markLive() from Writer.cpp to its own file. 2015-09-19 21:36:28 +00:00
ModuleDef.cpp Remove unnecessary explicit call of Twine ctor. 2016-07-15 01:06:40 +00:00
Options.td COFF: Implement /linkrepro flag. 2016-07-26 02:00:42 +00:00
PDB.cpp COFF: Remove `void error()` functions and use fatal instead. 2016-07-15 00:40:46 +00:00
README.md Update the documents of the new LLD. 2016-03-12 06:06:40 +00:00
SymbolTable.cpp COFF: Update error messages so that they start with lowercase letters. 2016-07-15 01:12:24 +00:00
SymbolTable.h [COFF] SmallVector<char, 0> -> SmallString<0>. 2016-04-09 23:00:31 +00:00
Symbols.cpp COFF: Update error messages so that they start with lowercase letters. 2016-07-15 01:12:24 +00:00
Symbols.h [COFF] Remove an unused function, getFileOff 2016-03-15 09:48:18 +00:00
Writer.cpp COFF: Update error messages so that they start with lowercase letters. 2016-07-15 01:12:24 +00:00
Writer.h COFF: Move markLive() from Writer.cpp to its own file. 2015-09-19 21:36:28 +00:00

README.md

See docs/NewLLD.rst