[llvm-commits] CVS: llvm/include/llvm/Transforms/IPO.h Scalar.h
Chris Lattner
lattner at cs.uiuc.edu
Thu Dec 2 13:24:31 PST 2004
Changes in directory llvm/include/llvm/Transforms:
IPO.h updated: 1.37 -> 1.38
Scalar.h updated: 1.49 -> 1.50
---
Log message:
Move the strip pass from Scalar to IPO lib
---
Diffs of the changes: (+7 -8)
Index: llvm/include/llvm/Transforms/IPO.h
diff -u llvm/include/llvm/Transforms/IPO.h:1.37 llvm/include/llvm/Transforms/IPO.h:1.38
--- llvm/include/llvm/Transforms/IPO.h:1.37 Mon Oct 18 09:43:45 2004
+++ llvm/include/llvm/Transforms/IPO.h Thu Dec 2 15:24:18 2004
@@ -24,6 +24,13 @@
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.
Index: llvm/include/llvm/Transforms/Scalar.h
diff -u llvm/include/llvm/Transforms/Scalar.h:1.49 llvm/include/llvm/Transforms/Scalar.h:1.50
--- llvm/include/llvm/Transforms/Scalar.h:1.49 Wed Nov 17 12:01:49 2004
+++ llvm/include/llvm/Transforms/Scalar.h Thu Dec 2 15:24:19 2004
@@ -276,14 +276,6 @@
// into regular LLVM instructions.
FunctionPass* createLowerConstantExpressionsPass();
-
-//===----------------------------------------------------------------------===//
-//
-// These functions removes symbols from functions and modules.
-//
-FunctionPass *createSymbolStrippingPass();
-FunctionPass *createFullSymbolStrippingPass();
-
} // End llvm namespace
#endif
More information about the llvm-commits
mailing list