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

Eli Friedman eli.friedman at gmail.com
Thu Aug 9 15:42:04 PDT 2012


Author: efriedma
Date: Thu Aug  9 17:42:04 2012
New Revision: 161630

URL: http://llvm.org/viewvc/llvm-project?rev=161630&view=rev
Log:
Followup to r161546, to unbreak linking on Bitrig.  Patch by David Hill.


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=161630&r1=161629&r2=161630&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Tools.cpp (original)
+++ cfe/trunk/lib/Driver/Tools.cpp Thu Aug  9 17:42:04 2012
@@ -5093,6 +5093,10 @@
       CmdArgs.push_back(Args.MakeArgString(
                               getToolChain().GetFilePath("crtendS.o")));
   }
+
+  const char *Exec =
+    Args.MakeArgString(getToolChain().GetProgramPath("ld"));
+  C.addCommand(new Command(JA, *this, Exec, CmdArgs));
 }
 
 void freebsd::Assemble::ConstructJob(Compilation &C, const JobAction &JA,





More information about the cfe-commits mailing list