diff options
-rw-r--r-- | clang/lib/CodeGen/CGObjCMac.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGObjCMac.cpp b/clang/lib/CodeGen/CGObjCMac.cpp index 0fddd2b023d..6a806a33716 100644 --- a/clang/lib/CodeGen/CGObjCMac.cpp +++ b/clang/lib/CodeGen/CGObjCMac.cpp @@ -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); } |