Make the loading of llvm EH info async safe. (#4725)
[mono.git] / mono / mini / mini-unwind.h
index 26c7ada5df39c91beb747816bf8ebbb8e4557ec2..cdcebec8214328b7437a6fa587cbb0d00377bea2 100644 (file)
@@ -196,18 +196,15 @@ guint8* mono_unwind_decode_fde (guint8 *fde, guint32 *out_len, guint32 *code_len
 
 /* Data retrieved from an LLVM Mono FDE entry */
 typedef struct {
-       /* Malloc'ed */
-       guint8 *unw_info;
        guint32 unw_info_len;
-       MonoJitExceptionInfo *ex_info;
        guint32 ex_info_len;
-       gpointer *type_info;
+       int type_info_len;
        int this_reg;
        int this_offset;
 } MonoLLVMFDEInfo;
 
 void
-mono_unwind_decode_llvm_mono_fde (guint8 *fde, int fde_len, guint8 *cie, guint8 *code, MonoLLVMFDEInfo *res) MONO_LLVM_INTERNAL;
+mono_unwind_decode_llvm_mono_fde (guint8 *fde, int fde_len, guint8 *cie, guint8 *code, MonoLLVMFDEInfo *res, MonoJitExceptionInfo *ei, gpointer *type_info, guint8 *unw_info) MONO_LLVM_INTERNAL;
 
 GSList* mono_unwind_get_cie_program (void);