Index: lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp =================================================================== --- lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp +++ lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp @@ -394,11 +394,16 @@ /* MEMMOVE */ iPTR_func_iPTR_iPTR_iPTR, // ELEMENT-WISE ATOMIC MEMORY -/* MEMCPY_ELEMENT_ATOMIC_1 */ iPTR_func_iPTR_iPTR_iPTR, -/* MEMCPY_ELEMENT_ATOMIC_2 */ iPTR_func_iPTR_iPTR_iPTR, -/* MEMCPY_ELEMENT_ATOMIC_4 */ iPTR_func_iPTR_iPTR_iPTR, -/* MEMCPY_ELEMENT_ATOMIC_8 */ iPTR_func_iPTR_iPTR_iPTR, -/* MEMCPY_ELEMENT_ATOMIC_16 */ iPTR_func_iPTR_iPTR_iPTR, +/* MEMCPY_ELEMENT_UNORDERED_ATOMIC_1 */ iPTR_func_iPTR_iPTR_iPTR, +/* MEMCPY_ELEMENT_UNORDERED_ATOMIC_2 */ iPTR_func_iPTR_iPTR_iPTR, +/* MEMCPY_ELEMENT_UNORDERED_ATOMIC_4 */ iPTR_func_iPTR_iPTR_iPTR, +/* MEMCPY_ELEMENT_UNORDERED_ATOMIC_8 */ iPTR_func_iPTR_iPTR_iPTR, +/* MEMCPY_ELEMENT_UNORDERED_ATOMIC_16 */ iPTR_func_iPTR_iPTR_iPTR, +/* MEMMOVE_ELEMENT_UNORDERED_ATOMIC_1 */ iPTR_func_iPTR_iPTR_iPTR, +/* MEMMOVE_ELEMENT_UNORDERED_ATOMIC_2 */ iPTR_func_iPTR_iPTR_iPTR, +/* MEMMOVE_ELEMENT_UNORDERED_ATOMIC_4 */ iPTR_func_iPTR_iPTR_iPTR, +/* MEMMOVE_ELEMENT_UNORDERED_ATOMIC_8 */ iPTR_func_iPTR_iPTR_iPTR, +/* MEMMOVE_ELEMENT_UNORDERED_ATOMIC_16 */ iPTR_func_iPTR_iPTR_iPTR, // EXCEPTION HANDLING /* UNWIND_RESUME */ unsupported, @@ -839,11 +844,16 @@ /* MEMCPY */ "memcpy", /* MEMMOVE */ "memset", /* MEMSET */ "memmove", -/* MEMCPY_ELEMENT_ATOMIC_1 */ "MEMCPY_ELEMENT_ATOMIC_1", -/* MEMCPY_ELEMENT_ATOMIC_2 */ "MEMCPY_ELEMENT_ATOMIC_2", -/* MEMCPY_ELEMENT_ATOMIC_4 */ "MEMCPY_ELEMENT_ATOMIC_4", -/* MEMCPY_ELEMENT_ATOMIC_8 */ "MEMCPY_ELEMENT_ATOMIC_8", -/* MEMCPY_ELEMENT_ATOMIC_16 */ "MEMCPY_ELEMENT_ATOMIC_16", +/* MEMCPY_ELEMENT_UNORDERED_ATOMIC_1 */ "MEMCPY_ELEMENT_UNORDERD_ATOMIC_1", +/* MEMCPY_ELEMENT_UNORDERED_ATOMIC_2 */ "MEMCPY_ELEMENT_UNORDERD_ATOMIC_2", +/* MEMCPY_ELEMENT_UNORDERED_ATOMIC_4 */ "MEMCPY_ELEMENT_UNORDERD_ATOMIC_4", +/* MEMCPY_ELEMENT_UNORDERED_ATOMIC_8 */ "MEMCPY_ELEMENT_UNORDERD_ATOMIC_8", +/* MEMCPY_ELEMENT_UNORDERED_ATOMIC_16 */ "MEMCPY_ELEMENT_UNORDERD_ATOMIC_16", +/* MEMMOVE_ELEMENT_UNORDERED_ATOMIC_1 */ "MEMMOVE_ELEMENT_UNORDERD_ATOMIC_1", +/* MEMMOVE_ELEMENT_UNORDERED_ATOMIC_2 */ "MEMMOVE_ELEMENT_UNORDERD_ATOMIC_2", +/* MEMMOVE_ELEMENT_UNORDERED_ATOMIC_4 */ "MEMMOVE_ELEMENT_UNORDERD_ATOMIC_4", +/* MEMMOVE_ELEMENT_UNORDERED_ATOMIC_8 */ "MEMMOVE_ELEMENT_UNORDERD_ATOMIC_8", +/* MEMMOVE_ELEMENT_UNORDERED_ATOMIC_16 */ "MEMMOVE_ELEMENT_UNORDERD_ATOMIC_16", /* UNWIND_RESUME */ "_Unwind_Resume", /* SYNC_VAL_COMPARE_AND_SWAP_1 */ "__sync_val_compare_and_swap_1", /* SYNC_VAL_COMPARE_AND_SWAP_2 */ "__sync_val_compare_and_swap_2",