wasm-micro-runtime/core/shared/mem-alloc/ems
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_alloc.c Fix ems allocator unaligned memory access on riscv64 (#2140) 2023-04-26 18:13:11 +08:00
ems_gc_internal.h Fix ems allocator unaligned memory access on riscv64 (#2140) 2023-04-26 18:13:11 +08:00
ems_gc.h Apply clang-format for core/shared and product-mini files (#785) 2021-10-14 09:12:07 +08:00
ems_hmu.c Apply clang-format for core/shared and product-mini files (#785) 2021-10-14 09:12:07 +08:00
ems_kfc.c Fix ems allocator unaligned memory access on riscv64 (#2140) 2023-04-26 18:13:11 +08:00