[llvm-commits] [llvm] r139220 - /llvm/trunk/utils/TableGen/TableGen.cpp

Joerg Sonnenberger joerg at bec.de
Tue Sep 6 19:12:03 PDT 2011


Author: joerg
Date: Tue Sep  6 21:12:03 2011
New Revision: 139220

URL: http://llvm.org/viewvc/llvm-project?rev=139220&view=rev
Log:
Dependency should be on the output file name, not the dependency file
name.

Modified:
    llvm/trunk/utils/TableGen/TableGen.cpp

Modified: llvm/trunk/utils/TableGen/TableGen.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/TableGen.cpp?rev=139220&r1=139219&r2=139220&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/TableGen.cpp (original)
+++ llvm/trunk/utils/TableGen/TableGen.cpp Tue Sep  6 21:12:03 2011
@@ -242,7 +242,7 @@
           << ":" << Error << "\n";
         return 1;
       }
-      DepOut.os() << DependFilename << ":";
+      DepOut.os() << OutputFilename << ":";
       const std::vector<std::string> &Dependencies = Parser.getDependencies();
       for (std::vector<std::string>::const_iterator I = Dependencies.begin(),
                                                           E = Dependencies.end();





More information about the llvm-commits mailing list