[PATCH] D87369: [MC] [Win64EH] Write packed ARM64 epilogs if possible

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 9 04:43:45 PDT 2020


mstorsjo created this revision.
mstorsjo added reviewers: efriedma, ssijaric, TomTan, rnk.
Herald added subscribers: danielkiss, hiraditya, kristof.beyls.
Herald added a project: LLVM.
mstorsjo requested review of this revision.

This gives a pretty substantial size reduction; for a 6.5 MB DLL with 300 KB .xdata, the .xdata shrinks by 66 KB.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D87369

Files:
  llvm/include/llvm/MC/MCWinEH.h
  llvm/lib/MC/MCWin64EH.cpp
  llvm/test/CodeGen/AArch64/wineh3.mir
  llvm/test/CodeGen/AArch64/wineh6.mir
  llvm/test/CodeGen/AArch64/wineh7.mir
  llvm/test/MC/AArch64/seh-packed-epilog.s
  llvm/test/MC/AArch64/seh.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87369.290708.patch
Type: text/x-patch
Size: 17006 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200909/03c2f7f6/attachment.bin>


More information about the llvm-commits mailing list