Couple of meta-data segments were wrong. This patch fixes them.

llvm-svn: 65578
This commit is contained in:
Fariborz Jahanian 2009-02-26 22:30:39 +00:00
parent d56a91e8f6
commit ec3385733a
1 changed files with 2 additions and 2 deletions

View 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);
}