diff options
author | Yonghong Song <yhs@fb.com> | 2018-12-19 04:07:47 +0000 |
---|---|---|
committer | Yonghong Song <yhs@fb.com> | 2018-12-19 04:07:47 +0000 |
commit | 016394b2806278cbe3b96f91550af0a7c86229a4 (patch) | |
tree | 2ad350c2e22519f51f2031d2469d9815480fc07b | |
parent | 274981eb83440be5359da5efc221416f9ea96e91 (diff) | |
download | bcm5719-llvm-016394b2806278cbe3b96f91550af0a7c86229a4.tar.gz bcm5719-llvm-016394b2806278cbe3b96f91550af0a7c86229a4.zip |
[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@fb.com>
Differential Revision: https://reviews.llvm.org/D55756
llvm-svn: 349602
-rw-r--r-- | llvm/include/llvm/CodeGen/AsmPrinter.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/include/llvm/CodeGen/AsmPrinter.h b/llvm/include/llvm/CodeGen/AsmPrinter.h index 301688836f7..413901d218f 100644 --- a/llvm/include/llvm/CodeGen/AsmPrinter.h +++ b/llvm/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; |