wasm-micro-runtime/core/iwasm
Andy 1465901f6f
Create trap for error message when wasm_instance_new fails (#1751)
Create trap for error message when wasm_instance_new fails:
- Similar to [this PR](https://github.com/bytecodealliance/wasm-micro-runtime/pull/1526),
   but create a wasm_trap_t to output the error msg instead of adding error_buf to the API.
- Trap will need to be deleted by the caller but is not a breaking change as it is only
   created if trap is not NULL.
- Add error messages for all failure cases here, try to make them accurate but welcome
  feedback for improvements.

Signed-off-by: Andrew Chambers <ncham@amazon.com>
2022-11-25 17:45:19 +08:00
..
aot Fix missing intrinsics for risc-v which were reported by spec test (#1750) 2022-11-25 09:20:38 +08:00
common Create trap for error message when wasm_instance_new fails (#1751) 2022-11-25 17:45:19 +08:00
compilation Remove unused LLVM JIT wapper functions (#1747) 2022-11-25 11:26:08 +08:00
fast-jit Revert "Implement call Fast JIT function from LLVM JIT jitted code" (#1737) 2022-11-22 14:04:48 +08:00
include Create trap for error message when wasm_instance_new fails (#1751) 2022-11-25 17:45:19 +08:00
interpreter Remove unused LLVM JIT wapper functions (#1747) 2022-11-25 11:26:08 +08:00
libraries Create module hash for each module in SGX lib-rats (#1745) 2022-11-24 21:48:50 +08:00
README.md Enable AoT and wamr-sdk, and change arguments of call wasm API (#157) 2020-01-21 13:26:14 +08:00