call fail_marker_group1() in wasm_set_exception_local()
This commit is contained in:
@ -5479,7 +5479,8 @@ aot_const_str_set_insert(const uint8 *str, int32 len, AOTModule *module,
|
||||
#if WASM_ENABLE_DYNAMIC_AOT_DEBUG != 0
|
||||
AOTModule *g_dynamic_aot_module = NULL;
|
||||
|
||||
void __attribute__((noinline)) __enable_dynamic_aot_debug(void)
|
||||
void __attribute__((noinline))
|
||||
__enable_dynamic_aot_debug(void)
|
||||
{
|
||||
/* empty implementation. */
|
||||
}
|
||||
|
||||
@ -3069,6 +3069,11 @@ wasm_runtime_get_exec_env_singleton(WASMModuleInstanceCommon *module_inst_comm)
|
||||
return module_inst->exec_env_singleton;
|
||||
}
|
||||
|
||||
void
|
||||
fail_marker_group1()
|
||||
{
|
||||
}
|
||||
|
||||
static void
|
||||
wasm_set_exception_local(WASMModuleInstance *module_inst, const char *exception)
|
||||
{
|
||||
@ -3076,6 +3081,7 @@ wasm_set_exception_local(WASMModuleInstance *module_inst, const char *exception)
|
||||
if (exception) {
|
||||
snprintf(module_inst->cur_exception, sizeof(module_inst->cur_exception),
|
||||
"Exception: %s", exception);
|
||||
fail_marker_group1();
|
||||
}
|
||||
else {
|
||||
module_inst->cur_exception[0] = '\0';
|
||||
|
||||
Reference in New Issue
Block a user