[PATCH] D22418: COFF: Implement /reproduce flag.
Peter Collingbourne via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 15 11:09:56 PDT 2016
pcc created this revision.
pcc added reviewers: ruiu, compnerd.
pcc added a subscriber: llvm-commits.
This flag is similar to --reproduce in the ELF linker.
This patch implements /reproduce 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.
https://reviews.llvm.org/D22418
Files:
COFF/CMakeLists.txt
COFF/Driver.cpp
COFF/Driver.h
COFF/Error.h
COFF/InputFiles.cpp
COFF/Options.td
ELF/CMakeLists.txt
ELF/Driver.cpp
ELF/Driver.h
ELF/DriverUtils.cpp
ELF/InputFiles.cpp
ELF/InputFiles.h
include/lld/Core/Reproduce.h
lib/Core/CMakeLists.txt
lib/Core/Reproduce.cpp
test/COFF/reproduce.test
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22418.64168.patch
Type: text/x-patch
Size: 22597 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160715/e2ec63e8/attachment.bin>
More information about the llvm-commits
mailing list