mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-02-11 09:25:20 +00:00
Modify logging for windows exception handler and remove unused function (#3489)
ps. https://github.com/bytecodealliance/wasm-micro-runtime/issues/3416 https://github.com/bytecodealliance/wasm-micro-runtime/issues/3400
This commit is contained in:
parent
f635ab9655
commit
ab4e17b701
|
@ -846,12 +846,6 @@ wasm_is_reftype_supers_of_func(uint8 type)
|
|||
return (type == REF_TYPE_FUNCREF) ? true : false;
|
||||
}
|
||||
|
||||
inline static bool
|
||||
wasm_is_reftype_supers_of_extern(uint8 type)
|
||||
{
|
||||
return (type == REF_TYPE_EXTERNREF) ? true : false;
|
||||
}
|
||||
|
||||
#if WASM_ENABLE_STRINGREF != 0
|
||||
inline static bool
|
||||
wasm_is_reftype_supers_of_string(uint8 type)
|
||||
|
|
|
@ -384,12 +384,14 @@ runtime_exception_handler(EXCEPTION_POINTERS *exce_info)
|
|||
return ret;
|
||||
}
|
||||
#endif
|
||||
else {
|
||||
LOG_WARNING("Unhandled exception thrown: exception code: 0x%lx, "
|
||||
"exception address: %p, exception information: %p\n",
|
||||
ExceptionRecord->ExceptionCode,
|
||||
ExceptionRecord->ExceptionAddress, sig_addr);
|
||||
}
|
||||
}
|
||||
|
||||
LOG_ERROR("Unhandled exception thrown: exception code: 0x%lx, "
|
||||
"exception address: %p, exception information: %p\n",
|
||||
ExceptionRecord->ExceptionCode, ExceptionRecord->ExceptionAddress,
|
||||
sig_addr);
|
||||
return EXCEPTION_CONTINUE_SEARCH;
|
||||
}
|
||||
#endif /* end of BH_PLATFORM_WINDOWS */
|
||||
|
|
Loading…
Reference in New Issue
Block a user