summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-02-13 15:26:14 +0000
committerChris Lattner <sabre@nondot.org>2005-02-13 15:26:14 +0000
commit71a44087d4fa6ecf93e73035b4db33e9e757b824 (patch)
treef22b93b97220c5193bff5420f42d72f7490af9a6
parent9f219c79aa145ed0b16f44e6b4486b4928083a71 (diff)
downloadbcm5719-llvm-71a44087d4fa6ecf93e73035b4db33e9e757b824.tar.gz
bcm5719-llvm-71a44087d4fa6ecf93e73035b4db33e9e757b824.zip
Print something useful for gccld -v with an archive.
llvm-svn: 20148
-rw-r--r--llvm/lib/Linker/LinkArchives.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Linker/LinkArchives.cpp b/llvm/lib/Linker/LinkArchives.cpp
index 2f6cfca3322..69549251b9f 100644
--- a/llvm/lib/Linker/LinkArchives.cpp
+++ b/llvm/lib/Linker/LinkArchives.cpp
@@ -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 '" +
OpenPOWER on IntegriCloud