summaryrefslogtreecommitdiff
path: root/include/llvm
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-08-19 01:29:07 +0000
committerDan Gohman <gohman@apple.com>2010-08-19 01:29:07 +0000
commit8a757aeac436ecd27e28a39b10032fd6fda33780 (patch)
tree397e91149bef905899082abcdc6ce5681c954467 /include/llvm
parente81043a7df0c7902758322a3000b7cb2048b71df (diff)
downloadllvm-8a757aeac436ecd27e28a39b10032fd6fda33780.tar.gz
llvm-8a757aeac436ecd27e28a39b10032fd6fda33780.tar.bz2
llvm-8a757aeac436ecd27e28a39b10032fd6fda33780.tar.xz
Revert r111199; it breaks -debug-pass=Structure output.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111500 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/Pass.h2
-rw-r--r--include/llvm/PassManagers.h3
2 files changed, 1 insertions, 4 deletions
diff --git a/include/llvm/Pass.h b/include/llvm/Pass.h
index 9f4e963343..f4c6eed2cf 100644
--- a/include/llvm/Pass.h
+++ b/include/llvm/Pass.h
@@ -163,7 +163,7 @@ public:
virtual void verifyAnalysis() const;
// dumpPassStructure - Implement the -debug-passes=PassStructure option
- void dumpPass(unsigned Offset = 0);
+ virtual void dumpPassStructure(unsigned Offset = 0);
// lookupPassInfo - Return the pass info object for the specified pass class,
// or null if it is not known.
diff --git a/include/llvm/PassManagers.h b/include/llvm/PassManagers.h
index e324184207..17f4a0592f 100644
--- a/include/llvm/PassManagers.h
+++ b/include/llvm/PassManagers.h
@@ -362,9 +362,6 @@ public:
InheritedAnalysis[Index++] = (*I)->getAvailableAnalysis();
}
- /// dumpPassStructure - Implement the -debug-passes=PassStructure option.
- virtual void dumpPassStructure(unsigned Offset) = 0;
-
protected:
// Top level manager.