- void* frame_base = mc_find_frame_base(subprogram, cursor);
- assert((void*)mc_dwarf_resolve_locations(&var->locations, cursor, frame_base) == address);
+ void* frame_base = mc_find_frame_base(subprogram, info, cursor);
+ xbt_assert((void*)mc_dwarf_resolve_locations(&var->locations, info, cursor, frame_base, NULL) == address,
+ "Bad resolution of local variable %s of %s", variable, function);