mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-12 13:55:33 +00:00
Use Windows' C++ exception handler.
We don't emit any funclets in our code, but there should be a funclet for the exception in the native C++ function `throw_breakpoint` in object_loader.hh.
This commit is contained in:
parent
180522095f
commit
e735d33327
@ -4503,7 +4503,8 @@ impl ModuleCodeGenerator<LLVMFunctionCodeGenerator, LLVMBackend, CodegenError>
|
||||
let intrinsics = Intrinsics::declare(&module, &context);
|
||||
|
||||
let personality_func = module.add_function(
|
||||
"__gxx_personality_v0",
|
||||
// "__gxx_personality_v0",
|
||||
"__CxxFrameHandler3",
|
||||
intrinsics.i32_ty.fn_type(&[], false),
|
||||
Some(Linkage::External),
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user