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");
61 mono_arch_get_call_filter (MonoTrampInfo
**info
, gboolean aot
)
64 *info
= mono_tramp_info_create ("call_filter", (guint8
*)wasm_call_filter
, 1, NULL
, NULL
);
65 return (gpointer
)wasm_call_filter
;
69 mono_arch_get_restore_context (MonoTrampInfo
**info
, gboolean aot
)
72 *info
= mono_tramp_info_create ("restore_context", (guint8
*)wasm_restore_context
, 1, NULL
, NULL
);
73 return (gpointer
)wasm_restore_context
;
76 mono_arch_get_throw_corlib_exception (MonoTrampInfo
**info
, gboolean aot
)
79 *info
= mono_tramp_info_create ("throw_corlib_exception", (guint8
*)wasm_throw_corlib_exception
, 1, NULL
, NULL
);
80 return (gpointer
)wasm_throw_corlib_exception
;
84 mono_arch_get_rethrow_exception (MonoTrampInfo
**info
, gboolean aot
)
87 *info
= mono_tramp_info_create ("rethrow_exception", (guint8
*)wasm_rethrow_exception
, 1, NULL
, NULL
);
88 return (gpointer
)wasm_rethrow_exception
;
92 mono_arch_get_rethrow_preserve_exception (MonoTrampInfo
**info
, gboolean aot
)
95 *info
= mono_tramp_info_create ("rethrow_preserve_exception", (guint8
*)wasm_rethrow_preserve_exception
, 1, NULL
, NULL
);
96 return (gpointer
)wasm_rethrow_exception
;
100 mono_arch_get_throw_exception (MonoTrampInfo
**info
, gboolean aot
)
103 *info
= mono_tramp_info_create ("throw_exception", (guint8
*)wasm_throw_exception
, 1, NULL
, NULL
);
104 return (gpointer
)wasm_throw_exception
;
110 mono_arch_undo_ip_adjustment (MonoContext
*ctx
)
115 mono_arch_handle_exception (void *sigctx
, gpointer obj
)
117 g_error ("mono_arch_handle_exception");