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
Showing
- docs/MSVCCompatibility.rst 3 additions, 2 deletionsdocs/MSVCCompatibility.rst
- lib/CodeGen/CGCXXABI.h 1 addition, 0 deletionslib/CodeGen/CGCXXABI.h
- lib/CodeGen/CGException.cpp 8 additions, 16 deletionslib/CodeGen/CGException.cpp
- lib/CodeGen/ItaniumCXXABI.cpp 16 additions, 0 deletionslib/CodeGen/ItaniumCXXABI.cpp
- lib/CodeGen/MicrosoftCXXABI.cpp 26 additions, 0 deletionslib/CodeGen/MicrosoftCXXABI.cpp
Loading
Please register or sign in to comment