Fix missing stack frame alloc/free in AOT multi-module invoke (#3562)

Fix #3545 and update the build configuration for multi-module sample:
- pass debug to AOT-compiled modules
- support optional DUMP_CALL_STACK 
- support optional GC
This commit is contained in:
Xenia Lu
2024-06-24 13:56:11 +08:00
committed by GitHub
parent d36160b294
commit 54b87cb097
3 changed files with 32 additions and 3 deletions

View File

@ -57,6 +57,7 @@ function(COMPILE_WITH_CLANG SOURCE_FILE COMMAND)
add_executable(${MAIN_TARGET_NAME} ${SOURCE_FILE})
set_target_properties(${MAIN_TARGET_NAME} PROPERTIES OUTPUT_NAME ${WASM_MODULE})
target_compile_options (${MAIN_TARGET_NAME} PRIVATE -fno-exceptions)
if(${COMMAND})
message(STATUS "Generating ${WASM_MODULE} as COMMAND...")