Skip to content

Commit c987ea9

Browse files
authored
Merge pull request swiftlang#84236 from ellishg/objc-prop-methname-section
[ObjC][GenDecl] Emit ObjC properties in __objc_methname section
2 parents 8bba641 + f5b7099 commit c987ea9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/IRGen/GenDecl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1065,7 +1065,7 @@ void IRGenModule::SetCStringLiteralSection(llvm::GlobalVariable *GV,
10651065
GV->setSection("__TEXT,__objc_methtype,cstring_literals");
10661066
return;
10671067
case ObjCLabelType::PropertyName:
1068-
GV->setSection("__TEXT,__cstring,cstring_literals");
1068+
GV->setSection("__TEXT,__objc_methname,cstring_literals");
10691069
return;
10701070
}
10711071
case llvm::Triple::ELF:

0 commit comments

Comments
 (0)