Hello clang developers,

I discovered a bug that affects Objective-C programs compiled with clang on 
Linux.  The current code was not emitting Objective-C class name metadata, 
which made it impossible for programs to do runtime type introspection.  I 
opened a bug report that describes the problem and provides a test program that 
reproduces it:

https://llvm.org/bugs/show_bug.cgi?id=30413

I've attached an svn-generated patch file: the patch changes one argument to 
the getObjCEncodingForTypeImpl function from false to true, so that Objective-C 
class names are encoded.  If this looks OK, it would be great if it could be 
added to the trunk.  Once that is done, the bug can of course be closed.

Thank you.

Sincerely,

David Lobron

Attachment: PatchForBug30413.patch
Description: PatchForBug30413.patch

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to