Skip to content

Commit 99e81fe

Browse files
committed
Update metadce expectations
1 parent b8312cc commit 99e81fe

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

tests/other/metadce/hello_world_O3_MAIN_MODULE.sent

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1461,6 +1461,7 @@ pixelRGBA
14611461
posix_spawn
14621462
posix_spawnp
14631463
pthread_attr_destroy
1464+
pthread_attr_getdetachstate
14641465
pthread_attr_getstack
14651466
pthread_attr_init
14661467
pthread_attr_setdetachstate

tests/other/metadce/hello_world_fastcomp_O3_MAIN_MODULE.sent

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -624,6 +624,9 @@ _emscripten_autodebug_i16
624624
_emscripten_autodebug_i32
625625
_emscripten_autodebug_i64
626626
_emscripten_autodebug_i8
627+
_emscripten_builtin_free
628+
_emscripten_builtin_malloc
629+
_emscripten_builtin_memalign
627630
_emscripten_call_worker
628631
_emscripten_cancel_animation_frame
629632
_emscripten_cancel_main_loop
@@ -1408,6 +1411,7 @@ _pixelRGBA
14081411
_posix_spawn
14091412
_posix_spawnp
14101413
_pthread_attr_destroy
1414+
_pthread_attr_getdetachstate
14111415
_pthread_attr_getstack
14121416
_pthread_attr_init
14131417
_pthread_attr_setdetachstate

tests/test_other.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7899,7 +7899,7 @@ def test_binaryen_metadce_cxx_fastcomp(self, *args):
78997899
# don't compare the # of functions in a main module, which changes a lot
79007900
# TODO(sbc): Investivate why the number of exports is order of magnitude
79017901
# larger for wasm backend.
7902-
'main_module_1': (['-O3', '-s', 'MAIN_MODULE=1'], 1590, [], [], 517336, 172, 1484, None), # noqa
7902+
'main_module_1': (['-O3', '-s', 'MAIN_MODULE=1'], 1591, [], [], 517336, 172, 1484, None), # noqa
79037903
'main_module_2': (['-O3', '-s', 'MAIN_MODULE=2'], 15, [], [], 10770, 17, 13, None), # noqa
79047904
})
79057905
@no_fastcomp()
@@ -7919,7 +7919,7 @@ def test_binaryen_metadce_hello(self, *args):
79197919
0, [], [], 8, 0, 0, 0), # noqa; totally empty!
79207920
# we don't metadce with linkable code! other modules may want stuff
79217921
# don't compare the # of functions in a main module, which changes a lot
7922-
'main_module_1': (['-O3', '-s', 'MAIN_MODULE=1'], 1552, [], [], 226403, 30, 96, None), # noqa
7922+
'main_module_1': (['-O3', '-s', 'MAIN_MODULE=1'], 1556, [], [], 226403, 30, 95, None), # noqa
79237923
'main_module_2': (['-O3', '-s', 'MAIN_MODULE=2'], 15, [], [], 10571, 19, 9, 21), # noqa
79247924
})
79257925
@no_wasm_backend()

0 commit comments

Comments
 (0)