Expose method to merge identically named methods
authorChris Lattner <sabre@nondot.org>
Sat, 3 Nov 2001 19:49:54 +0000 (19:49 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 3 Nov 2001 19:49:54 +0000 (19:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1109 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Transforms/IPO.h

index 290592a2f1a0ee041f8614ec8fd994a5e0b4ef8e..893b5d6bfc0bd7101cc70ee2cdee77a9add70340 100644 (file)
@@ -14,6 +14,12 @@ public:
 
   inline CleanupGCCOutput() : Malloc(0), Free(0) {}
 
+  // PatchUpMethodReferences - This is a part of the functionality exported by
+  // the CleanupGCCOutput pass.  This causes functions with different signatures
+  // to be linked together if they have the same name.
+  //
+  static bool PatchUpMethodReferences(Module *M);
+
   // doPassInitialization - For this pass, it removes global symbol table
   // entries for primitive types.  These are never used for linking in GCC and
   // they make the output uglier to look at, so we nuke them.