[PATCH] D29526: Add an option to use the MSVC linker to link LTO-generated object files.
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 3 18:02:36 PST 2017
ruiu created this revision.
Herald added a subscriber: mehdi_amini.
This patch defines a new command line option, /MSVCLTO, to LLD.
If that option is given, LLD invokes link.exe to link LTO-generated
object files. This is hacky but useful because link.exe can create
PDB files.
https://reviews.llvm.org/D29526
Files:
lld/COFF/Driver.cpp
lld/COFF/Driver.h
lld/COFF/DriverUtils.cpp
lld/COFF/LTO.cpp
lld/COFF/LTO.h
lld/COFF/Options.td
lld/COFF/SymbolTable.cpp
lld/COFF/SymbolTable.h
lld/test/COFF/msvclto.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29526.87062.patch
Type: text/x-patch
Size: 7170 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170204/ede20e4d/attachment.bin>
More information about the llvm-commits
mailing list