rjmccall added inline comments.
================
Comment at: lib/CodeGen/CGObjCMac.cpp:7457-7460
CGObjCNonFragileABIMac::GetEHType(QualType T) {
// There's a particular fixed type info for 'id'.
if (T->isObjCIdType() || T->isObjCQualifiedIdType()) {
+ if (CGM.getTriple().isWindowsMSVCEnvironment())
----------------
rnk wrote:
> @rjmccall how should this be organized in the long run? At this point, the
> naming seems totally wrong. Is the non-fragile ABI sort of the canonical way
> forward for Obj-C, i.e. it's what a new platform would want to use to best
> stay in sync with the future of obj-c?
For Darwin, yes, absolutely.
I think this method should probably just completely delegate to the `CGCXXABI`
using a new `getAddrOfObjCRTTIDescriptor` method.
Repository:
rC Clang
https://reviews.llvm.org/D47233
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits