commit | f0eb7beb66d7402ba7ef32466aa6d9a53c33da01 | [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 | 7362ed2609271910ad61523ebb947e2ab40d39cc | |
parent | 8233e2fe01b76071a1875d8ffb9252c87ca4675b [diff] [blame] |
Give passes nice names! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5059 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/X86/Printer.cpp b/lib/Target/X86/Printer.cpp index 88dc554..84b43a0 100644 --- a/lib/Target/X86/Printer.cpp +++ b/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); }; }