[PATCH] X86: Emit an ABI compliant prologue and epilogue for Win64

David Majnemer david.majnemer at gmail.com
Mon Feb 9 15:29:55 PST 2015


Hi rnk,

Win64 has specific contraints on what valid prologues and epilogues look
like.  This constraint is born from the flexibility and descriptiveness
of Win64's unwind opcodes.

Prologues previously emitted by LLVM could not be represented by the
unwind opcodes, preventing operations powered by stack unwinding to
successfully work.

http://reviews.llvm.org/D7520

Files:
  lib/Target/X86/X86FrameLowering.cpp
  test/CodeGen/X86/gcc_except_table.ll
  test/CodeGen/X86/win64_alloca_dynalloca.ll
  test/CodeGen/X86/win64_alloca_dynalloca.s
  test/CodeGen/X86/win64_eh.ll
  test/CodeGen/X86/win64_eh.s
  test/CodeGen/X86/win64_frame.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7520.19621.patch
Type: text/x-patch
Size: 22921 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150209/5fc3df76/attachment.bin>


More information about the llvm-commits mailing list