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

Daniel Dunbar daniel at zuster.org
Tue Mar 17 23:21:14 PDT 2009


Author: ddunbar
Date: Wed Mar 18 01:21:12 2009
New Revision: 67174

URL: http://llvm.org/viewvc/llvm-project?rev=67174&view=rev
Log:
Driver: Claim inputs when we bind the InputAction.

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=67174&r1=67173&r2=67174&view=diff

==============================================================================
--- cfe/trunk/lib/Driver/Driver.cpp (original)
+++ cfe/trunk/lib/Driver/Driver.cpp Wed Mar 18 01:21:12 2009
@@ -665,6 +665,7 @@
                                 InputInfo &Result) const {
   llvm::PrettyStackTraceString CrashInfo("Building compilation jobs for action");
   if (const InputAction *IA = dyn_cast<InputAction>(A)) {
+    IA->getInputArg().claim();
     const char *Name = IA->getInputArg().getValue(C.getArgs());
     Result = InputInfo(Name, A->getType(), Name);
     return;





More information about the cfe-commits mailing list