From d06650ade13688b7c91425701be36a59400a12d4 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 15 Dec 2002 21:13:40 +0000 Subject: Give passes nice names! llvm-svn: 5059 --- llvm/lib/Target/X86/Printer.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'llvm/lib/Target/X86/Printer.cpp') diff --git a/llvm/lib/Target/X86/Printer.cpp b/llvm/lib/Target/X86/Printer.cpp index 88dc554957e..84b43a06785 100644 --- a/llvm/lib/Target/X86/Printer.cpp +++ b/llvm/lib/Target/X86/Printer.cpp @@ -21,6 +21,10 @@ namespace { Printer(TargetMachine &tm, std::ostream &o) : TM(tm), O(o) {} + virtual const char *getPassName() const { + return "X86 Assembly Printer"; + } + bool runOnFunction(Function &F); }; } -- cgit v1.2.3