Move the strip pass from Scalar to IPO lib
authorChris Lattner <sabre@nondot.org>
Thu, 2 Dec 2004 21:24:19 +0000 (21:24 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 2 Dec 2004 21:24:19 +0000 (21:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18438 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Transforms/IPO.h
include/llvm/Transforms/Scalar.h

index e85628fba9e8e6cdeebdec6b9421973032fcd252..5006b3da69d9ab192f12306a41c026c739ebf04f 100644 (file)
@@ -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++
index ae4e6538786a24810de2efb067687fe02af42ae8..b5af277e7eaf422eb2c5257aaf8ed15b7870d098 100644 (file)
@@ -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