diff --git a/lib/Transforms/IPO/PruneEH.cpp b/lib/Transforms/IPO/PruneEH.cpp index ee2f8c3b9b0..41f7f73845c 100644 --- a/lib/Transforms/IPO/PruneEH.cpp +++ b/lib/Transforms/IPO/PruneEH.cpp @@ -30,6 +30,8 @@ namespace { RegisterOpt X("prune-eh", "Remove unused exception handling info"); } +Pass *createPruneEHPass() { return new PruneEH(); } + bool PruneEH::runOnSCC(const std::vector &SCC) { CallGraph &CG = getAnalysis();