if (Symbolize) {
MOFI.reset(new MCObjectFileInfo);
- Ctx.reset(new MCContext(*AsmInfo.get(), *MRI.get(), MOFI.get()));
+ Ctx.reset(new MCContext(AsmInfo.get(), MRI.get(), MOFI.get()));
OwningPtr<MCRelocationInfo> RelInfo(
TheTarget->createMCRelocationInfo(TripleName, *Ctx.get()));
if (RelInfo) {
FI != FE; ++FI) {
static int filenum = 0;
emitDOTFile((Twine((*FI)->getName()) + "_" +
- utostr(filenum++) + ".dot").str().c_str(),
+ utostr(filenum) + ".dot").str().c_str(),
**FI, IP.get());
+ ++filenum;
}
}