aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2007-07-19 05:36:09 +0000
committerDevang Patel <dpatel@apple.com>2007-07-19 05:36:09 +0000
commit64a39f00d41b46e793d8e0439594dcb1c398abdd (patch)
tree775dd46d94a8f4d80d29443d74837e53ce8a3078 /include
parentc2ae87b80c7f271648710cc3b77b16f634b37a68 (diff)
downloadexternal_llvm-64a39f00d41b46e793d8e0439594dcb1c398abdd.zip
external_llvm-64a39f00d41b46e793d8e0439594dcb1c398abdd.tar.gz
external_llvm-64a39f00d41b46e793d8e0439594dcb1c398abdd.tar.bz2
Set up ground work to verify preserved analysis info.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40039 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Pass.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Pass.h b/include/llvm/Pass.h
index a5a98f5..3a28f91 100644
--- a/include/llvm/Pass.h
+++ b/include/llvm/Pass.h
@@ -161,6 +161,10 @@ public:
///
virtual void releaseMemory() {}
+ /// verifyAnalysis() - This member can be implemented by a analysis pass to
+ /// check state of analysis information.
+ virtual void verifyAnalysis() {}
+
// dumpPassStructure - Implement the -debug-passes=PassStructure option
virtual void dumpPassStructure(unsigned Offset = 0);