wasm-micro-runtime/core/shared/mem-alloc
Wenyong Huang 5c497e5a14
Fix ems allocator unaligned memory access on riscv64 (#2140)
Make `hmu_tree_node` struct packed and add 4 padding bytes before `kfc_tree_root_buf`
field in `gc_heap_struct` struct to ensure the `left/right/parent` fields in `hmu_tree_node`
are 8-byte aligned on the 64-bit target which doesn't support unaligned memory access.

Fix the issue reported in #2136.
2023-04-26 18:13:11 +08:00
..
ems Fix ems allocator unaligned memory access on riscv64 (#2140) 2023-04-26 18:13:11 +08:00
mem_alloc.c Enable memory leak check (#1429) 2022-09-01 16:15:00 +08:00
mem_alloc.cmake Enable memory leak check (#1429) 2022-09-01 16:15:00 +08:00
mem_alloc.h Enable memory leak check (#1429) 2022-09-01 16:15:00 +08:00
SConscript add porting codes of rt-thread (#494) 2021-01-14 11:26:35 +08:00