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);
   };
 }