From: Yonghong Song Date: Wed, 19 Dec 2018 04:07:47 +0000 (+0000) Subject: [DebugInfo] Make AsmPrinter struct HandlerInfo and Handlers protected X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=35e719f872a563aaebfc9c44b3fd50c7cebdc855;p=llvm [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 --- 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;