projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe9664c
)
Actually print the function _name_ if there is a problem
author
Chris Lattner
<sabre@nondot.org>
Thu, 30 Jan 2003 21:33:07 +0000
(21:33 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 30 Jan 2003 21:33:07 +0000
(21:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5443
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/IPO/FunctionResolution.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/IPO/FunctionResolution.cpp
b/lib/Transforms/IPO/FunctionResolution.cpp
index 75a3283c9f4b47d9262b80566a7cea9135b09d75..9527ad2135c39db642e250ff41decf10f18e2d40 100644
(file)
--- a/
lib/Transforms/IPO/FunctionResolution.cpp
+++ b/
lib/Transforms/IPO/FunctionResolution.cpp
@@
-134,7
+134,8
@@
static bool ResolveFunctions(Module &M, std::vector<GlobalValue*> &Globals,
//
for (unsigned i = 0; i < OldMT->getParamTypes().size(); ++i)
if (OldMT->getParamTypes()[i] != ConcreteMT->getParamTypes()[i]) {
- std::cerr << "Parameter types conflict for: '" << OldMT
+ std::cerr << "funcresolve: Function [" << Old->getName()
+ << "]: Parameter types conflict for: '" << OldMT
<< "' and '" << ConcreteMT << "'\n";
return Changed;
}