wasm-micro-runtime/core/iwasm/aot
Wenyong Huang 4b1a6e5017
Fix repeatedly initialize shared memory data and protect the memory's fields (#2673)
Avoid repeatedly initializing the shared memory data when creating the child
thread in lib-pthread or lib-wasi-threads.

Add shared memory lock when accessing some fields of the memory instance
if the memory instance is shared.

Init shared memory's memory_data_size/memory_data_end fields according to
the current page count but not max page count.

Add wasm_runtime_set_mem_bound_check_bytes, and refine the error message
when shared memory flag is found but the feature isn't enabled.
2023-10-30 11:07:01 +08:00
..
arch Enable AOT usage on M1 mac (#2618) 2023-10-07 16:05:10 +08:00
debug Fix AOT debug for macOS (#1494) 2022-09-16 18:54:04 +08:00
aot_intrinsic.c Add "--enable-builtin-intrinsics=<flags>" option to wamrc (#2341) 2023-07-06 18:20:35 +08:00
aot_intrinsic.h Implement i32.div_s (#1792) 2022-12-13 10:48:51 +08:00
aot_loader.c CI: Enable testing AOT multi-module feature (#2621) 2023-10-08 08:36:49 +08:00
aot_reloc.h Implement AOT static PGO (#2243) 2023-06-05 09:17:39 +08:00
aot_runtime.c Fix repeatedly initialize shared memory data and protect the memory's fields (#2673) 2023-10-30 11:07:01 +08:00
aot_runtime.h Support muti-module for AOT mode (#2482) 2023-09-28 08:56:11 +08:00
iwasm_aot.cmake Fix windows AOT hw bound check (#2475) 2023-08-18 10:16:03 +08:00
SConscript Add ia32 support and fix compiling issue for RT-Thread (#730) 2021-09-07 10:20:14 +08:00