[PATCH] D56813: [AArch64] [Windows] Share unwind codes between epilogues with identical unwind codes

Sanjin Sijaric via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 16 15:00:47 PST 2019


ssijaric created this revision.
ssijaric added reviewers: rnk, efriedma, mgrang.
Herald added subscribers: kristof.beyls, javed.absar.

There are cases where we have multiple epilogues that have the exact same unwind code sequence.  This change merges such epilogues into a single epilogue.

This should get us past the assert  "SEH unwind data splitting not yet implemented" in many cases.  We still need to add support for generating multiple .pdata/.xdata sections for those functions that need to be split into fragments.


Repository:
  rL LLVM

https://reviews.llvm.org/D56813

Files:
  lib/MC/MCWin64EH.cpp
  test/CodeGen/AArch64/wineh4.mir
  test/CodeGen/AArch64/wineh8.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56813.182156.patch
Type: text/x-patch
Size: 16047 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190116/e523a989/attachment.bin>


More information about the llvm-commits mailing list