summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-02-03 01:49:49 +0000
committerChris Lattner <sabre@nondot.org>2010-02-03 01:49:49 +0000
commit0b78cc2af59286f38cb2297bc2d54cbc2a8e4d9c (patch)
tree6b0a357245635084d2956f85f26ed5fed64d289c /llvm
parentf1866ab6827c1e54b0438cb4c17fff0f6022d561 (diff)
downloadbcm5719-llvm-0b78cc2af59286f38cb2297bc2d54cbc2a8e4d9c.tar.gz
bcm5719-llvm-0b78cc2af59286f38cb2297bc2d54cbc2a8e4d9c.zip
don't emit \n's at the start of X86AsmPrinter::runOnMachineFunction,
.o files don't like that. llvm-svn: 95187
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp2
-rw-r--r--llvm/lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
index 9844571f96e..8456709dbae 100644
--- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@ -391,6 +391,8 @@ void AsmPrinter::EmitFunctionBody() {
// Print out jump tables referenced by the function.
EmitJumpTableInfo();
+
+ OutStreamer.AddBlankLine();
}
diff --git a/llvm/lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp b/llvm/lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp
index 1ac55a1c326..2cfb5e70487 100644
--- a/llvm/lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp
+++ b/llvm/lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp
@@ -55,7 +55,6 @@ void X86AsmPrinter::PrintPICBaseSymbol() const {
///
bool X86AsmPrinter::runOnMachineFunction(MachineFunction &MF) {
SetupMachineFunction(MF);
- O << "\n\n";
// COFF and Cygwin specific mangling stuff. This should be moved out to the
// mangler or handled some other way?
OpenPOWER on IntegriCloud