forked from OSchip/llvm-project
class meta-data belong to __objc_data section (in objc2
nonfragile abi). llvm-svn: 63461
This commit is contained in:
parent
822082517f
commit
0408723269
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue