[PATCH] D74158: make the AsmPrinterHandler array public
Jameson Nash via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 6 13:20:16 PST 2020
vtjnash created this revision.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
This lets external consumers customize the output, similar to how AssemblyAnnotationWriter lets the caller define callbacks when printing IR. The array of handlers already existed, this just cleans up the code so that it can be exposed publically.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D74158
Files:
llvm/include/llvm/CodeGen/AsmPrinter.h
llvm/include/llvm/CodeGen/AsmPrinterHandler.h
llvm/include/llvm/CodeGen/DebugHandlerBase.h
llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
llvm/lib/CodeGen/MachineModuleInfo.cpp
llvm/lib/Target/BPF/BTFDebug.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74158.242986.patch
Type: text/x-patch
Size: 14277 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200206/61779722/attachment.bin>
More information about the llvm-commits
mailing list