[PATCH] D50166: [ARM64] [Windows] MCLayer support for exception handling

Sanjin Sijaric via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 26 02:08:29 PDT 2018


ssijaric updated this revision to Diff 171263.
ssijaric added a comment.

Add test cases for the remaining SEH opcodes.  Disable post RA scheduling for the test cases.

A follow on patch will take care of scheduling to make sure that either:

1. SEH_PrologEnd and SEH_EpilogStart/SEH_EpilogEnd act as barriers, or
2. Insert a SEH_Nop for any instruction that ends up between SEH_EpilogStart/SEH_EpilogEnd

Also, need a patch to fix the formatting in llvm-readobj (e.g. the indentation in wineh2.mir is off for floating point saves/restores).


Repository:
  rL LLVM

https://reviews.llvm.org/D50166

Files:
  include/llvm/MC/MCStreamer.h
  include/llvm/MC/MCWin64EH.h
  include/llvm/MC/MCWinEH.h
  include/llvm/Support/Win64EH.h
  lib/CodeGen/AsmPrinter/WinException.cpp
  lib/CodeGen/AsmPrinter/WinException.h
  lib/MC/MCAsmStreamer.cpp
  lib/MC/MCStreamer.cpp
  lib/MC/MCWin64EH.cpp
  lib/Target/AArch64/AArch64AsmPrinter.cpp
  lib/Target/AArch64/AArch64InstrInfo.td
  lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp
  lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp
  lib/Target/AArch64/MCTargetDesc/AArch64TargetStreamer.cpp
  lib/Target/AArch64/MCTargetDesc/AArch64TargetStreamer.h
  lib/Target/AArch64/MCTargetDesc/AArch64WinCOFFStreamer.cpp
  lib/Target/AArch64/MCTargetDesc/AArch64WinCOFFStreamer.h
  test/CodeGen/AArch64/wineh1.mir
  test/CodeGen/AArch64/wineh2.mir
  test/CodeGen/AArch64/wineh3.mir
  test/CodeGen/AArch64/wineh4.mir
  test/CodeGen/AArch64/wineh5.mir
  test/CodeGen/AArch64/wineh6.mir
  test/CodeGen/AArch64/wineh7.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50166.171263.patch
Type: text/x-patch
Size: 103687 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181026/e4e5ebc3/attachment-0001.bin>


More information about the llvm-commits mailing list