diff options
author | Owen Anderson <resistor@mac.com> | 2010-10-13 22:00:45 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2010-10-13 22:00:45 +0000 |
commit | ae0a7bc68303ce0c8721f0e981ae602601390e68 (patch) | |
tree | b7ec99526b40d2ce5f50c59083e7e4991b8f6c28 /lib/Transforms/IPO/PruneEH.cpp | |
parent | 139788fe6f606075507f7cbb66cdbac57d8fabcd (diff) | |
download | llvm-ae0a7bc68303ce0c8721f0e981ae602601390e68.tar.gz llvm-ae0a7bc68303ce0c8721f0e981ae602601390e68.tar.bz2 llvm-ae0a7bc68303ce0c8721f0e981ae602601390e68.tar.xz |
CallGraphSCC passes implicity require CallGraph analysis.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116443 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO/PruneEH.cpp')
-rw-r--r-- | lib/Transforms/IPO/PruneEH.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Transforms/IPO/PruneEH.cpp b/lib/Transforms/IPO/PruneEH.cpp index e71344b215..9be0fcf2a9 100644 --- a/lib/Transforms/IPO/PruneEH.cpp +++ b/lib/Transforms/IPO/PruneEH.cpp @@ -48,7 +48,10 @@ namespace { } char PruneEH::ID = 0; -INITIALIZE_PASS(PruneEH, "prune-eh", +INITIALIZE_PASS_BEGIN(PruneEH, "prune-eh", + "Remove unused exception handling info", false, false) +INITIALIZE_AG_DEPENDENCY(CallGraph) +INITIALIZE_PASS_END(PruneEH, "prune-eh", "Remove unused exception handling info", false, false) Pass *llvm::createPruneEHPass() { return new PruneEH(); } |