[PATCH] D12247: [libc++] remove possible trailing padding from aligned_storage

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 26 10:49:15 PDT 2015


EricWF added a comment.

I think I'm starting to understand but I think the correct fix for this would be to fix function so that:

1. It aligns its buffer by alignof(void*).
2. It doesn't stick over-aligned types in the small object buffer.

Point two can probably be done without an ABI break, but point one will break the ABI.


http://reviews.llvm.org/D12247





More information about the cfe-commits mailing list