forked from OSchip/llvm-project
Couple of meta-data segments were wrong. This patch fixes them.
llvm-svn: 65578
This commit is contained in:
parent
d56a91e8f6
commit
ec3385733a
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue