}
static gint32
-il_offset_from_address (MonoDebugMethodJitInfo *jit, guint32 address)
+il_offset_from_address (MonoDebugMethodJitInfo *jit, guint32 native_offset)
{
int i;
MonoDebugLineNumberEntry lne = g_array_index (
jit->line_numbers, MonoDebugLineNumberEntry, i);
- if (lne.address <= address)
- return lne.offset;
+ if (lne.native_offset <= native_offset)
+ return lne.il_offset;
}
return -1;