]> granicus.if.org Git - clang/commit
MS ABI: Add CodeGen support for rethrowing MS C++ exceptions
authorDavid Majnemer <david.majnemer@gmail.com>
Tue, 25 Nov 2014 07:20:20 +0000 (07:20 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Tue, 25 Nov 2014 07:20:20 +0000 (07:20 +0000)
commit6e4ce4680a852e6e23cace6829e1130c5805165c
tree6831e8d5c5212077889120a5a247aad19e8461c8
parentabd0d9f276191ff6f6e4c0306c0926215e14a377
MS ABI: Add CodeGen support for rethrowing MS C++ exceptions

Rethrowing exceptions in the MS model is very simple: just call
_CxxThrowException with nullptr for both arguments.

N.B.  They chose stdcall as the calling convention for x86 but cdecl for
all other platforms.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@222733 91177308-0d34-0410-b5e6-96231b3b80d8
docs/MSVCCompatibility.rst
lib/CodeGen/CGCXXABI.h
lib/CodeGen/CGException.cpp
lib/CodeGen/ItaniumCXXABI.cpp
lib/CodeGen/MicrosoftCXXABI.cpp