[PATCH] D53892: [CodeGen] Support custom format of stack maps

Cherry Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 30 13:36:59 PDT 2018


cherry created this revision.
cherry added a reviewer: thanm.
Herald added subscribers: llvm-commits, jsji, kbarton, javed.absar, nemanjai.

Add a hook to the GCMetadataPrinter for emitting stack maps in
custom format. The hook will be called at stack map generation
time. The default stack map format is used if there is no hook.

For this to be useful a few data structures and accessors are
exposed from the StackMaps class, so the custom printer can
access the stack map data.


Repository:
  rL LLVM

https://reviews.llvm.org/D53892

Files:
  include/llvm/CodeGen/AsmPrinter.h
  include/llvm/CodeGen/GCMetadataPrinter.h
  include/llvm/CodeGen/StackMaps.h
  lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  lib/Target/AArch64/AArch64AsmPrinter.cpp
  lib/Target/PowerPC/PPCAsmPrinter.cpp
  lib/Target/SystemZ/SystemZAsmPrinter.cpp
  lib/Target/X86/X86AsmPrinter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53892.171779.patch
Type: text/x-patch
Size: 7417 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181030/a268edbe/attachment.bin>


More information about the llvm-commits mailing list