Add memmove and memset support for wasm

This commit is contained in:
gingerBill
2021-10-31 12:47:50 +00:00
parent c6e08b059b
commit 2a5b8f53fe
4 changed files with 51 additions and 12 deletions
+5
View File
@@ -383,6 +383,11 @@ void lb_run_remove_unused_function_pass(LLVMModuleRef mod) {
continue;
}
if (name == "memset" ||
name == "memmove" ||
name == "memcpy") {
continue;
}
LLVMLinkage linkage = LLVMGetLinkage(curr_func);