[PATCH] D12029: [lld] LinkDriver, llvm-link: introduce shim.
Martell Malone via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 14 02:16:38 PDT 2015
martell created this revision.
martell added reviewers: compnerd, ruiu.
martell added subscribers: llvm-commits, lld, silvas, meadori.
lld-link is intended to be a link.exe compatible utility
This is intended to become a shim that converts link commands to ld commands.
This was previously suggested by Saleem here
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20150608/280890.html
I would like to implement this in 3 stages.
1. Introduce this LinkDriver.
2. Migrate the driver in COFF to the LinkDriver
3. Unify the COFF and ELF linker to have a unified interface via ld
4. Change LinkDriver from an interface to an argument conversion shim.
I believe this would be the best way todo this because the product will still be complete at stage 3 and we can then weigh in the pros and cons of changing LinkDriver to a conversion shim.
If this proves successful we can do a Ld64Driver similar to this.
http://reviews.llvm.org/D12029
Files:
include/lld/LinkDriver/LinkDriver.h
lib/CMakeLists.txt
lib/LinkDriver/CMakeLists.txt
lib/LinkDriver/LinkDriver.cpp
lib/LinkDriver/Options.td
tools/lld/CMakeLists.txt
tools/lld/install_symlink.cmake
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12029.32139.patch
Type: text/x-patch
Size: 7197 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150814/2509165b/attachment.bin>
More information about the llvm-commits
mailing list