aboutsummaryrefslogtreecommitdiff
path: root/llvm/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
commit3d76f312b25537e3f9b01734e01c52a496712a4d (patch)
tree933b2447affa8b93a8f2e77018bb9e2fb1062097 /llvm/utils/TableGen/TableGen.cpp
parentf9bd0f5d99271533a67badf1772da74c5f74d82a (diff)
downloadllvm-3d76f312b25537e3f9b01734e01c52a496712a4d.zip
llvm-3d76f312b25537e3f9b01734e01c52a496712a4d.tar.gz
llvm-3d76f312b25537e3f9b01734e01c52a496712a4d.tar.bz2
Dependency should be on the output file name, not the dependency file
name. llvm-svn: 139220
Diffstat (limited to 'llvm/utils/TableGen/TableGen.cpp')
-rw-r--r--llvm/utils/TableGen/TableGen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/TableGen.cpp b/llvm/utils/TableGen/TableGen.cpp
index e8eacb8..372c40b 100644
--- a/llvm/utils/TableGen/TableGen.cpp
+++ b/llvm/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();