From 407c25bd826364e3fcc67549d94044f84d90ad2f Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 3 Nov 2001 19:49:54 +0000 Subject: [PATCH] Expose method to merge identically named methods git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1109 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Transforms/IPO.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/llvm/Transforms/IPO.h b/include/llvm/Transforms/IPO.h index 290592a2f1a..893b5d6bfc0 100644 --- a/include/llvm/Transforms/IPO.h +++ b/include/llvm/Transforms/IPO.h @@ -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. -- 2.34.1