summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMehdi Amini <mehdi.amini@apple.com>2016-04-19 09:21:30 +0000
committerMehdi Amini <mehdi.amini@apple.com>2016-04-19 09:21:30 +0000
commitaeb1e59b715fb13e06f7b66bdd6bc3a0429250e1 (patch)
tree36b61c079ae183d0e0ca644b8ee6c7c51c6ee34e
parent26b2577f6b7d69df5524e0f2c3c23c0ef220d46c (diff)
downloadbcm5719-llvm-aeb1e59b715fb13e06f7b66bdd6bc3a0429250e1.tar.gz
bcm5719-llvm-aeb1e59b715fb13e06f7b66bdd6bc3a0429250e1.zip
Minor improvement to debug output for Function Importer (NFC)
From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 266723
-rw-r--r--llvm/lib/Transforms/IPO/FunctionImport.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/llvm/lib/Transforms/IPO/FunctionImport.cpp b/llvm/lib/Transforms/IPO/FunctionImport.cpp
index 91e3695c351..0c714dff3e0 100644
--- a/llvm/lib/Transforms/IPO/FunctionImport.cpp
+++ b/llvm/lib/Transforms/IPO/FunctionImport.cpp
@@ -348,9 +348,9 @@ bool FunctionImporter::importFunctions(
continue;
auto GUID = GV.getGUID();
auto Import = ImportGUIDs.count(GUID);
- DEBUG(dbgs() << (Import ? "Is" : "Not") << " importing " << GUID << " "
- << GV.getName() << " from " << SrcModule->getSourceFileName()
- << "\n");
+ DEBUG(dbgs() << (Import ? "Is" : "Not") << " importing function " << GUID
+ << " " << GV.getName() << " from "
+ << SrcModule->getSourceFileName() << "\n");
if (Import) {
GV.materialize();
GlobalsToImport.insert(&GV);
@@ -361,9 +361,9 @@ bool FunctionImporter::importFunctions(
continue;
auto GUID = GV.getGUID();
auto Import = ImportGUIDs.count(GUID);
- DEBUG(dbgs() << (Import ? "Is" : "Not") << " importing " << GUID << " "
- << GV.getName() << " from " << SrcModule->getSourceFileName()
- << "\n");
+ DEBUG(dbgs() << (Import ? "Is" : "Not") << " importing global " << GUID
+ << " " << GV.getName() << " from "
+ << SrcModule->getSourceFileName() << "\n");
if (Import) {
GV.materialize();
GlobalsToImport.insert(&GV);
@@ -374,9 +374,9 @@ bool FunctionImporter::importFunctions(
continue;
auto GUID = GV.getGUID();
auto Import = ImportGUIDs.count(GUID);
- DEBUG(dbgs() << (Import ? "Is" : "Not") << " importing " << GUID << " "
- << GV.getName() << " from " << SrcModule->getSourceFileName()
- << "\n");
+ DEBUG(dbgs() << (Import ? "Is" : "Not") << " importing alias " << GUID
+ << " " << GV.getName() << " from "
+ << SrcModule->getSourceFileName() << "\n");
if (Import) {
// Alias can't point to "available_externally". However when we import
// linkOnceODR the linkage does not change. So we import the alias
OpenPOWER on IntegriCloud