[llvm-commits] [llvm] r95187 - in /llvm/trunk/lib: CodeGen/AsmPrinter/AsmPrinter.cpp Target/X86/AsmPrinter/X86AsmPrinter.cpp
Chris Lattner
sabre at nondot.org
Tue Feb 2 17:49:49 PST 2010
Author: lattner
Date: Tue Feb 2 19:49:49 2010
New Revision: 95187
URL: http://llvm.org/viewvc/llvm-project?rev=95187&view=rev
Log:
don't emit \n's at the start of X86AsmPrinter::runOnMachineFunction,
.o files don't like that.
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
llvm/trunk/lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp?rev=95187&r1=95186&r2=95187&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp Tue Feb 2 19:49:49 2010
@@ -391,6 +391,8 @@
// Print out jump tables referenced by the function.
EmitJumpTableInfo();
+
+ OutStreamer.AddBlankLine();
}
Modified: llvm/trunk/lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp?rev=95187&r1=95186&r2=95187&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp (original)
+++ llvm/trunk/lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp Tue Feb 2 19:49:49 2010
@@ -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?
More information about the llvm-commits
mailing list