isImplicitlyPrivate = true;
SmallString<128> Name;
- Mang->getNameWithPrefix(Name, GV, isImplicitlyPrivate);
+ Mang.getNameWithPrefix(Name, GV, isImplicitlyPrivate);
if (getSubtarget().isTargetCygMing()) {
X86COFFMachineModuleInfo &COFFMMI =
const MCSymbol *&StubSym = getMachOMMI().getGVStubEntry(Sym);
if (StubSym == 0) {
Name.clear();
- Mang->getNameWithPrefix(Name, GV, false);
+ Mang.getNameWithPrefix(Name, GV, false);
StubSym = Ctx.GetOrCreateSymbol(Name.str());
}
return Sym;
const MCSymbol *&StubSym = getMachOMMI().getHiddenGVStubEntry(Sym);
if (StubSym == 0) {
Name.clear();
- Mang->getNameWithPrefix(Name, GV, false);
+ Mang.getNameWithPrefix(Name, GV, false);
StubSym = Ctx.GetOrCreateSymbol(Name.str());
}
return Sym;
const MCSymbol *&StubSym = getMachOMMI().getFnStubEntry(Sym);
if (StubSym == 0) {
Name.clear();
- Mang->getNameWithPrefix(Name, GV, false);
+ Mang.getNameWithPrefix(Name, GV, false);
StubSym = Ctx.GetOrCreateSymbol(Name.str());
}
return Sym;
void X86AsmPrinter::printInstructionThroughMCStreamer(const MachineInstr *MI) {
- X86MCInstLower MCInstLowering(OutContext, Mang, *this);
+ X86MCInstLower MCInstLowering(OutContext, *Mang, *this);
switch (MI->getOpcode()) {
case TargetInstrInfo::DBG_LABEL:
case TargetInstrInfo::EH_LABEL: