[cfe-commits] r69170 - /cfe/trunk/lib/CodeGen/CGObjCMac.cpp
Fariborz Jahanian
fjahanian at apple.com
Wed Apr 15 09:31:41 PDT 2009
Author: fjahanian
Date: Wed Apr 15 11:31:36 2009
New Revision: 69170
URL: http://llvm.org/viewvc/llvm-project?rev=69170&view=rev
Log:
__objc_superrefs belongs to __DATA segment.
Modified:
cfe/trunk/lib/CodeGen/CGObjCMac.cpp
Modified: cfe/trunk/lib/CodeGen/CGObjCMac.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGObjCMac.cpp?rev=69170&r1=69169&r2=69170&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGObjCMac.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGObjCMac.cpp Wed Apr 15 11:31:36 2009
@@ -5087,7 +5087,7 @@
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");
More information about the cfe-commits
mailing list