diff options
-rw-r--r-- | include/llvm/Transforms/IPO.h | 7 | ||||
-rw-r--r-- | include/llvm/Transforms/Scalar.h | 8 |
2 files changed, 7 insertions, 8 deletions
diff --git a/include/llvm/Transforms/IPO.h b/include/llvm/Transforms/IPO.h index e85628fba9..5006b3da69 100644 --- a/include/llvm/Transforms/IPO.h +++ b/include/llvm/Transforms/IPO.h @@ -24,6 +24,13 @@ 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++ /// front-end, but it's so much easier to write transformations in LLVM proper. diff --git a/include/llvm/Transforms/Scalar.h b/include/llvm/Transforms/Scalar.h index ae4e653878..b5af277e7e 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 |