On Sat, Dec 13, 2014 at 05:51:27PM +0000, mats petersson wrote: > Add a predefined macro reflecting the largest alignment required by > the archiecture, in bytes. This is useful for allocator designs that > need to know the system alignment requirements. It reflects the > TargetInfo.SuitableAlignment, converted to bytes (using CharWidth).
The one issue I have with this is that exports data that may change in the future. What is the stability guarantee for it? Consider i386 -- for a very long time, nothing required more than 32bit alignment. Only the introduction of SSE2 changed that. Joerg _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
