summaryrefslogtreecommitdiffstats
path: root/lld/MinGW/Driver.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove unused includes and do not enclose the entire file with a namespace.Rui Ueyama2017-09-111-8/+1
| | | | llvm-svn: 312961
* LLD: Add -mllvm flag to the MinGW driver.Martell Malone2017-09-111-0/+3
| | | | | | | | | | | This adds support for passing LTO flags to the MINGW driver in GNU LD style i.e. -mllvm flag -> /mllvm:flag Reviewers: ruiu, mstorsjo Differential Revision: https://reviews.llvm.org/D37712 llvm-svn: 312956
* Sort options.Rui Ueyama2017-09-111-1/+1
| | | | | | This patch also rename OPT_outlib OPT_out_implib for consistency. llvm-svn: 312949
* [MinGW] Map the -verbose option, implement -### for showing the produced ↵Martin Storsjo2017-09-111-1/+11
| | | | | | | | | | | | | | | parameters Pass the -verbose option through to the COFF linker, and show the arguments passed to it. If the -### option is specified, just show the produced argument list and exit, just like in clang. Replace the first argument with "lld-link" in order to produce a correct command line. Differential Revision: https://reviews.llvm.org/D37706 llvm-svn: 312944
* Improve readability of MinGW driver. NFC.Rui Ueyama2017-09-111-87/+69
| | | | | | | | | | | | | | Summary: In addition to removing a few global variables and functions, I believe this patch improves code readability a bit in general. Reviewers: mstorsjo, martell Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D37699 llvm-svn: 312940
* LLD: Introduce a GNU LD style driver for COFFMartell Malone2017-09-111-0/+204
When building COFF programs many targets such as mingw prefer to have a gnu ld frontend. Rather then having a fully fledged standalone driver we wrap a shim around the LINK driver. Extra tests were provided by mstorsjo Reviewers: mstorsjo, ruiu Differential Revision: https://reviews.llvm.org/D33880 llvm-svn: 312926
OpenPOWER on IntegriCloud