forked from OSchip/llvm-project
Output .size directives to tell the assembler the size of each function.
llvm-svn: 22381
This commit is contained in:
parent
0d2f043c41
commit
9bdb1c3818
|
@ -53,6 +53,7 @@ bool X86ATTAsmPrinter::runOnMachineFunction(MachineFunction &MF) {
|
|||
printMachineInstruction(II);
|
||||
}
|
||||
}
|
||||
O << "\t.size " << CurrentFnName << ", .-" << CurrentFnName << "\n";
|
||||
|
||||
// We didn't modify anything.
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue