diff --git a/llvm/lib/Transforms/IPO/FunctionResolution.cpp b/llvm/lib/Transforms/IPO/FunctionResolution.cpp index 75a3283c9f4b..9527ad2135c3 100644 --- a/llvm/lib/Transforms/IPO/FunctionResolution.cpp +++ b/llvm/lib/Transforms/IPO/FunctionResolution.cpp @@ -134,7 +134,8 @@ static bool ResolveFunctions(Module &M, std::vector &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; }