forked from OSchip/llvm-project
parent
f7fea8adf3
commit
04bb891670
|
@ -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