Implement getPassName() for IR printing passes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297442 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Yaron Keren
2017-03-10 07:09:20 +00:00
parent 931794f288
commit ea56368f3d
4 changed files with 12 additions and 0 deletions
+2
View File
@@ -629,6 +629,8 @@ namespace {
}
return false;
}
StringRef getPassName() const override { return "Print CallGraph IR"; }
};
} // end anonymous namespace.