class meta-data belong to __objc_data section (in objc2

nonfragile abi).

llvm-svn: 63461
This commit is contained in:
Fariborz Jahanian 2009-01-31 01:07:39 +00:00
parent 822082517f
commit 0408723269
1 changed files with 1 additions and 1 deletions

View File

@ -3384,7 +3384,7 @@ llvm::GlobalVariable * CGObjCNonFragileABIMac::BuildClassMetaData(
Init,
ClassName,
&CGM.getModule());
GV->setSection("__DATA, __objc_const");
GV->setSection("__DATA, __objc_data");
GV->setAlignment(GetPointerAlign());
if (HiddenVisibility)
GV->setVisibility(llvm::GlobalValue::HiddenVisibility);