[PATCH] D55756: [DebugInfo] Make AsmPrinter struct HandlerInfo and Handlers protected
Yonghong Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 16 21:39:01 PST 2018
yonghong-song created this revision.
yonghong-song added reviewers: aprantl, dblaikie, echristo, ast.
yonghong-song added a project: debug-info.
Herald added a subscriber: llvm-commits.
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>
Repository:
rL LLVM
https://reviews.llvm.org/D55756
Files:
include/llvm/CodeGen/AsmPrinter.h
Index: include/llvm/CodeGen/AsmPrinter.h
===================================================================
--- include/llvm/CodeGen/AsmPrinter.h
+++ include/llvm/CodeGen/AsmPrinter.h
@@ -138,6 +138,9 @@
static char ID;
+protected:
+ /// Protected struct HandlerInfo and Handlers permit target extended
+ /// AsmPrinter adds their own handlers.
struct HandlerInfo {
AsmPrinterHandler *Handler;
const char *TimerName;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55756.178425.patch
Type: text/x-patch
Size: 440 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181217/02fbaf1e/attachment.bin>
More information about the llvm-commits
mailing list