[PATCH] D47233: [CodeGen] Emit MSVC RTTI for Obj-C EH types
Reid Kleckner via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri May 25 10:42:36 PDT 2018
rnk added a comment.
I think the approach makes sense.
================
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())
----------------
@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?
Repository:
rC Clang
https://reviews.llvm.org/D47233
More information about the cfe-commits
mailing list