[PATCH] CodeGen support for x86_64 SEH catch handlers in LLVM

John McCall rjmccall at gmail.com
Tue Nov 18 15:09:34 PST 2014


================
Comment at: include/llvm/MC/MCAsmInfo.h:50
@@ -49,2 +49,3 @@
   ItaniumWinEH, /// Itanium EH built on Windows unwind info (.pdata and .xdata)
+  MSVC,         /// MSVC compatible exception handling
 };
----------------
rnk wrote:
> rjmccall wrote:
> > Let's not call this just "MSVC" when we know that MSVC actually uses several different schemes.
> That's true, but this model will handle all of them. MSVC has two main EH personalites: C++ EH and SEH. Both use outlined cleanups, and this EH model will be used to trigger that outlining in the backend. The language-specific tables will key off the name of the personality function instead of this enum.
> 
> Maybe I could call this OutlinedWinEH or something to make it clearer that it's more of a family?
I meant more 32-bit vs. 64-bit EH, unless you think those will be implemented by the same backend scheme.

http://reviews.llvm.org/D6300






More information about the llvm-commits mailing list