aboutsummaryrefslogtreecommitdiffstats
path: root/include
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
commita565b92b2a79b89d68d6e7a53e3e81ea061d6d5f (patch)
tree397e91149bef905899082abcdc6ce5681c954467 /include
parente88539cd09baa55e82417963835cf571e02416c5 (diff)
downloadexternal_llvm-a565b92b2a79b89d68d6e7a53e3e81ea061d6d5f.zip
external_llvm-a565b92b2a79b89d68d6e7a53e3e81ea061d6d5f.tar.gz
external_llvm-a565b92b2a79b89d68d6e7a53e3e81ea061d6d5f.tar.bz2
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')
-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 9f4e963..f4c6eed 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 e324184..17f4a05 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.