[cfe-commits] r67348 - /cfe/trunk/lib/Driver/Driver.cpp

Daniel Dunbar daniel at zuster.org
Thu Mar 19 17:11:05 PDT 2009


Author: ddunbar
Date: Thu Mar 19 19:11:04 2009
New Revision: 67348

URL: http://llvm.org/viewvc/llvm-project?rev=67348&view=rev
Log:
Driver: Temporary hack to allow -ccc-print-bindings to work (for
testing) even with -pipe on.

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

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

==============================================================================
--- cfe/trunk/lib/Driver/Driver.cpp (original)
+++ cfe/trunk/lib/Driver/Driver.cpp Thu Mar 19 19:11:04 2009
@@ -791,7 +791,10 @@
     PipedJob *PJ = dyn_cast<PipedJob>(Dest);
     if (!PJ) {
       PJ = new PipedJob();
-      cast<JobList>(Dest)->addJob(PJ);
+      // FIXME: Temporary hack so that -ccc-print-bindings work until
+      // we have pipe support. Please remove later.
+      if (!CCCPrintBindings)
+        cast<JobList>(Dest)->addJob(PJ);
       Dest = PJ;
     }
     Result = InputInfo(PJ, A->getType(), BaseInput);





More information about the cfe-commits mailing list