Dependency should be on the output file name, not the dependency file

name.

llvm-svn: 139220
This commit is contained in:
Joerg Sonnenberger 2011-09-07 02:12:03 +00:00
parent f9bd0f5d99
commit 3d76f312b2
1 changed files with 1 additions and 1 deletions

View 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();