diff --git a/tests/other/metadce/hello_world_fastcomp_O3_MAIN_MODULE.exports b/tests/other/metadce/hello_world_fastcomp_O3_MAIN_MODULE.exports index a1175f2a02018..6876fb65c6a82 100644 --- a/tests/other/metadce/hello_world_fastcomp_O3_MAIN_MODULE.exports +++ b/tests/other/metadce/hello_world_fastcomp_O3_MAIN_MODULE.exports @@ -1,7 +1,14 @@ ___divdi3 +___dn_expand ___errno_location ___lockfile ___muldi3 +___stdio_close +___stdio_exit +___stdio_read +___stdio_seek +___stdio_write +___strdup ___udivdi3 ___unlockfile __apply_relocations diff --git a/tests/other/metadce/hello_world_fastcomp_O3_MAIN_MODULE.sent b/tests/other/metadce/hello_world_fastcomp_O3_MAIN_MODULE.sent index 48d964a18f781..5b1cce26a568d 100644 --- a/tests/other/metadce/hello_world_fastcomp_O3_MAIN_MODULE.sent +++ b/tests/other/metadce/hello_world_fastcomp_O3_MAIN_MODULE.sent @@ -1564,6 +1564,13 @@ emscriptenWebGLGetUniform emscriptenWebGLGetVertexAttrib emscripten_realloc_buffer fb +fp$___dn_expand$iiiiii +fp$___stdio_close$ii +fp$___stdio_exit$v +fp$___stdio_read$iiii +fp$___stdio_seek$iiiii +fp$___stdio_write$iiii +fp$___strdup$ii gb getTempRet0 invoke_X diff --git a/tests/test_other.py b/tests/test_other.py index 5e2442cb942ad..19f8b3ec84450 100644 --- a/tests/test_other.py +++ b/tests/test_other.py @@ -8181,7 +8181,7 @@ def test_binaryen_metadce_hello(self, *args): 0, [], [], 8, 0, 0, 0), # noqa; totally empty! # we don't metadce with linkable code! other modules may want stuff # don't compare the # of functions in a main module, which changes a lot - 'main_module_1': (['-O3', '-s', 'MAIN_MODULE=1'], 1584, [], [], 226403, None, 97, None), # noqa + 'main_module_1': (['-O3', '-s', 'MAIN_MODULE=1'], 1591, [], [], 226403, None,104, None), # noqa 'main_module_2': (['-O3', '-s', 'MAIN_MODULE=2'], 12, [], [], 10571, 16, 9, 20), # noqa }) @no_wasm_backend()