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:
parent
75009454e3
commit
66b13dac0a
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue