[cfe-commits] r67583 - /cfe/trunk/lib/Driver/Tools.cpp

Daniel Dunbar daniel at zuster.org
Mon Mar 23 17:24:37 PDT 2009


Author: ddunbar
Date: Mon Mar 23 19:24:37 2009
New Revision: 67583

URL: http://llvm.org/viewvc/llvm-project?rev=67583&view=rev
Log:
Driver: lipo wasn't being called correctly (translation failure from
ccc due to the different way we handle output arguments).

Modified:
    cfe/trunk/lib/Driver/Tools.cpp

Modified: cfe/trunk/lib/Driver/Tools.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Tools.cpp?rev=67583&r1=67582&r2=67583&view=diff

==============================================================================
--- cfe/trunk/lib/Driver/Tools.cpp (original)
+++ cfe/trunk/lib/Driver/Tools.cpp Mon Mar 23 19:24:37 2009
@@ -495,7 +495,10 @@
 
   CmdArgs.push_back("-create");
   assert(Output.isFilename() && "Unexpected lipo output.");
+
+  CmdArgs.push_back("-output");
   CmdArgs.push_back(Output.getFilename());
+
   for (InputInfoList::const_iterator
          it = Inputs.begin(), ie = Inputs.end(); it != ie; ++it) {
     const InputInfo &II = *it;





More information about the cfe-commits mailing list