[llvm] r349602 - [DebugInfo] Make AsmPrinter struct HandlerInfo and Handlers protected
Yonghong Song via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 18 20:07:48 PST 2018
Author: yhs
Date: Tue Dec 18 20:07:47 2018
New Revision: 349602
URL: http://llvm.org/viewvc/llvm-project?rev=349602&view=rev
Log:
[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 <yhs at fb.com>
Differential Revision: https://reviews.llvm.org/D55756
Modified:
llvm/trunk/include/llvm/CodeGen/AsmPrinter.h
Modified: llvm/trunk/include/llvm/CodeGen/AsmPrinter.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/AsmPrinter.h?rev=349602&r1=349601&r2=349602&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/AsmPrinter.h (original)
+++ llvm/trunk/include/llvm/CodeGen/AsmPrinter.h Tue Dec 18 20:07:47 2018
@@ -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;
More information about the llvm-commits
mailing list