4 wasm_restore_context (void)
6 g_error ("wasm_restore_context");
10 wasm_call_filter (void)
12 g_error ("wasm_call_filter");
16 wasm_throw_exception (void)
18 g_error ("wasm_throw_exception");
22 wasm_rethrow_exception (void)
24 g_error ("wasm_rethrow_exception");
28 wasm_rethrow_preserve_exception (void)
30 g_error ("wasm_rethrow_preserve_exception");
34 wasm_throw_corlib_exception (void)
36 g_error ("wasm_throw_corlib_exception");
40 mono_arch_unwind_frame (MonoDomain
*domain
, MonoJitTlsData
*jit_tls
,
41 MonoJitInfo
*ji
, MonoContext
*ctx
,
42 MonoContext
*new_ctx
, MonoLMF
**lmf
,
43 host_mgreg_t
**save_locations
,
44 StackFrameInfo
*frame
)
47 g_error ("Can't unwind compiled code");
50 if ((*lmf
)->top_entry
)
52 g_error ("Can't handle non-top-entry LMFs\n");
59 mono_arch_get_call_filter (MonoTrampInfo
**info
, gboolean aot
)
62 *info
= mono_tramp_info_create ("call_filter", (guint8
*)wasm_call_filter
, 1, NULL
, NULL
);
63 return (gpointer
)wasm_call_filter
;
67 mono_arch_get_restore_context (MonoTrampInfo
**info
, gboolean aot
)
70 *info
= mono_tramp_info_create ("restore_context", (guint8
*)wasm_restore_context
, 1, NULL
, NULL
);
71 return (gpointer
)wasm_restore_context
;
74 mono_arch_get_throw_corlib_exception (MonoTrampInfo
**info
, gboolean aot
)
77 *info
= mono_tramp_info_create ("throw_corlib_exception", (guint8
*)wasm_throw_corlib_exception
, 1, NULL
, NULL
);
78 return (gpointer
)wasm_throw_corlib_exception
;
82 mono_arch_get_rethrow_exception (MonoTrampInfo
**info
, gboolean aot
)
85 *info
= mono_tramp_info_create ("rethrow_exception", (guint8
*)wasm_rethrow_exception
, 1, NULL
, NULL
);
86 return (gpointer
)wasm_rethrow_exception
;
90 mono_arch_get_rethrow_preserve_exception (MonoTrampInfo
**info
, gboolean aot
)
93 *info
= mono_tramp_info_create ("rethrow_preserve_exception", (guint8
*)wasm_rethrow_preserve_exception
, 1, NULL
, NULL
);
94 return (gpointer
)wasm_rethrow_exception
;
98 mono_arch_get_throw_exception (MonoTrampInfo
**info
, gboolean aot
)
101 *info
= mono_tramp_info_create ("throw_exception", (guint8
*)wasm_throw_exception
, 1, NULL
, NULL
);
102 return (gpointer
)wasm_throw_exception
;
106 mono_arch_undo_ip_adjustment (MonoContext
*ctx
)
111 mono_arch_handle_exception (void *sigctx
, gpointer obj
)
113 g_error ("mono_arch_handle_exception");