diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-04-17 21:10:58 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-04-17 21:10:58 +0000 |
commit | 8a81e1e858f9bb75c295c12b5b05e17b49fcd279 (patch) | |
tree | 4718d4d6b23375937e60c560100dfc7ff19c1b24 | |
parent | 446c619f37349815a3ccfb703b1ac08684279ae1 (diff) |
Don't put msgrefs in used globals (in particular, we don't want
no-dead-strip set on them).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69388 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/CodeGen/CGObjCMac.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/CodeGen/CGObjCMac.cpp b/lib/CodeGen/CGObjCMac.cpp index 4acc618103..5bb48e4e94 100644 --- a/lib/CodeGen/CGObjCMac.cpp +++ b/lib/CodeGen/CGObjCMac.cpp @@ -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); |