]> granicus.if.org Git - clang/commitdiff
Couple of meta-data segments were wrong. This patch fixes them.
authorFariborz Jahanian <fjahanian@apple.com>
Thu, 26 Feb 2009 22:30:39 +0000 (22:30 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Thu, 26 Feb 2009 22:30:39 +0000 (22:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65578 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGObjCMac.cpp

index 0fddd2b023dce75540adedcbc6a622faf5979222..6a806a33716b9ba6e622ce0a812a41db135bc1fc 100644 (file)
@@ -4552,9 +4552,9 @@ llvm::Value *CGObjCNonFragileABIMac::EmitClassRef(CGBuilderTy &Builder,
                                                   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);
   }