wasm-micro-runtime/core/iwasm/include
Enrico Loparco 3b8ef89110
Clone data segments when specified with load args (#3463)
Follow-up on https://github.com/bytecodealliance/wasm-micro-runtime/pull/3389, specifically: https://github.com/bytecodealliance/wasm-micro-runtime/pull/3389#discussion_r1600872451

If we want to free the wasm binary buffer early, we need to clone the data segments into the module.
That's because, in case of [passive data segments](https://webassembly.github.io/threads/core/syntax/modules.html#syntax-data),
they can be referred during wasm execution.
2024-05-27 09:59:24 +08:00
..
aot_comp_option.h Implement GC (Garbage Collection) feature for interpreter, AOT and LLVM-JIT (#3125) 2024-02-06 20:47:11 +08:00
aot_export.h Add necessary comments for doxygen (#3299) 2024-04-11 07:50:08 +08:00
gc_export.h Add WASM_V128 in wasm_valkind_enum (#3412) 2024-05-14 10:22:42 +08:00
lib_export.h Add necessary comments for doxygen (#3299) 2024-04-11 07:50:08 +08:00
wasm_c_api.h Clone data segments when specified with load args (#3463) 2024-05-27 09:59:24 +08:00
wasm_export.h Clone data segments when specified with load args (#3463) 2024-05-27 09:59:24 +08:00