[cfe-dev] Fixing selector types on the GNU runtime

David Chisnall csdavec at swansea.ac.uk
Sun Jan 18 08:14:34 PST 2009


Hi Everyone,

The attached patch modifies CGObjCGNU to take the selector type from  
the front end.  This fixes the crash caused by parts of the code  
expecting a packed structure and parts expecting an unpacked one for  
the selector type.

I've also included some fixes in this patch which turn NULL into  
(void*)0 when it is used as a sentinel in variadic functions.  This  
gets rid of a load of warnings when compiling and stops it breaking on  
64-bit architectures.

David
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang.diff
Type: application/octet-stream
Size: 9639 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20090118/4a855168/attachment.obj>


More information about the cfe-dev mailing list