From 35e719f872a563aaebfc9c44b3fd50c7cebdc855 Mon Sep 17 00:00:00 2001 From: Yonghong Song Date: Wed, 19 Dec 2018 04:07:47 +0000 Subject: [PATCH] [DebugInfo] Make AsmPrinter struct HandlerInfo and Handlers protected In AsmPrinter, make struct HandlerInfo and SmallVector Handlers protected, so target extended AsmPrinter will be able to add their own handlers. Signed-off-by: Yonghong Song Differential Revision: https://reviews.llvm.org/D55756 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@349602 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/AsmPrinter.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h index 301688836f7..413901d218f 100644 --- a/include/llvm/CodeGen/AsmPrinter.h +++ b/include/llvm/CodeGen/AsmPrinter.h @@ -138,6 +138,9 @@ private: static char ID; +protected: + /// Protected struct HandlerInfo and Handlers permit target extended + /// AsmPrinter adds their own handlers. struct HandlerInfo { AsmPrinterHandler *Handler; const char *TimerName; -- 2.50.1