[COMPILER_APITEST] Add SEH tests from MS (#2435)

* [COMPILER_APITEST] Import MS EH/SEH tests

Taken from https://github.com/microsoft/compiler-tests

* [CRT] Add missing declaration of _longjmpex

* [COMPILER_APITEST] Add cmake build files for MS SEH test

It is built as a static library

* [COMPILER_APITEST] Fix GCC build of MS SEH tests

There are a number of hacks in there now. Also the volatile hacks should be separated and sent upstream.

* [COMPILER_APITEST] Fix x64 build of MS SEH tests

* [COMPILER_APITEST] Fix clang build of MS SEH tests

* [COMPILER_APITEST] Include MS SEH tests
This commit is contained in:
Timo Kreuzer 2020-10-31 11:08:27 +01:00 committed by GitHub
parent 698a8e6554
commit fe36f081c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
102 changed files with 85690 additions and 1 deletions

View file

@ -11,6 +11,7 @@
#endif
#if (defined(_X86_) && !defined(__x86_64))
__declspec(noreturn) __MINGW_NOTHROW void __cdecl _longjmpex(jmp_buf _Buf,int _Value);
#define setjmp _setjmp
#define longjmp _longjmpex
#else