ObjFW runtime: Add objc_msg_lookup(_super)_{fp,st}ret
Jonathan Schleifer
js at webkeks.org
Sat Jul 6 09:09:54 PDT 2013
Hi!
The following patch makes the compiler emit calls to different lookup functions depending on the return type. While this does not seem useful at the first look, it is required to call the correct forwarding function which often just returns an assembly implementation that does the actual forwarding.
Please review and commit the patch so that I can have proper forwarding in ObjFW that does not just crash when a method returning a big struct or an fp value is returned :).
PS: Please CC me in replies.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Issue-calls-to-objc_msg_lookup_-fp-st-ret-for-the-Ob.patch
Type: application/octet-stream
Size: 8631 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130706/457f021b/attachment.obj>
-------------- next part --------------
--
Jonathan
More information about the cfe-commits
mailing list