Update sample workload's scripts to align with latest emcc (#609)

And enable auxiliary stack overflow/underflow check in JIT mode
This commit is contained in:
Wenyong Huang
2021-04-13 13:42:08 +08:00
committed by GitHub
parent ee97618bdb
commit 8b96f4fb71
8 changed files with 44 additions and 23 deletions

View File

@ -2458,6 +2458,7 @@ aot_convert_wasm_module(WASMModule *wasm_module,
#if WASM_ENABLE_SIMD != 0
option.enable_simd = true;
#endif
option.enable_aux_stack_check = true;
#if (WASM_ENABLE_PERF_PROFILING != 0) || (WASM_ENABLE_DUMP_CALL_STACK != 0)
option.enable_aux_stack_frame = true;
#endif