diff options
author | Chris Lattner <sabre@nondot.org> | 2001-11-03 19:49:54 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-11-03 19:49:54 +0000 |
commit | 407c25bd826364e3fcc67549d94044f84d90ad2f (patch) | |
tree | fad0e4ff7285ba1f2eb54b3822217ce78bb6d9f5 | |
parent | 51bc0e7994094662ad31ce8b1df8692b97900ba3 (diff) | |
download | external_llvm-407c25bd826364e3fcc67549d94044f84d90ad2f.zip external_llvm-407c25bd826364e3fcc67549d94044f84d90ad2f.tar.gz external_llvm-407c25bd826364e3fcc67549d94044f84d90ad2f.tar.bz2 |
Expose method to merge identically named methods
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1109 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Transforms/IPO.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/Transforms/IPO.h b/include/llvm/Transforms/IPO.h index 290592a..893b5d6 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. |