wasm-micro-runtime/core/iwasm/common
Enrico Loparco ff25110840
Return stack frames of crashed thread when using wasm-c-api (#2908)
When using the wasm-c-api and there's a trap, `wasm_func_call()` returns
a `wasm_trap_t *` object. No matter which thread crashes, the trap contains
the stack frames of the main thread.

With this PR, when there's an exception, the stack frames of the thread
where the exception occurs are stored into the thread cluster.
`wasm_func_call()` can then return those stack frames.
2024-01-11 12:13:05 +08:00
..
arch Add support for universal binaries on OSX (#2060) 2023-03-30 09:53:07 +08:00
iwasm_common.cmake Add support for universal binaries on OSX (#2060) 2023-03-30 09:53:07 +08:00
SConscript Add ia32 support and fix compiling issue for RT-Thread (#730) 2021-09-07 10:20:14 +08:00
wasm_application.c Fix printing ref.extern addresses in wasm_application.c (#2774) 2023-11-16 15:10:58 +08:00
wasm_blocking_op.c Implement async termination of blocking thread (#2516) 2023-09-20 18:11:52 +08:00
wasm_c_api_internal.h Return stack frames of crashed thread when using wasm-c-api (#2908) 2024-01-11 12:13:05 +08:00
wasm_c_api.c Return stack frames of crashed thread when using wasm-c-api (#2908) 2024-01-11 12:13:05 +08:00
wasm_exec_env.c Extend os_mmap to support map file from fd (#2763) 2023-11-16 08:28:54 +08:00
wasm_exec_env.h Grab cluster->lock when modifying exec_env->module_inst (#2685) 2023-11-09 18:56:02 +08:00
wasm_memory.c Access linear memory size atomically (#2834) 2023-11-29 20:27:17 +08:00
wasm_memory.h Access linear memory size atomically (#2834) 2023-11-29 20:27:17 +08:00
wasm_native.c Register quick call entries to speedup the aot/jit func call process (#2978) 2024-01-10 16:44:09 +08:00
wasm_native.h Register quick call entries to speedup the aot/jit func call process (#2978) 2024-01-10 16:44:09 +08:00
wasm_runtime_common.c Refine AOT/JIT code call wasm-c-api import process (#2982) 2024-01-10 18:37:02 +08:00
wasm_runtime_common.h Refine AOT/JIT code call wasm-c-api import process (#2982) 2024-01-10 18:37:02 +08:00
wasm_shared_memory.c Refine lock/unlock shared memory (#2682) 2023-10-31 11:46:03 +08:00
wasm_shared_memory.h Refine lock/unlock shared memory (#2682) 2023-10-31 11:46:03 +08:00
wasm_suspend_flags.h Implement async termination of blocking thread (#2516) 2023-09-20 18:11:52 +08:00