#include "include/v8-function.h"
#include "src/api/api-inl.h"
#include "test/cctest/wasm/wasm-atomics-utils.h"
#include "test/common/wasm/test-signatures.h"
#include "test/common/wasm/wasm-macro-gen.h"
namespace v8::internal::wasm {
WASM_EXEC_TEST(TryCatchThrow) { … }
WASM_EXEC_TEST(TryCatchThrowWithValue) { … }
WASM_EXEC_TEST(TryMultiCatchThrow) { … }
WASM_EXEC_TEST(TryCatchAllThrow) { … }
WASM_EXEC_TEST(TryCatchCatchAllThrow) { … }
WASM_EXEC_TEST(TryImplicitRethrow) { … }
WASM_EXEC_TEST(TryDelegate) { … }
WASM_EXEC_TEST(TestCatchlessTry) { … }
WASM_EXEC_TEST(TryCatchRethrow) { … }
WASM_EXEC_TEST(TryDelegateToCaller) { … }
WASM_EXEC_TEST(TryCatchCallDirect) { … }
WASM_EXEC_TEST(TryCatchAllCallDirect) { … }
WASM_EXEC_TEST(TryCatchCallIndirect) { … }
WASM_EXEC_TEST(TryCatchAllCallIndirect) { … }
WASM_COMPILED_EXEC_TEST(TryCatchCallExternal) { … }
WASM_COMPILED_EXEC_TEST(TryCatchAllCallExternal) { … }
namespace {
void TestTrapNotCaught(uint8_t* code, size_t code_size,
TestExecutionTier execution_tier) { … }
}
WASM_EXEC_TEST(TryCatchTrapUnreachable) { … }
WASM_EXEC_TEST(TryCatchTrapMemOutOfBounds) { … }
WASM_EXEC_TEST(TryCatchTrapDivByZero) { … }
WASM_EXEC_TEST(TryCatchTrapRemByZero) { … }
WASM_EXEC_TEST(TryCatchTrapTableFill) { … }
namespace {
class IsolateScope { … };
}
UNINITIALIZED_WASM_EXEC_TEST(TestStackOverflowNotCaught) { … }
}