mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-28 14:36:34 +00:00
Pretty print pass managers.
llvm-svn: 33767
This commit is contained in:
parent
015a474023
commit
3f71179e2d
@ -312,6 +312,10 @@ public:
|
||||
// Print passes managed by this manager
|
||||
void dumpPassStructure(unsigned Offset);
|
||||
|
||||
virtual const char *getPassName() const {
|
||||
return "Function Pass Manager";
|
||||
}
|
||||
|
||||
FunctionPass *getContainedPass(unsigned N) {
|
||||
assert ( N < PassVector.size() && "Pass number out of range!");
|
||||
FunctionPass *FP = static_cast<FunctionPass *>(PassVector[N]);
|
||||
|
Loading…
Reference in New Issue
Block a user