Addr min_accessible, Addr max_accessible )
{
CFSI_m_CacheEnt* ce;
- DebugInfo* di;
- DiCfSI_m* cfsi_m __attribute__((unused));
ce = cfsi_m_cache__find(ip);
if (UNLIKELY(ce == NULL))
return 0; /* no info. Nothing we can do. */
- di = ce->di;
- cfsi_m = ce->cfsi_m;
-
/* Temporary impedance-matching kludge so that this keeps working
on x86-linux and amd64-linux. */
# if defined(VGA_x86) || defined(VGA_amd64)
uregs.xsp = sp;
uregs.xbp = fp;
return compute_cfa(&uregs,
- min_accessible, max_accessible, di, cfsi_m);
+ min_accessible, max_accessible, ce->di, ce->cfsi_m);
}
#elif defined(VGA_s390x)
{ D3UnwindRegs uregs;
uregs.sp = sp;
uregs.fp = fp;
return compute_cfa(&uregs,
- min_accessible, max_accessible, di, cfsi_m);
+ min_accessible, max_accessible, ce->di, ce->cfsi_m);
}
#elif defined(VGA_mips32) || defined(VGA_mips64)
{ D3UnwindRegs uregs;
uregs.sp = sp;
uregs.fp = fp;
return compute_cfa(&uregs,
- min_accessible, max_accessible, di, cfsi_m);
+ min_accessible, max_accessible, ce->di, ce->cfsi_m);
}
# else
get_cfsi_rd_stats (di, &n_mergeables, &n_holes);
VG_(dmsg)("CFSI total %lu mergeables %lu holes %lu uniq cfsi_m %u\n",
di->cfsi_used, n_mergeables, n_holes,
- VG_(sizeDedupPA) (di->cfsi_m_pool));
+ di->cfsi_m_pool ? VG_(sizeDedupPA) (di->cfsi_m_pool) : 0);
}
}