Don't silently ignore invalid files: tell the user!

llvm-svn: 17633
This commit is contained in:
Misha Brukman 2004-11-08 22:03:10 +00:00
parent 068c0cf56a
commit 465e7fb8ef
1 changed files with 2 additions and 0 deletions

View File

@ -345,6 +345,8 @@ bool llvm::LinkFiles(const char *progname, Module *HeadModule,
<< Pathname << "': " << ErrorMessage << "\n";
return true;
}
} else {
std::cerr << "Warning: invalid file `" << Pathname << "' ignored.\n";
}
}