Changes in directory llvm/lib/CodeGen:

AsmPrinter.cpp updated: 1.71 -> 1.72
---
Log message:


Don't prefix section directives with a tab.  Doing so causes blank lines to
be emitted to the .s file.


---
Diffs of the changes:  (+1 -1)

 AsmPrinter.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/CodeGen/AsmPrinter.cpp
diff -u llvm/lib/CodeGen/AsmPrinter.cpp:1.71 
llvm/lib/CodeGen/AsmPrinter.cpp:1.72
--- llvm/lib/CodeGen/AsmPrinter.cpp:1.71        Tue May  9 00:15:58 2006
+++ llvm/lib/CodeGen/AsmPrinter.cpp     Tue May  9 00:19:59 2006
@@ -123,7 +123,7 @@
     if (GV && GV->hasSection())
       NS = SwitchToSectionDirective + GV->getSection();
     else
-      NS = std::string("\t")+NewSection;
+      NS = NewSection;
     
     if (CurrentSection != NS) {
       CurrentSection = NS;



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to