Print something useful for gccld -v with an archive.
authorChris Lattner <sabre@nondot.org>
Sun, 13 Feb 2005 15:26:14 +0000 (15:26 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 13 Feb 2005 15:26:14 +0000 (15:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20148 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Linker/LinkArchives.cpp

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