Dependency should be on the output file name, not the dependency file
authorJoerg Sonnenberger <joerg@bec.de>
Wed, 7 Sep 2011 02:12:03 +0000 (02:12 +0000)
committerJoerg Sonnenberger <joerg@bec.de>
Wed, 7 Sep 2011 02:12:03 +0000 (02:12 +0000)
name.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139220 91177308-0d34-0410-b5e6-96231b3b80d8

utils/TableGen/TableGen.cpp

index e8eacb841d035859c7e00d68a269e665f0bafe0b..372c40b1a0ca374a23ca09193d3fa9f5ab47966a 100644 (file)
@@ -242,7 +242,7 @@ int main(int argc, char **argv) {
           << ":" << 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();