From 2c743dbd5188df68c649554c58eb06dda1a592eb Mon Sep 17 00:00:00 2001 From: Huang Qi Date: Wed, 19 Jan 2022 08:55:59 +0800 Subject: [PATCH] Add log info for heap and stack like wasm loader in aot loader (#968) Add log info for heap and stack like wasm loader in aot loader Signed-off-by: Huang Qi Change-Id: I349848d75f1a26cde29217c14cfb6e779c976a8b --- core/iwasm/aot/aot_runtime.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/iwasm/aot/aot_runtime.c b/core/iwasm/aot/aot_runtime.c index 4ff63d46..26512e22 100644 --- a/core/iwasm/aot/aot_runtime.c +++ b/core/iwasm/aot/aot_runtime.c @@ -460,6 +460,8 @@ memory_instantiate(AOTModuleInstance *module_inst, AOTModule *module, LOG_VERBOSE("Memory instantiate:"); LOG_VERBOSE(" page bytes: %u, init pages: %u, max pages: %u", num_bytes_per_page, init_page_count, max_page_count); + LOG_VERBOSE(" data offset: %u, stack size: %d", module->aux_data_end, + module->aux_stack_size); LOG_VERBOSE(" heap offset: %u, heap size: %d\n", heap_offset, heap_size); total_size = (uint64)num_bytes_per_page * init_page_count;