[PATCH] D47233: [CodeGen] Emit MSVC RTTI for Obj-C EH types
Shoaib Meenai via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed May 30 15:57:54 PDT 2018
smeenai added a comment.
In https://reviews.llvm.org/D47233#1115630, @DHowett-MSFT wrote:
> This largely matches what we've done in the WinObjC clang patchset here <https://github.com/Microsoft/WinObjC/blob/develop/contrib/clang/patches/0018-ObjCGNU-Add-the-bulk-of-CGObjCMicrosoft.patch#L84>, with the critical exception that we've chosen to mangle the EH names as though they were for structs named after their classes.
Thanks for the pointer!
To clarify, when you're talking about mangling the EH names, do you mean the names of the typeinfo structures themselves (OBJC_EHTYPE_* in my implementation), or the typeinfo name strings inside those structures? The latter should be equivalent to structs for us too, i.e. `@catch (I *)` and `catch (struct I *)` would produce the same name in the generated type info.
Repository:
rC Clang
https://reviews.llvm.org/D47233
More information about the cfe-commits
mailing list