Skip to content

Commit

Permalink
Add log info for heap and stack like wasm loader in aot loader (bytec…
Browse files Browse the repository at this point in the history
…odealliance#968)

Add log info for heap and stack like wasm loader in aot loader

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
Change-Id: I349848d75f1a26cde29217c14cfb6e779c976a8b
  • Loading branch information
no1wudi authored Jan 19, 2022
1 parent d856af6 commit 2c743db
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/iwasm/aot/aot_runtime.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2c743db

Please sign in to comment.