Print something useful for gccld -v with an archive.

llvm-svn: 20148
This commit is contained in:
Chris Lattner 2005-02-13 15:26:14 +00:00
parent 9f219c79aa
commit 71a44087d4
1 changed files with 2 additions and 0 deletions

View File

@ -151,6 +151,8 @@ Linker::LinkInArchive(const sys::Path &Filename) {
std::auto_ptr<Module> AutoModule( (*I)->releaseModule() ); std::auto_ptr<Module> AutoModule( (*I)->releaseModule() );
Module* aModule = AutoModule.get(); Module* aModule = AutoModule.get();
verbose(" Linking in module: " + aModule->getModuleIdentifier());
// Link it in // Link it in
if (this->LinkInModule(aModule)) if (this->LinkInModule(aModule))
return error("Cannot link in module '" + return error("Cannot link in module '" +