[lld] r298035 - COFF: Strip /lldsavetemps from MSVC command line during /msvclto.

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 16 19:11:09 PDT 2017


Author: pcc
Date: Thu Mar 16 21:11:09 2017
New Revision: 298035

URL: http://llvm.org/viewvc/llvm-project?rev=298035&view=rev
Log:
COFF: Strip /lldsavetemps from MSVC command line during /msvclto.

Modified:
    lld/trunk/COFF/Driver.cpp

Modified: lld/trunk/COFF/Driver.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/COFF/Driver.cpp?rev=298035&r1=298034&r2=298035&view=diff
==============================================================================
--- lld/trunk/COFF/Driver.cpp (original)
+++ lld/trunk/COFF/Driver.cpp Thu Mar 16 21:11:09 2017
@@ -515,6 +515,7 @@ void LinkerDriver::invokeMSVC(opt::Input
     case OPT_linkrepro:
     case OPT_lldmap:
     case OPT_lldmap_file:
+    case OPT_lldsavetemps:
     case OPT_msvclto:
       // LLD-specific options are stripped.
       break;




More information about the llvm-commits mailing list