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

2015-12-11 Thread Eric Fiselier via cfe-commits
EricWF added inline comments. Comment at: include/list:198 @@ +197,3 @@ +__node_pointer; +__node_base_pointer __prev_; +__node_base_pointer __next_; Possible ABI break here. http://reviews.llvm.org/D12299 __

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

2015-08-27 Thread Eric Fiselier via cfe-commits
EricWF added a comment. I've spent some time testing this patch to see if it causes ABI problem. Here is what I did: 1. Add external instantiations of std::list into the libc++ dylib for the types used in the tests. 2. Compile `libcxx-old.dylib` with the external instantations but without this

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

2015-08-26 Thread Marshall Clow via cfe-commits
mclow.lists added a comment. So... what do we need to do to enumerate the "ABI breakage" of this patch? I get that there's a couple of member variables that are changing type. Can they change (as a result of this patch) from a plain pointer to a fancy pointer (or vice versa)? Can they change si

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

2015-08-26 Thread Eric Fiselier via cfe-commits
EricWF updated this revision to Diff 33219. EricWF added a comment. Address failing test that @awi pointed out. http://reviews.llvm.org/D12299 Files: include/list Index: include/list === --- include/list +++ include/list @@ -191

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

2015-08-25 Thread Andreas Jacobs via cfe-commits
awi added a subscriber: awi. awi added a comment. Hello, I like your patch very much. I looks similar to my patch from January, so I am confident it solves my problem, but it does so a little more elegantly at some places. I tried it with my two sources files main.cpp and main2.cpp. While main.c

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

2015-08-24 Thread Eric Fiselier via cfe-commits
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 req