[cfe-commits] [PATCH] Emit the 'alignstack' attribute for 'force_align_arg_pointer' functions

Charles Davis cdavis at mymail.mines.edu
Thu Feb 11 17:01:44 PST 2010


Now that clang supports the 'force_align_arg_pointer' attribute and LLVM
supports the corresponding 'alignstack' attribute, it's time to put the
two together. With this patch, clang will emit the 'alignstack'
attribute (with a value of 16) whenever it encounters a function with
the 'force_align_arg_pointer' attribute. Now all that remains is hooking
up the x86 backend to support this.

This is a very simple patch, but I want feedback on it before I put it in.

Chip
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: faap-support-3.patch
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20100211/f487a3ea/attachment.ksh>


More information about the cfe-commits mailing list