[PATCH] Address spaced pointers to structs

Benyei, Guy guy.benyei at intel.com
Thu Feb 28 05:55:45 PST 2013


Hi all,
This patch fixes a case, where a memory buffer of structs is located in an address space different from 0, and one of its elements is being passed to a function that expects a non-address spaced struct argument. In this case, the value being passed should be copied to local memory, rather than trying to pass its address in the address spaced memory object, which leads to a failure.

Please review

Thanks
   Guy
[email_signature_guy_new2]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130228/f62e4c3d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 24800 bytes
Desc: image001.png
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130228/f62e4c3d/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: addr_space_struct.patch
Type: application/octet-stream
Size: 2629 bytes
Desc: addr_space_struct.patch
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130228/f62e4c3d/attachment.obj>
-------------- next part --------------
---------------------------------------------------------------------
Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130228/f62e4c3d/attachment-0001.html>


More information about the cfe-commits mailing list