aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCAsmPrinter.cpp
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2006-03-07 22:00:35 +0000
committerJim Laskey <jlaskey@mac.com>2006-03-07 22:00:35 +0000
commit7809811e4ed3c2462efa327cef0464b9844baea2 (patch)
tree9ecd790d8e64ad0507f53798a0e5c26bfd2407df /lib/Target/PowerPC/PPCAsmPrinter.cpp
parente8c3e3b51c21dad94f0b427d7e0d6722e663fc64 (diff)
Use "llvm.metadata" section for debug globals. Filter out these globals in the
asm printer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26599 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCAsmPrinter.cpp')
-rw-r--r--lib/Target/PowerPC/PPCAsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCAsmPrinter.cpp b/lib/Target/PowerPC/PPCAsmPrinter.cpp
index cc40bbf76a..2b88a855f5 100644
--- a/lib/Target/PowerPC/PPCAsmPrinter.cpp
+++ b/lib/Target/PowerPC/PPCAsmPrinter.cpp
@@ -564,7 +564,7 @@ bool DarwinAsmPrinter::doFinalization(Module &M) {
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);