@@ -109,8 +109,6 @@ def metafunc(self, is_native):
109
109
self .set_setting ('SUPPORT_LONGJMP' , 'wasm' )
110
110
f (self )
111
111
else :
112
- if self .get_setting ('MEMORY64' ):
113
- self .skipTest ('MEMORY64 does not yet support emscripten EH/SjLj' )
114
112
self .set_setting ('DISABLE_EXCEPTION_CATCHING' , 0 )
115
113
self .set_setting ('SUPPORT_LONGJMP' , 'emscripten' )
116
114
# DISABLE_EXCEPTION_CATCHING=0 exports __cxa_can_catch and
@@ -549,7 +547,6 @@ def test_i64_varargs(self):
549
547
self .do_core_test ('test_i64_varargs.c' , args = 'waka fleefl asdfasdfasdfasdf' .split ())
550
548
551
549
@no_wasm2js ('wasm_bigint' )
552
- @no_wasm64 ('MEMORY64 does not yet support exceptions' )
553
550
@requires_node
554
551
def test_i64_invoke_bigint (self ):
555
552
self .set_setting ('WASM_BIGINT' )
@@ -1100,7 +1097,6 @@ def test_longjmp_standalone(self):
1100
1097
def test_longjmp (self ):
1101
1098
self .do_core_test ('test_longjmp.c' )
1102
1099
1103
- @no_wasm64 ('MEMORY64 does not yet support SJLJ' )
1104
1100
def test_longjmp_with_and_without_exceptions (self ):
1105
1101
# Emscripten SjLj with and without Emscripten EH support
1106
1102
self .set_setting ('SUPPORT_LONGJMP' , 'emscripten' )
@@ -1157,7 +1153,6 @@ def test_longjmp_stacked(self):
1157
1153
def test_longjmp_exc (self ):
1158
1154
self .do_core_test ('test_longjmp_exc.c' , assert_returncode = NON_ZERO )
1159
1155
1160
- @no_wasm64 ('MEMORY64 does not yet support exception handling' )
1161
1156
def test_longjmp_throw (self ):
1162
1157
for disable_throw in [0 , 1 ]:
1163
1158
print (disable_throw )
@@ -1237,7 +1232,6 @@ def test_exceptions(self):
1237
1232
self .maybe_closure ()
1238
1233
self .do_run_from_file (test_file ('core/test_exceptions.cpp' ), test_file ('core/test_exceptions_caught.out' ))
1239
1234
1240
- @no_wasm64 ('MEMORY64 does not yet support exceptions' )
1241
1235
def test_exceptions_with_and_without_longjmp (self ):
1242
1236
self .set_setting ('EXCEPTION_DEBUG' )
1243
1237
self .maybe_closure ()
@@ -1267,7 +1261,6 @@ def test_exceptions_off(self):
1267
1261
1268
1262
@no_wasmfs ('https://github.com/emscripten-core/emscripten/issues/16816' )
1269
1263
@no_asan ('TODO: ASan support in minimal runtime' )
1270
- @no_wasm64 ('MEMORY64 does not yet support exceptions' )
1271
1264
def test_exceptions_minimal_runtime (self ):
1272
1265
self .set_setting ('EXIT_RUNTIME' )
1273
1266
self .maybe_closure ()
@@ -1373,7 +1366,6 @@ def test_exceptions_3(self):
1373
1366
print ('2' )
1374
1367
self .do_run ('src.js' , 'Caught exception: Hello\n Done.' , args = ['2' ], no_build = True )
1375
1368
1376
- @no_wasm64 ('MEMORY64 does not yet support exceptions' )
1377
1369
def test_exceptions_allowed (self ):
1378
1370
self .set_setting ('EXCEPTION_CATCHING_ALLOWED' , ["_Z12somefunctionv" ])
1379
1371
# otherwise it is inlined and not identified
@@ -1425,7 +1417,6 @@ def test_exceptions_allowed(self):
1425
1417
if not any (o in self .emcc_args for o in ('-O3' , '-Oz' , '-Os' )):
1426
1418
self .assertLess (disabled_size , fake_size )
1427
1419
1428
- @no_wasm64 ('MEMORY64 does not yet support exceptions' )
1429
1420
def test_exceptions_allowed_2 (self ):
1430
1421
self .set_setting ('EXCEPTION_CATCHING_ALLOWED' , ["main" ])
1431
1422
# otherwise it is inlined and not identified
@@ -1437,7 +1428,6 @@ def test_exceptions_allowed_2(self):
1437
1428
self .emcc_args += ['-DMAIN_NO_SIGNATURE' ]
1438
1429
self .do_core_test ('test_exceptions_allowed_2.cpp' )
1439
1430
1440
- @no_wasm64 ('MEMORY64 does not yet support exceptions' )
1441
1431
def test_exceptions_allowed_uncaught (self ):
1442
1432
self .emcc_args += ['-std=c++11' ]
1443
1433
self .set_setting ('EXCEPTION_CATCHING_ALLOWED' , ["_Z4testv" ])
@@ -1446,7 +1436,6 @@ def test_exceptions_allowed_uncaught(self):
1446
1436
1447
1437
self .do_core_test ('test_exceptions_allowed_uncaught.cpp' )
1448
1438
1449
- @no_wasm64 ('MEMORY64 does not yet support exceptions' )
1450
1439
def test_exceptions_allowed_misuse (self ):
1451
1440
self .set_setting ('EXCEPTION_CATCHING_ALLOWED' , ['foo' ])
1452
1441
@@ -1608,7 +1597,6 @@ def test_exceptions_rethrow_missing(self):
1608
1597
create_file ('main.cpp' , 'int main() { throw; }' )
1609
1598
self .do_runf ('main.cpp' , None , assert_returncode = NON_ZERO )
1610
1599
1611
- @no_wasm64 ('MEMORY64 does not yet support exceptions' )
1612
1600
@with_both_eh_sjlj
1613
1601
def test_EXPORT_EXCEPTION_HANDLING_HELPERS (self ):
1614
1602
self .set_setting ('ASSERTIONS' , 0 )
@@ -2471,7 +2459,6 @@ def test_memorygrowth_3_force_fail_reallocBuffer(self):
2471
2459
})
2472
2460
@no_asan ('requires more memory when growing' )
2473
2461
@no_lsan ('requires more memory when growing' )
2474
- @no_wasm64 ('does not fail under wasm64' )
2475
2462
def test_aborting_new (self , args ):
2476
2463
# test that C++ new properly errors if we fail to malloc when growth is
2477
2464
# enabled, with or without growth
@@ -4636,7 +4623,6 @@ def test_dylink_i64_c(self):
4636
4623
4637
4624
@needs_dylink
4638
4625
@also_with_wasm_bigint
4639
- @no_wasm64 ('MEMORY64 does not yet support exceptions' )
4640
4626
def test_dylink_i64_invoke (self ):
4641
4627
self .set_setting ('DISABLE_EXCEPTION_CATCHING' , 0 )
4642
4628
self .dylink_test (r'''\
@@ -9350,7 +9336,6 @@ def test_pthread_create_embind_stack_check(self):
9350
9336
self .do_run_in_out_file_test ('core/pthread/create.cpp' )
9351
9337
9352
9338
@node_pthreads
9353
- @no_wasm64 ('MEMORY64 does not yet support exceptions' )
9354
9339
def test_pthread_exceptions (self ):
9355
9340
self .set_setting ('PTHREAD_POOL_SIZE' , 2 )
9356
9341
self .set_setting ('EXIT_RUNTIME' )
@@ -9469,7 +9454,6 @@ def test_pthread_dylink_entry_point(self, args):
9469
9454
9470
9455
@needs_dylink
9471
9456
@node_pthreads
9472
- @no_wasm64 ('MEMORY64 does not yet support exceptions' )
9473
9457
def test_pthread_dylink_exceptions (self ):
9474
9458
self .emcc_args += ['-Wno-experimental' , '-pthread' ]
9475
9459
self .emcc_args .append ('-fexceptions' )
0 commit comments