objective-C IRgen: When sending a method to 'super'
authorFariborz Jahanian <fjahanian@apple.com>
Wed, 10 Oct 2012 23:11:18 +0000 (23:11 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Wed, 10 Oct 2012 23:11:18 +0000 (23:11 +0000)
commit27678b09610a79889d3358d72a48b07ceacbbb88
treef020da5576f926bb5e580e52fc1e3b42cc5e10ce
parent0f2565fd350f6af8f0704b7d1220b0338b8e68dd
objective-C IRgen: When sending a method to 'super'
in a category class method, don't read 'isa' pointer. Instead,
save the desired OBJC_METACLASS_$_ClassName in
__DATA,__objc_superrefs and read that without reading any
isa pointers. // rdar://12459358

llvm-svn: 165674
clang/lib/CodeGen/CGObjCMac.cpp
clang/test/CodeGenObjC/category-super-class-meth.m