don't emit \n's at the start of X86AsmPrinter::runOnMachineFunction,
authorChris Lattner <sabre@nondot.org>
Wed, 3 Feb 2010 01:49:49 +0000 (01:49 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 3 Feb 2010 01:49:49 +0000 (01:49 +0000)
.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
lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp

index 9844571f96ec4996764d8a5f4c8f84c2c1b75c67..8456709dbaef4947572603593d7ea80cba57f66c 100644 (file)
@@ -391,6 +391,8 @@ void AsmPrinter::EmitFunctionBody() {
   
   // Print out jump tables referenced by the function.
   EmitJumpTableInfo();
+  
+  OutStreamer.AddBlankLine();
 }
 
 
index 1ac55a1c326da631cfa78f8eb4bc459f468318a4..2cfb5e70487b7ff6048a6a6664642022bff1c131 100644 (file)
@@ -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?