[cfe-commits] r69388 - /cfe/trunk/lib/CodeGen/CGObjCMac.cpp

Daniel Dunbar daniel at zuster.org
Fri Apr 17 14:10:58 PDT 2009


Author: ddunbar
Date: Fri Apr 17 16:10:58 2009
New Revision: 69388

URL: http://llvm.org/viewvc/llvm-project?rev=69388&view=rev
Log:
Don't put msgrefs in used globals (in particular, we don't want
no-dead-strip set on them).

Modified:
    cfe/trunk/lib/CodeGen/CGObjCMac.cpp

Modified: cfe/trunk/lib/CodeGen/CGObjCMac.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGObjCMac.cpp?rev=69388&r1=69387&r2=69388&view=diff

==============================================================================
--- cfe/trunk/lib/CodeGen/CGObjCMac.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGObjCMac.cpp Fri Apr 17 16:10:58 2009
@@ -4995,7 +4995,6 @@
     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);
   





More information about the cfe-commits mailing list