diff options
-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 290592a2f1..893b5d6bfc 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. |