summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/Printer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Target/X86/Printer.cpp')
-rw-r--r--llvm/lib/Target/X86/Printer.cpp4
1 files changed, 4 insertions, 0 deletions
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);
};
}
OpenPOWER on IntegriCloud