[cfe-commits] r63461 - /cfe/trunk/lib/CodeGen/CGObjCMac.cpp
Fariborz Jahanian
fjahanian at apple.com
Fri Jan 30 17:07:39 PST 2009
Author: fjahanian
Date: Fri Jan 30 19:07:39 2009
New Revision: 63461
URL: http://llvm.org/viewvc/llvm-project?rev=63461&view=rev
Log:
class meta-data belong to __objc_data section (in objc2
nonfragile abi).
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=63461&r1=63460&r2=63461&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGObjCMac.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGObjCMac.cpp Fri Jan 30 19:07:39 2009
@@ -3384,7 +3384,7 @@
Init,
ClassName,
&CGM.getModule());
- GV->setSection("__DATA, __objc_const");
+ GV->setSection("__DATA, __objc_data");
GV->setAlignment(GetPointerAlign());
if (HiddenVisibility)
GV->setVisibility(llvm::GlobalValue::HiddenVisibility);
More information about the cfe-commits
mailing list