From 7de9f7a2205f7e5041a4ecc8fdae8d6961be68ca Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Mon, 14 Sep 2015 19:44:29 +0000 Subject: [PATCH] Make AsmPrinter::EmitJumpTableInfo virtual Targets that have non-traditional jump table mechanisms may need to do something substantially different for jump tables than what AsmPrinter::EmitJumpTableInfo does. This patch makes that function virtual so that targets can override it. Differential Revision: http://reviews.llvm.org/D12786 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247604 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/AsmPrinter.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h index 6a81bb8543f..c511b4959b8 100644 --- a/include/llvm/CodeGen/AsmPrinter.h +++ b/include/llvm/CodeGen/AsmPrinter.h @@ -236,7 +236,7 @@ public: /// Print assembly representations of the jump tables used by the current /// function to the current output stream. /// - void EmitJumpTableInfo(); + virtual void EmitJumpTableInfo(); /// Emit the control variable for an emulated TLS variable. virtual void EmitEmulatedTLSControlVariable(const GlobalVariable *GV, -- 2.34.1