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

Fariborz Jahanian fjahanian at apple.com
Thu Feb 26 14:30:39 PST 2009


Author: fjahanian
Date: Thu Feb 26 16:30:39 2009
New Revision: 65578

URL: http://llvm.org/viewvc/llvm-project?rev=65578&view=rev
Log:
Couple of meta-data segments were wrong. This patch fixes 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=65578&r1=65577&r2=65578&view=diff

==============================================================================
--- cfe/trunk/lib/CodeGen/CGObjCMac.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGObjCMac.cpp Thu Feb 26 16:30:39 2009
@@ -4552,9 +4552,9 @@
                                                   ObjCTypes.ClassnfABIPtrTy));
 
     if (IsSuper)
-      Entry->setSection("__OBJC,__objc_superrefs,regular,no_dead_strip");
+      Entry->setSection("__DATA,__objc_superrefs,regular,no_dead_strip");
     else
-      Entry->setSection("__OBJC,__objc_classrefs,regular,no_dead_strip");
+      Entry->setSection("__DATA,__objc_classrefs,regular,no_dead_strip");
     UsedGlobals.push_back(Entry);
   }
   





More information about the cfe-commits mailing list