Don't put msgrefs in used globals (in particular, we don't want

no-dead-strip set on them).

llvm-svn: 69388
This commit is contained in:
Daniel Dunbar 2009-04-17 21:10:58 +00:00
parent 75009454e3
commit 66b13dac0a
1 changed files with 0 additions and 1 deletions

View File

@ -4995,7 +4995,6 @@ CodeGen::RValue CGObjCNonFragileABIMac::EmitMessageSend(
GV->setVisibility(llvm::GlobalValue::HiddenVisibility);
GV->setAlignment(16);
GV->setSection("__DATA, __objc_msgrefs, coalesced");
UsedGlobals.push_back(GV);
}
llvm::Value *Arg1 = CGF.Builder.CreateBitCast(GV, ObjCTypes.MessageRefPtrTy);