[llvm-commits] CVS: llvm/lib/CodeGen/AsmPrinter.cpp

Chris Lattner lattner at cs.uiuc.edu
Tue May 9 09:42:11 PDT 2006



Changes in directory llvm/lib/CodeGen:

AsmPrinter.cpp updated: 1.75 -> 1.76
---
Log message:

Fix a regression in my patch from last night that broke the llvmgcc4 build on
ppc


---
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.75 llvm/lib/CodeGen/AsmPrinter.cpp:1.76
--- llvm/lib/CodeGen/AsmPrinter.cpp:1.75	Tue May  9 00:33:48 2006
+++ llvm/lib/CodeGen/AsmPrinter.cpp	Tue May  9 11:41:59 2006
@@ -68,7 +68,7 @@
                                      const GlobalValue *GV) {
   std::string NS;
   if (GV && GV->hasSection())
-    NS = GV->getSection();
+    NS = SwitchToSectionDirective + GV->getSection();
   else
     NS = NewSection;
   






More information about the llvm-commits mailing list