[ARM64] [Windows] Exception handling support in frame lowering
authorSanjin Sijaric <ssijaric@codeaurora.org>
Wed, 31 Oct 2018 09:27:01 +0000 (09:27 +0000)
committerSanjin Sijaric <ssijaric@codeaurora.org>
Wed, 31 Oct 2018 09:27:01 +0000 (09:27 +0000)
commitfadebc8aaefb9461dcfe10a5e1f5482d2199e3f2
tree8fb96b97a03ce77b0dd647d11182cb6581875677
parent13727da72f96add0d56ff62ca3420eecacdd7994
[ARM64] [Windows] Exception handling support in frame lowering

Emit pseudo instructions indicating unwind codes corresponding to each
instruction inside the prologue/epilogue.  These are used by the MCLayer to
populate the .xdata section.

Differential Revision: https://reviews.llvm.org/D50288

llvm-svn: 345701
17 files changed:
llvm/lib/Target/AArch64/AArch64CallingConvention.td
llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
llvm/lib/Target/AArch64/AArch64InstrInfo.h
llvm/lib/Target/AArch64/AArch64RegisterInfo.cpp
llvm/lib/Target/AArch64/AArch64RegisterInfo.h
llvm/test/CodeGen/AArch64/chkstk.ll
llvm/test/CodeGen/AArch64/win64_vararg.ll
llvm/test/CodeGen/AArch64/wineh-frame0.mir [new file with mode: 0644]
llvm/test/CodeGen/AArch64/wineh-frame1.mir [new file with mode: 0644]
llvm/test/CodeGen/AArch64/wineh-frame2.mir [new file with mode: 0644]
llvm/test/CodeGen/AArch64/wineh-frame3.mir [new file with mode: 0644]
llvm/test/CodeGen/AArch64/wineh-frame4.mir [new file with mode: 0644]
llvm/test/CodeGen/AArch64/wineh-frame5.mir [new file with mode: 0644]
llvm/test/CodeGen/AArch64/wineh-frame6.mir [new file with mode: 0644]
llvm/test/CodeGen/AArch64/wineh-frame7.mir [new file with mode: 0644]
llvm/test/CodeGen/AArch64/wineh-frame8.mir [new file with mode: 0644]