From 7809811e4ed3c2462efa327cef0464b9844baea2 Mon Sep 17 00:00:00 2001 From: Jim Laskey Date: Tue, 7 Mar 2006 22:00:35 +0000 Subject: 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 --- lib/Target/PowerPC/PPCAsmPrinter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Target/PowerPC/PPCAsmPrinter.cpp') 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); -- cgit v1.2.3-70-g09d2