commit | d06650ade13688b7c91425701be36a59400a12d4 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sun Dec 15 21:13:40 2002 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sun Dec 15 21:13:40 2002 +0000 |
tree | 9d82dbb7c169a3f414c07793c80706902a4fc264 | |
parent | 1499e5a92ce5830ab99aa464fec7eadd99f321fa [diff] [blame] |
Give passes nice names! llvm-svn: 5059
diff --git a/llvm/lib/Target/X86/Printer.cpp b/llvm/lib/Target/X86/Printer.cpp index 88dc554..84b43a0 100644 --- a/llvm/lib/Target/X86/Printer.cpp +++ b/llvm/lib/Target/X86/Printer.cpp
@@ -21,6 +21,10 @@ Printer(TargetMachine &tm, std::ostream &o) : TM(tm), O(o) {} + virtual const char *getPassName() const { + return "X86 Assembly Printer"; + } + bool runOnFunction(Function &F); }; }