[llvm-commits] CVS: llvm/lib/CodeGen/AsmPrinter.cpp 
    Chris Lattner 
    lattner at cs.uiuc.edu
       
    Mon May  8 22:20:12 PDT 2006
    
    
  
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;
    
    
More information about the llvm-commits
mailing list