This patch fixes a few places in CGObjCMac.cpp where the class identifier was used instead of the name specified by objc_runtime_name.
rdar://problem/37910822
Differential D45101
[ObjC] Use the name specified by objc_runtime_name instead of the class identifier ahatanak on Mar 30 2018, 11:46 AM. Authored by
Details This patch fixes a few places in CGObjCMac.cpp where the class identifier was used instead of the name specified by objc_runtime_name. rdar://problem/37910822
Diff Detail
Event TimelineComment Actions Note that CGObjCNonFragileABIMac::EmitClassRef also passes the class identifier to CGObjCNonFragileABIMac::EmitClassRefFromId, but it doesn't cause a problem. CGObjCNonFragileABIMac::EmitClassRefFromId uses the identifier only when the ObjCInterfaceDecl passed to it is null and that happens only when it is called from CGObjCNonFragileABIMac::EmitNSAutoreleasePoolClassRef. |