[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
This commit is contained in:
Yonghong Song 2018-12-19 04:07:47 +00:00
parent 274981eb83
commit 016394b280
1 changed files with 3 additions and 0 deletions

View File

@ -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;