diff options
author | Chris Lattner <sabre@nondot.org> | 2004-12-02 21:24:19 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-12-02 21:24:19 +0000 |
commit | 92f6c15d8f40aa81c65bda18149855a0b025a68e (patch) | |
tree | 4df9e1a8076ad532265ca36a1c6d77adeacbe918 /include/llvm/Transforms | |
parent | b0ea864bbd1e3feb4f47ab5f896df8f9b2da18b4 (diff) | |
download | external_llvm-92f6c15d8f40aa81c65bda18149855a0b025a68e.zip external_llvm-92f6c15d8f40aa81c65bda18149855a0b025a68e.tar.gz external_llvm-92f6c15d8f40aa81c65bda18149855a0b025a68e.tar.bz2 |
Move the strip pass from Scalar to IPO lib
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18438 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms')
-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 e85628f..5006b3d 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 ae4e653..b5af277 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 |