summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/Printer.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-12-15 21:13:40 +0000
committerChris Lattner <sabre@nondot.org>2002-12-15 21:13:40 +0000
commitd06650ade13688b7c91425701be36a59400a12d4 (patch)
tree9d82dbb7c169a3f414c07793c80706902a4fc264 /llvm/lib/Target/X86/Printer.cpp
parent1499e5a92ce5830ab99aa464fec7eadd99f321fa (diff)
downloadbcm5719-llvm-d06650ade13688b7c91425701be36a59400a12d4.tar.gz
bcm5719-llvm-d06650ade13688b7c91425701be36a59400a12d4.zip
Give passes nice names!
llvm-svn: 5059
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