[llvm-commits] CVS: llvm/lib/Transforms/IPO/FunctionResolution.cpp

Chris Lattner lattner at cs.uiuc.edu
Thu Jan 30 15:34:01 PST 2003


Changes in directory llvm/lib/Transforms/IPO:

FunctionResolution.cpp updated: 1.18 -> 1.19

---
Log message:

Actually print the function _name_ if there is a problem


---
Diffs of the changes:

Index: llvm/lib/Transforms/IPO/FunctionResolution.cpp
diff -u llvm/lib/Transforms/IPO/FunctionResolution.cpp:1.18 llvm/lib/Transforms/IPO/FunctionResolution.cpp:1.19
--- llvm/lib/Transforms/IPO/FunctionResolution.cpp:1.18	Thu Jan 30 12:22:32 2003
+++ llvm/lib/Transforms/IPO/FunctionResolution.cpp	Thu Jan 30 15:33:07 2003
@@ -134,7 +134,8 @@
       //
       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;
         }





More information about the llvm-commits mailing list