From: Chris Lattner Date: Thu, 30 Jan 2003 21:33:07 +0000 (+0000) Subject: Actually print the function _name_ if there is a problem X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9943a59cb5e0d8306fdbe32ccc0af89af8878024;p=oota-llvm.git 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 --- diff --git a/lib/Transforms/IPO/FunctionResolution.cpp b/lib/Transforms/IPO/FunctionResolution.cpp index 75a3283c9f4..9527ad2135c 100644 --- a/lib/Transforms/IPO/FunctionResolution.cpp +++ b/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; }