aboutsummaryrefslogtreecommitdiff
path: root/utils/TableGen/TableGen.cpp
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@bec.de>2011-09-07 02:12:03 +0000
committerJoerg Sonnenberger <joerg@bec.de>2011-09-07 02:12:03 +0000
commit08708c8ef3185058ef879a977f580996b83b75ea (patch)
tree52cf27cf79b247eb01a72e53ffcf30221dfe5f53 /utils/TableGen/TableGen.cpp
parent541a81cc2bb8b66960e788b1d8441536354b79b8 (diff)
Dependency should be on the output file name, not the dependency file
name. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139220 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/TableGen.cpp')
-rw-r--r--utils/TableGen/TableGen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/TableGen.cpp b/utils/TableGen/TableGen.cpp
index e8eacb841d..372c40b1a0 100644
--- a/utils/TableGen/TableGen.cpp
+++ b/utils/TableGen/TableGen.cpp
@@ -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();