[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp

Jim Laskey jlaskey at apple.com
Tue Mar 7 14:00:50 PST 2006



Changes in directory llvm/lib/Target/PowerPC:

PPCAsmPrinter.cpp updated: 1.156 -> 1.157
---
Log message:

Use "llvm.metadata" section for debug globals.  Filter out these globals in the
asm printer.


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

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


Index: llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
diff -u llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.156 llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.157
--- llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.156	Fri Feb 24 14:27:40 2006
+++ llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp	Tue Mar  7 16:00:35 2006
@@ -564,7 +564,7 @@
     if (!I->hasInitializer()) continue;   // External global require no code
     
     // Check to see if this is a special global used by LLVM, if so, emit it.
-    if (I->hasAppendingLinkage() && EmitSpecialLLVMGlobal(I))
+    if (EmitSpecialLLVMGlobal(I))
       continue;
     
     std::string name = Mang->getValueName(I);






More information about the llvm-commits mailing list