[PATCH] Remap arguments and non-alloca values used by outlined C++ exception handlers.

Andy Kaylor andrew.kaylor at intel.com
Mon Feb 23 17:14:50 PST 2015


Hi rnk, majnemer, ABataev,

This patch updates the native Windows exception handler prepare pass to outline arguments and non-alloca values that are referenced in outlined handler functions, assigning a slot in the frame allocation block for the referenced values and spilling them to that location.

REPOSITORY
  rL LLVM

http://reviews.llvm.org/D7844

Files:
  lib/CodeGen/WinEHPrepare.cpp
  test/CodeGen/X86/cppeh-inalloca.ll
  test/CodeGen/X86/cppeh-nonalloca-frame-values.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7844.20557.patch
Type: text/x-patch
Size: 29171 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150224/50e57797/attachment.bin>


More information about the llvm-commits mailing list