[llvm-commits] CVS: llvm/lib/Target/X86/X86ATTAsmPrinter.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun Jul 10 23:29:25 PDT 2005
Changes in directory llvm/lib/Target/X86:
X86ATTAsmPrinter.cpp updated: 1.2 -> 1.3
---
Log message:
Output .size directives to tell the assembler the size of each function.
---
Diffs of the changes: (+1 -0)
X86ATTAsmPrinter.cpp | 1 +
1 files changed, 1 insertion(+)
Index: llvm/lib/Target/X86/X86ATTAsmPrinter.cpp
diff -u llvm/lib/Target/X86/X86ATTAsmPrinter.cpp:1.2 llvm/lib/Target/X86/X86ATTAsmPrinter.cpp:1.3
--- llvm/lib/Target/X86/X86ATTAsmPrinter.cpp:1.2 Thu Jul 7 19:23:26 2005
+++ llvm/lib/Target/X86/X86ATTAsmPrinter.cpp Mon Jul 11 01:29:14 2005
@@ -53,6 +53,7 @@
printMachineInstruction(II);
}
}
+ O << "\t.size " << CurrentFnName << ", .-" << CurrentFnName << "\n";
// We didn't modify anything.
return false;
More information about the llvm-commits
mailing list