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
This commit is contained in:
Joerg Sonnenberger 2011-09-07 02:12:03 +00:00
parent 541a81cc2b
commit 08708c8ef3

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