[PSEH3] Fix _SEH3_LEAVE

Previously, when leave was used in the except or finally block of a nested try block, it would jump back to the start of the except/finally block, resulting in an endless loop. This is fixed by jumping back to a label at the beginning of the try block, which is only visible from within the try block itself and from there to the end of the SEH block.
Fixes seh0055 testcase of MS SEH tests.
This commit is contained in:
Timo Kreuzer 2020-03-10 15:44:19 +02:00
parent d054f63e68
commit ff8d24cabb
2 changed files with 7 additions and 3 deletions

View file

@ -147,9 +147,7 @@ START_TEST(ms_seh)
run_test(seh0052);
run_test(seh0053);
run_test(seh0054);
#ifdef _USE_NATIVE_SEH
run_test(seh0055);
#endif
run_test(seh0056);
run_test(seh0057);
run_test(seh0058);