llvm.org GIT mirror llvm / 93cd59a
llvm-mc pass through SourceMgr to MCContext. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149091 91177308-0d34-0410-b5e6-96231b3b80d8 Jim Grosbach 8 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
382382 // FIXME: This is not pretty. MCContext has a ptr to MCObjectFileInfo and
383383 // MCObjectFileInfo needs a MCContext reference in order to initialize itself.
384384 OwningPtr MOFI(new MCObjectFileInfo());
385 MCContext Ctx(*MAI, *MRI, MOFI.get());
385 MCContext Ctx(*MAI, *MRI, MOFI.get(), &SrcMgr);
386386 MOFI->InitMCObjectFileInfo(TripleName, RelocModel, CMModel, Ctx);
387387
388388 if (SaveTempLabels)