Couple of meta-data segments were wrong. This patch fixes them.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65578 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/CGObjCMac.cpp b/lib/CodeGen/CGObjCMac.cpp
index 0fddd2b..6a806a3 100644
--- a/lib/CodeGen/CGObjCMac.cpp
+++ b/lib/CodeGen/CGObjCMac.cpp
@@ -4552,9 +4552,9 @@
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);
}