test: Add a testcase for cleanup of C++ destructors while doing longjmp
For x86_64 and aarch64, this requires https://reviews.llvm.org/D89231. The C++ destructors aren't executed while doing the longjmp (contrary to how it works MSVC's C++ exceptions), but it no longer crashes.
This commit is contained in:
1 parent
2a323ac869
commit
0200472671
3 files changed
+57
-2
No files matched your search
+1
-1
@@ -63,7 +63,7 @@ TESTS_C_DLL="autoimport-lib"
|
||||
TESTS_C_LINK_DLL="autoimport-main"
|
||||
TESTS_C_NO_BUILTIN="crt-test"
|
||||
TESTS_C_ANSI_STDIO="crt-test"
|
||||
TESTS_CPP="hello-cpp global-terminate"
|
||||
TESTS_CPP="hello-cpp global-terminate longjmp-cleanup"
|
||||
TESTS_CPP_LOAD_DLL="tlstest-main"
|
||||
TESTS_CPP_EXCEPTIONS="hello-exception exception-locale exception-reduced"
|
||||
TESTS_CPP_STATIC="hello-exception"
|
||||
|
||||
Reference in new issue
Block a user