EmitConstantPool(MF->getConstantPool());
// Print the 'header' of function.
- unsigned FnAlign = MF->getAlignment();
const Function *F = MF->getFunction();
OutStreamer.SwitchSection(getObjFileLowering().SectionForGlobal(F, Mang, TM));
- EmitAlignment(FnAlign, F);
+ printVisibility(CurrentFnSym, F->getVisibility());
switch (F->getLinkage()) {
default: llvm_unreachable("Unknown linkage type!");
break;
}
- printVisibility(CurrentFnSym, F->getVisibility());
+ EmitAlignment(MF->getAlignment(), F);
+
if (MAI->hasDotTypeDotSizeDirective())
OutStreamer.EmitSymbolAttribute(CurrentFnSym, MCSA_ELF_TypeFunction);