From d26a80f666fb925956a4f19143265f5150756df0 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 3 Feb 2010 01:49:49 +0000 Subject: [PATCH] don't emit \n's at the start of X86AsmPrinter::runOnMachineFunction, .o files don't like that. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95187 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 2 ++ lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp index 9844571f96e..8456709dbae 100644 --- a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp +++ b/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/lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp b/lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp index 1ac55a1c326..2cfb5e70487 100644 --- a/lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp +++ b/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? -- 2.34.1