[PATCH] Add eh.begincatch and eh.endcatch intrinsics

Andy Kaylor andrew.kaylor at intel.com
Tue Feb 3 18:32:15 PST 2015


Hi rnk, rjmccall,

This patch adds two new intrinsics, llvm.eh.begincatch and llvm.eh.endcatch, that will be used in the native Windows C++ exception handling implementation and begins the documentation for native Windows exception handling.

These intrinsics are not intended to be generated by any component until the back end code to remove them during the WinEHPrepare pass is complete.  In the meantime, I am implementing only the verifier.  These intrinsics are not intended to make it through to code generation.

REPOSITORY
  rL LLVM

http://reviews.llvm.org/D7398

Files:
  docs/ExceptionHandling.rst
  include/llvm/IR/Intrinsics.td
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  lib/IR/Verifier.cpp
  test/Verifier/cppeh-catch-intrinsics-clean.ll
  test/Verifier/cppeh-catch-intrinsics.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7398.19297.patch
Type: text/x-patch
Size: 30275 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150204/feec7247/attachment.bin>


More information about the llvm-commits mailing list