[cfe-commits] [PATCH] Implement va_arg alignment in clang on ARM

Jim (Ningjie) Chen nchen at mozilla.com
Mon Aug 1 13:19:19 PDT 2011


Hello. First-time contributor :)

This patch implements alignment for long long types in va_arg on ARM AAPCS.
Without alignment, sqlite breaks on ARM because it uses 64-bit types extensively in vaarg calls (printf).

I also included a test if that is needed.

Thanks!
Jim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-vaalign.diff
Type: text/x-patch
Size: 1414 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110801/c7f99c28/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-vaalign-test.diff
Type: text/x-patch
Size: 951 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110801/c7f99c28/attachment-0001.bin>


More information about the cfe-commits mailing list