LinkerDriver::link is getting too long, it's time to simplify it.
I will rebase this patch after you submit https://reviews.llvm.org/D58380.
Paths 
  |  Differential  D58395  
Move MinGW-specific code out of LinkerDriver::link. NFC. ClosedPublic Authored by ruiu on Feb 19 2019, 11:05 AM. 
Details Summary LinkerDriver::link is getting too long, it's time to simplify it. I will rebase this patch after you submit https://reviews.llvm.org/D58380. 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Feb 19 2019, 11:39 AM Closed by commit rL354391: Move MinGW-specific code out of LinkerDriver::link. NFC. (authored by ruiu).  ·  Explain WhyFeb 19 2019, 2:06 PM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
Diff 187441 lld/trunk/COFF/Driver.h
 lld/trunk/COFF/Driver.cpp
 lld/trunk/COFF/MinGW.h
 lld/trunk/COFF/MinGW.cpp
  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||