GV.getLinkageName(LinkageName);
if (!LinkageName.empty()) {
Mangler *Mg = Asm->getMangler();
+ assert (Mg && "Unable to find Mangler!");
AddString(GVDie, dwarf::DW_AT_MIPS_linkage_name, dwarf::DW_FORM_string,
- Mg ? Mg->makeNameProper(LinkageName) : LinkageName);
+ Mg->makeNameProper(LinkageName));
}
AddType(DW_Unit, GVDie, GV.getType());
if (!GV.isLocalToUnit())
if (!LinkageName.empty()) {
Mangler *Mg = Asm->getMangler();
+ assert (Mg && "Unable to find Mangler!");
AddString(SPDie, dwarf::DW_AT_MIPS_linkage_name, dwarf::DW_FORM_string,
- Mg ? Mg->makeNameProper(LinkageName) : LinkageName);
+ Mg->makeNameProper(LinkageName));
}
AddSourceLine(SPDie, &SP);