This repository has been archived on 2023-11-05. You can view files and clone it, but cannot push or open issues or pull requests.
wasm-micro-runtime/core/iwasm/common
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
..
arch Apply clang-format for more src files and update spec test script (#775) 2021-10-08 17:47:11 +08:00
iwasm_common.cmake Implement XIP feature and enable ARC target support (#694) 2021-08-12 17:44:39 +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 multi-module and some other issues (#1435) 2022-08-31 17:38:38 +08:00
wasm_c_api_internal.h Add wasm_module_obtain() to clone wasm_module_t (#1660) 2022-11-09 12:50:58 +08:00
wasm_c_api.c Create trap for error message when wasm_instance_new fails (#1751) 2022-11-25 17:45:19 +08:00
wasm_exec_env.c Refactor interpreter/AOT module instance layout (#1559) 2022-10-18 10:59:28 +08:00
wasm_exec_env.h Import WAMR Fast JIT (#1343) 2022-08-02 16:03:50 +08:00
wasm_memory.c Refactor interpreter/AOT module instance layout (#1559) 2022-10-18 10:59:28 +08:00
wasm_memory.h Enlarge max pool size and fix bh_memcpy_s dest max size check (#1151) 2022-05-07 16:09:16 +08:00
wasm_native.c Add wasm_runtime_unregister_natives (#1647) 2022-10-28 11:03:39 +08:00
wasm_native.h Add wasm_runtime_unregister_natives (#1647) 2022-10-28 11:03:39 +08:00
wasm_runtime_common.c Create module hash for each module in SGX lib-rats (#1745) 2022-11-24 21:48:50 +08:00
wasm_runtime_common.h Create module hash for each module in SGX lib-rats (#1745) 2022-11-24 21:48:50 +08:00
wasm_shared_memory.c Refactor interpreter/AOT module instance layout (#1559) 2022-10-18 10:59:28 +08:00
wasm_shared_memory.h Apply clang-format for more src files and update spec test script (#775) 2021-10-08 17:47:11 +08:00