dart-sdk/tests/lib/wasm
Liam Appelbe f25c50fdcb [wasm] Use wasm traps to handle exceptions
The Dart exception is converted to a string, stored in a trap which
is passed through wasm, then converted back to a Dart exception.

Module instantiation can also throw a trap, because it internally
invokes the initialization function, if the module defines one. So I'm
handling this too.

Also, update to the new version of the wasm C API, which replaces some
foo_t** with foo_vec_t*.

Bug: https://github.com/dart-lang/sdk/issues/37882
Change-Id: I1e6952a191134734a892c42b2fb8ba3506bb0844
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/169784
Reviewed-by: Ryan Macnak <rmacnak@google.com>
Commit-Queue: Liam Appelbe <liama@google.com>
2020-11-02 23:32:20 +00:00
..
basic_test.dart [wasm] Wasm function imports. 2020-10-16 23:16:42 +00:00
corrupted_error_test.dart
fn_call_error_test.dart [wasm] Wasm function imports. 2020-10-16 23:16:42 +00:00
fn_import_error_test.dart [wasm] Basic WASI support. 2020-10-20 19:24:05 +00:00
fn_import_exception_test.dart [wasm] Use wasm traps to handle exceptions 2020-11-02 23:32:20 +00:00
fn_import_test.dart [wasm] Wasm function imports. 2020-10-16 23:16:42 +00:00
hello_wasi_test.dart [wasm] Basic WASI support. 2020-10-20 19:24:05 +00:00
hello_world_test.dart [wasm] Wasm function imports. 2020-10-16 23:16:42 +00:00
import_error_test.dart
memory_error_test.dart Reland "Switch wasmer FFI boilerplate to new API" 2020-10-13 19:30:58 +00:00
memory_test.dart Reland "Switch wasmer FFI boilerplate to new API" 2020-10-13 19:30:58 +00:00
numerics_test.dart [wasm] Wasm function imports. 2020-10-16 23:16:42 +00:00
void_test.dart [wasm] Wasm function imports. 2020-10-16 23:16:42 +00:00
wasi_error_test.dart [wasm] Basic WASI support. 2020-10-20 19:24:05 +00:00