diff --git a/include/llvm/Transforms/IPO.h b/include/llvm/Transforms/IPO.h index e85628fba9e..5006b3da69d 100644 --- a/include/llvm/Transforms/IPO.h +++ b/include/llvm/Transforms/IPO.h @@ -23,6 +23,13 @@ class ModulePass; class Function; class BasicBlock; +//===----------------------------------------------------------------------===// +// +// These functions removes symbols from functions and modules. If OnlyDebugInfo +// is true, only debugging information is removed from the module. +// +ModulePass *createStripSymbolsPass(bool OnlyDebugInfo = false); + //===----------------------------------------------------------------------===// /// createLowerSetJmpPass - This function lowers the setjmp/longjmp intrinsics /// to invoke/unwind instructions. This should really be part of the C/C++ diff --git a/include/llvm/Transforms/Scalar.h b/include/llvm/Transforms/Scalar.h index ae4e6538786..b5af277e7ea 100644 --- a/include/llvm/Transforms/Scalar.h +++ b/include/llvm/Transforms/Scalar.h @@ -276,14 +276,6 @@ FunctionPass *createLowerGCPass(); // into regular LLVM instructions. FunctionPass* createLowerConstantExpressionsPass(); - -//===----------------------------------------------------------------------===// -// -// These functions removes symbols from functions and modules. -// -FunctionPass *createSymbolStrippingPass(); -FunctionPass *createFullSymbolStrippingPass(); - } // End llvm namespace #endif