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 4 stages.
- Introduce this LinkDriver.
- Migrate the driver in COFF to the LinkDriver
- Unify the COFF and ELF linker to have a unified interface via ld
- 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 all stages with a fully working linker for all targets
We can then weigh in the pros and cons of changing LinkDriver to a conversion shim after stage 3.
If this proves successful we can do a Ld64Driver similar to this.
I also want to note that this was designed with llvm-lib as a reference so that we can be consistent between the llvm projects