forked from OSchip/llvm-project
Actually print the function _name_ if there is a problem
llvm-svn: 5443
This commit is contained in:
parent
26a1fe3494
commit
47948952dd
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue