[PATCH] Make llvm.eh.begincatch use an outparam

Reid Kleckner rnk at google.com
Thu Feb 26 15:22:38 PST 2015


Hi andrew.w.kaylor,

Ultimately, __CxxFrameHandler3 needs us to put a stack offset in a
table, and it will take responsibility for copying the exception object
into that slot. Modelling the exception object as an SSA value returned
by begincatch isn't going to work in general, so make it use an output
parameter.

http://reviews.llvm.org/D7920

Files:
  docs/ExceptionHandling.rst
  include/llvm/IR/Intrinsics.td
  test/Analysis/Lint/cppeh-catch-intrinsics-clean.ll
  test/Analysis/Lint/cppeh-catch-intrinsics.ll
  test/CodeGen/X86/cppeh-catch-all.ll
  test/CodeGen/X86/cppeh-catch-scalar.ll
  test/CodeGen/X86/cppeh-frame-vars.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7920.20799.patch
Type: text/x-patch
Size: 18867 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150226/e8c8aaa8/attachment.bin>


More information about the llvm-commits mailing list