[ObjC] Use the name specified by objc_runtime_name instead of the class
authorAkira Hatanaka <ahatanaka@apple.com>
Tue, 3 Apr 2018 22:50:16 +0000 (22:50 +0000)
committerAkira Hatanaka <ahatanaka@apple.com>
Tue, 3 Apr 2018 22:50:16 +0000 (22:50 +0000)
commit0c194461b5acf968e1eba0e029382cc2ca6b1383
tree7c0c260469e200472b61b724266c7f10fb58678b
parentd9189d1e76dd0d2640b13b5c2aa4cfb47ea7d808
[ObjC] Use the name specified by objc_runtime_name instead of the class
identifier.

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 Revision: https://reviews.llvm.org/D45101

llvm-svn: 329128
clang/lib/CodeGen/CGObjCMac.cpp
clang/test/CodeGenObjC/objc-runtime-name.m [new file with mode: 0644]