aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2008-11-11 19:33:39 +0000
committerDevang Patel <dpatel@apple.com>2008-11-11 19:33:39 +0000
commit90d45b8a4a787739662dc1c781dc0e7c57c2ffa2 (patch)
tree57df36ce24487f1233a7f74fb45d45487c1d6534 /include/llvm
parent611944b63ac0c44795075b22d5f88b48c29724f2 (diff)
downloadexternal_llvm-90d45b8a4a787739662dc1c781dc0e7c57c2ffa2.zip
external_llvm-90d45b8a4a787739662dc1c781dc0e7c57c2ffa2.tar.gz
external_llvm-90d45b8a4a787739662dc1c781dc0e7c57c2ffa2.tar.bz2
Add utility pass to remove dbg info.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59068 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/LinkAllPasses.h1
-rw-r--r--include/llvm/Transforms/IPO.h7
2 files changed, 8 insertions, 0 deletions
diff --git a/include/llvm/LinkAllPasses.h b/include/llvm/LinkAllPasses.h
index 0d9ba26..5fd9cc3 100644
--- a/include/llvm/LinkAllPasses.h
+++ b/include/llvm/LinkAllPasses.h
@@ -125,6 +125,7 @@ namespace {
(void) llvm::createMergeFunctionsPass();
(void) llvm::createPrintModulePass(0);
(void) llvm::createPrintFunctionPass("", 0);
+ (void) llvm::createRemoveDbgInfoPass();
(void)new llvm::IntervalPartition();
(void)new llvm::FindUsedTypes();
diff --git a/include/llvm/Transforms/IPO.h b/include/llvm/Transforms/IPO.h
index 8876140..8c92cff 100644
--- a/include/llvm/Transforms/IPO.h
+++ b/include/llvm/Transforms/IPO.h
@@ -200,6 +200,13 @@ Pass *createAddReadAttrsPass();
///
ModulePass *createMergeFunctionsPass();
+//===----------------------------------------------------------------------===//
+//
+// RemoveDbgInfoPass - This pass removes debug info. intrinsics.
+//
+ModulePass *createRemoveDbgInfoPass();
+
+
} // End llvm namespace
#endif