mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-20 11:29:24 +00:00
Actually print the function _name_ if there is a problem
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5443 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fe9664ce7c
commit
9943a59cb5
@ -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
Block a user