From 5771d6c16d71dc3bba59b88592686c76f07f4721 Mon Sep 17 00:00:00 2001 From: Owen Anderson Date: Thu, 29 May 2008 17:00:13 +0000 Subject: Force postdom to be linked into opt and bugpoint, even though it is no longer used by any passes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51686 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/PostDominators.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lib/Analysis/PostDominators.cpp') diff --git a/lib/Analysis/PostDominators.cpp b/lib/Analysis/PostDominators.cpp index cfa1b46329..3d3713b11d 100644 --- a/lib/Analysis/PostDominators.cpp +++ b/lib/Analysis/PostDominators.cpp @@ -42,6 +42,10 @@ PostDominatorTree::~PostDominatorTree() delete DT; } +FunctionPass* llvm::createPostDomTree() { + return new PostDominatorTree(); +} + //===----------------------------------------------------------------------===// // PostDominanceFrontier Implementation //===----------------------------------------------------------------------===// @@ -84,3 +88,7 @@ PostDominanceFrontier::calculate(const PostDominatorTree &DT, return S; } + +FunctionPass* llvm::createPostDomFrontier() { + return new PostDominanceFrontier(); +} \ No newline at end of file -- cgit v1.2.3