commit | 32b33f15eb5592331cc893043be273c64b42cf76 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Wed Feb 03 01:49:49 2010 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Wed Feb 03 01:49:49 2010 +0000 |
tree | 859662264ee81ba19976c78987ec1230043a5826 | |
parent | dc091da21df4460d274807b0357f41c103f1b904 [diff] |
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
diff --git a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp index 9844571..8456709 100644 --- a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp +++ b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@ -391,6 +391,8 @@ // 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 1ac55a1..2cfb5e7 100644 --- a/lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp +++ b/lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp
@@ -55,7 +55,6 @@ /// 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?