From: Fariborz Jahanian Date: Wed, 15 Apr 2009 16:31:36 +0000 (+0000) Subject: __objc_superrefs belongs to __DATA segment. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=93ae2c780e2ab6382f60610866217213a9fa182a;p=clang __objc_superrefs belongs to __DATA segment. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69170 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CGObjCMac.cpp b/lib/CodeGen/CGObjCMac.cpp index 744481e92f..510551d1f1 100644 --- a/lib/CodeGen/CGObjCMac.cpp +++ b/lib/CodeGen/CGObjCMac.cpp @@ -5087,7 +5087,7 @@ llvm::Value *CGObjCNonFragileABIMac::EmitMetaClassRef(CGBuilderTy &Builder, CGM.getTargetData().getPrefTypeAlignment( ObjCTypes.ClassnfABIPtrTy)); - Entry->setSection("__OBJC,__objc_superrefs,regular,no_dead_strip"); + Entry->setSection("__DATA,__objc_superrefs,regular,no_dead_strip"); UsedGlobals.push_back(Entry); return Builder.CreateLoad(Entry, false, "tmp");