From 9943a59cb5e0d8306fdbe32ccc0af89af8878024 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 30 Jan 2003 21:33:07 +0000 Subject: [PATCH] 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 --- lib/Transforms/IPO/FunctionResolution.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.34.1