[PATCH] D12299: [libcxx] ABI-Breaking Fix for ALL undefined behavior in <list>.

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 24 15:09:40 PDT 2015


EricWF created this revision.
EricWF added reviewers: mclow.lists, danalbert, jroelofs.
EricWF added a subscriber: cfe-commits.

This patch is an ABI-breaking version of D12297. However unlike D12297, this patch does not have any undefined behavior when `element_type` has a stricter alignment requirement than a pointer.

Note: More investigation needs to be done to see *how* ABI-breaking this patch is because it simply replaces `__node_pointer`'s via `__node_base_pointers` and we may be able to sneak that change in.

http://reviews.llvm.org/D12299

Files:
  include/list

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12299.33009.patch
Type: text/x-patch
Size: 22514 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150824/ea5beec0/attachment-0001.bin>


More information about the cfe-commits mailing list