if (prev_ji && (ip > prev_ji->code_start && ((guint8*)ip < ((guint8*)prev_ji->code_start) + prev_ji->code_size)))
ji = prev_ji;
else
- ji = mono_jit_info_table_find (domain, ip);
+ ji = mini_jit_info_table_find (domain, ip, NULL);
if (managed)
*managed = FALSE;
rip = *(guint64*)((*lmf)->rsp - sizeof (gpointer));
}
- ji = mono_jit_info_table_find (domain, (gpointer)rip);
+ ji = mini_jit_info_table_find (domain, (gpointer)rip, NULL);
if (!ji) {
// FIXME: This can happen with multiple appdomains (bug #444383)
return (gpointer)-1;
static inline guint64*
gregs_from_ucontext (ucontext_t *ctx)
{
-#ifdef __FreeBSD__
- guint64 *gregs = (guint64 *) &ctx->uc_mcontext;
-#else
- guint64 *gregs = (guint64 *) &ctx->uc_mcontext.gregs;
-#endif
-
- return gregs;
+ return (guint64 *) UCONTEXT_GREGS (ctx);
}
#endif
void
MonoException *exc = NULL;
ucontext_t *ctx = (ucontext_t*)sigctx;
guint64 *gregs = gregs_from_ucontext (ctx);
- MonoJitInfo *ji = mono_jit_info_table_find (mono_domain_get (), (gpointer)gregs [REG_RIP]);
+ MonoJitInfo *ji = mini_jit_info_table_find (mono_domain_get (), (gpointer)gregs [REG_RIP], NULL);
gpointer *sp;
int frame_size;
PMonoUnwindInfo targetinfo;
MonoDomain *domain = mono_domain_get ();
- ji = mono_jit_info_table_find (domain, (char*)ControlPc);
+ ji = mini_jit_info_table_find (domain, (char*)ControlPc, NULL);
if (!ji)
return 0;