[cfe-commits] [PATCH] Fix pointer arithmetic for Windows64 target

Cameron Esfahani dirty at apple.com
Tue Sep 14 14:39:41 PDT 2010


Enclosed is a patch which updates the Target information for the Windows64 target.  Windows defines long and int as being 32-bits for the Windows64 ABI.  Previous to this patch, this was causing pointer arithmetic to generate sign extensions and kooky code generation.  I also updated a few other target attributes to be more inline with what Microsoft documents.

Act now, and get a free test case!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang.patch
Type: application/octet-stream
Size: 1855 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20100914/23b6b506/attachment.obj>
-------------- next part --------------


Cameron Esfahani
dirty at apple.com

"We do what we must because we can."

Aperture Science





More information about the cfe-commits mailing list