r236458 - Update MSVC compatibility doc note about exceptions

Reid Kleckner reid at kleckner.net
Mon May 4 13:53:51 PDT 2015


Author: rnk
Date: Mon May  4 15:53:51 2015
New Revision: 236458

URL: http://llvm.org/viewvc/llvm-project?rev=236458&view=rev
Log:
Update MSVC compatibility doc note about exceptions

Modified:
    cfe/trunk/docs/MSVCCompatibility.rst

Modified: cfe/trunk/docs/MSVCCompatibility.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/MSVCCompatibility.rst?rev=236458&r1=236457&r2=236458&view=diff
==============================================================================
--- cfe/trunk/docs/MSVCCompatibility.rst (original)
+++ cfe/trunk/docs/MSVCCompatibility.rst Mon May  4 15:53:51 2015
@@ -84,9 +84,16 @@ The status of major ABI-impacting C++ fe
 * RTTI: :good:`Complete`.  Generation of RTTI data structures has been
   finished, along with support for the ``/GR`` flag.
 
-* Exceptions and SEH: :partial:`Minimal`.  Clang can parse both constructs, but
-  does not know how to emit compatible handlers.  Clang can throw and rethrow
-  C++ exceptions.
+* Exceptions and SEH: :partial:`Partial`.  C++ exceptions (``try`` / ``catch``)
+  and structured exceptions (``__try`` / ``__except`` / ``__finally``) mostly
+  work on x64. 32-bit exception handling support is being worked on.  LLVM does
+  not model asynchronous exceptions, so it is currently impossible to catch an
+  asynchronous exception generated in the same frame as the catching ``__try``.
+  C++ exception specifications are ignored, but this is `consistent with Visual
+  C++`_.
+
+.. _consistent with Visual C++:
+  https://msdn.microsoft.com/en-us/library/wfa0edys.aspx
 
 * Thread-safe initialization of local statics: :none:`Unstarted`.  We are ABI
   compatible with MSVC 2013, which does not support thread-safe local statics.





More information about the cfe-commits mailing list