summaryrefslogtreecommitdiff
path: root/include/llvm/Transforms/IPO.h
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-03-09 20:49:37 +0000
committerDevang Patel <dpatel@apple.com>2009-03-09 20:49:37 +0000
commit23e528be8069ead5f598e4043481fa2ef122a0e6 (patch)
tree7c1b5c9bfc26d121ebb0f5b0d603142a9a024f50 /include/llvm/Transforms/IPO.h
parentf7912df4cbdb44aeac9ac9907c192dfc1e22646d (diff)
downloadllvm-23e528be8069ead5f598e4043481fa2ef122a0e6.tar.gz
llvm-23e528be8069ead5f598e4043481fa2ef122a0e6.tar.bz2
llvm-23e528be8069ead5f598e4043481fa2ef122a0e6.tar.xz
Add helper pass to remove llvm.dbg.declare intrinsics.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66454 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms/IPO.h')
-rw-r--r--include/llvm/Transforms/IPO.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/include/llvm/Transforms/IPO.h b/include/llvm/Transforms/IPO.h
index eeb2aa26e8..4372ea00d4 100644
--- a/include/llvm/Transforms/IPO.h
+++ b/include/llvm/Transforms/IPO.h
@@ -35,12 +35,17 @@ ModulePass *createStripSymbolsPass(bool OnlyDebugInfo = false);
//===----------------------------------------------------------------------===//
//
-// These functions removes symbols from functions and modules.
-// Only debugging information is not removed.
+// These functions strips symbols from functions and modules.
+// Only debugging information is not stripped.
//
ModulePass *createStripNonDebugSymbolsPass();
//===----------------------------------------------------------------------===//
+//
+// These pass removes llvm.dbg.declare intrinsics.
+ModulePass *createStripDebugDeclarePass();
+
+//===----------------------------------------------------------------------===//
/// 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.