call fail_marker_group1() in wasm_set_exception_local()

This commit is contained in:
2026-05-11 16:45:16 +02:00
parent cda2009deb
commit 177fe78618
2 changed files with 8 additions and 1 deletions

View File

@ -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. */
}

View File

@ -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';