<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm5719-llvm/libcxx/test/utilities/memory/util.smartptr, branch meklort-10.0.1</title>
<subtitle>Project Ortega BCM5719 LLVM</subtitle>
<id>https://git.raptorcs.com/git/bcm5719-llvm/atom?h=meklort-10.0.1</id>
<link rel='self' href='https://git.raptorcs.com/git/bcm5719-llvm/atom?h=meklort-10.0.1'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/'/>
<updated>2014-12-20T01:40:03+00:00</updated>
<entry>
<title>Move test into test/std subdirectory.</title>
<updated>2014-12-20T01:40:03+00:00</updated>
<author>
<name>Eric Fiselier</name>
<email>eric@efcs.ca</email>
</author>
<published>2014-12-20T01:40:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=5a83710e371fe68a06e6e3876c6a2c8b820a8976'/>
<id>urn:sha1:5a83710e371fe68a06e6e3876c6a2c8b820a8976</id>
<content type='text'>
llvm-svn: 224658
</content>
</entry>
<entry>
<title>Add a test for LWG issue #2399. We already implement this, but now we have a test as well.</title>
<updated>2014-11-18T18:14:53+00:00</updated>
<author>
<name>Marshall Clow</name>
<email>mclow.lists@gmail.com</email>
</author>
<published>2014-11-18T18:14:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=e1a075d5ce0bc103fd9c3d47df192de3cccad363'/>
<id>urn:sha1:e1a075d5ce0bc103fd9c3d47df192de3cccad363</id>
<content type='text'>
llvm-svn: 222242
</content>
</entry>
<entry>
<title>Implement LWG2400 - 'shared_ptr's get_deleter() should use addressof()', and add tests. Mark LWG2400 and LWG2404 as complete</title>
<updated>2014-11-17T19:05:50+00:00</updated>
<author>
<name>Marshall Clow</name>
<email>mclow.lists@gmail.com</email>
</author>
<published>2014-11-17T19:05:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=278ddec22c8b95d9849fb74450b7f9f18c80421c'/>
<id>urn:sha1:278ddec22c8b95d9849fb74450b7f9f18c80421c</id>
<content type='text'>
llvm-svn: 222161
</content>
</entry>
<entry>
<title>Actually mark the tests an unsupported with MSAN (not just ASAN)</title>
<updated>2014-11-04T05:36:15+00:00</updated>
<author>
<name>Eric Fiselier</name>
<email>eric@efcs.ca</email>
</author>
<published>2014-11-04T05:36:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=652a3f3257dcb824c9be061994c8f3e22394bb40'/>
<id>urn:sha1:652a3f3257dcb824c9be061994c8f3e22394bb40</id>
<content type='text'>
llvm-svn: 221240
</content>
</entry>
<entry>
<title>Mark tests that replace operator new/delete as UNSUPPORTED with ASAN and MSAN.</title>
<updated>2014-11-04T05:11:41+00:00</updated>
<author>
<name>Eric Fiselier</name>
<email>eric@efcs.ca</email>
</author>
<published>2014-11-04T05:11:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=446e4b6be1ea99c88924ae6ee588eafa63264018'/>
<id>urn:sha1:446e4b6be1ea99c88924ae6ee588eafa63264018</id>
<content type='text'>
tests that replace operator new/delete won't link when using ASAN and MSAN 
because these sanitizers also replace new/delete.

llvm-svn: 221236
</content>
</entry>
<entry>
<title>Add support for "fancy" pointers to shared_ptr. Fixes PR20616</title>
<updated>2014-10-23T04:12:28+00:00</updated>
<author>
<name>Eric Fiselier</name>
<email>eric@efcs.ca</email>
</author>
<published>2014-10-23T04:12:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=319be7222003a55cbb373ebcc0601bb84c869f82'/>
<id>urn:sha1:319be7222003a55cbb373ebcc0601bb84c869f82</id>
<content type='text'>
Summary:
This patch add support for "fancy pointers/allocators" as well as fixing support for shared_pointer and "minimal" allocators.

Fancy pointers are class types that meet the NullablePointer requirements. In our case they are created by fancy allocators. `support/min_allocator.h` is an archetype for these types.

There are three types of changes made in this patch:
1. `_Alloc::template rebind&lt;T&gt;::other` -&gt; `__allocator_traits_rebind&lt;_Alloc, T&gt;::type`. This change was made because allocators don't need a rebind template. `__allocator_traits_rebind` is used instead of `allocator_traits::rebind` because use of `allocator_traits::rebind` requires a workaround for when template aliases are unavailable.
2. `a.deallocate(this, 1)` -&gt; `a.deallocate(pointer_traits&lt;self&gt;::pointer_to(*this), 1)`. This change change is made because fancy pointers aren't always constructible from raw pointers. 
3. `p.get()` -&gt; `addressof(*p.get())`. Fancy pointers aren't actually a pointer. When we need a "real" pointer we take the address of dereferencing the fancy pointer. This should give us the actual raw pointer.

Test Plan: Tests were added using `support/min_allocator.h` to each affected shared_ptr overload and creation function. These tests can only be executed in C++11 or greater since min_allocator is only available then. A extra test was added for the non-variadic versions of allocate_shared. 

Reviewers: danalbert, mclow.lists

Reviewed By: mclow.lists

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D4859

llvm-svn: 220469
</content>
</entry>
<entry>
<title>Fix a couple of failing tests for C++03 by checking for rvalue reference support first.</title>
<updated>2014-10-23T03:57:52+00:00</updated>
<author>
<name>Marshall Clow</name>
<email>mclow.lists@gmail.com</email>
</author>
<published>2014-10-23T03:57:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=3d541d12ed64777e8a395c79e19ebdd467ca022e'/>
<id>urn:sha1:3d541d12ed64777e8a395c79e19ebdd467ca022e</id>
<content type='text'>
llvm-svn: 220465
</content>
</entry>
<entry>
<title>Allow libc++ to be built on systems without POSIX threads</title>
<updated>2014-09-05T19:45:05+00:00</updated>
<author>
<name>Jonathan Roelofs</name>
<email>jonathan@codesourcery.com</email>
</author>
<published>2014-09-05T19:45:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=b3fcc67f8f13cd95d36ed29d0ae1308decb9e099'/>
<id>urn:sha1:b3fcc67f8f13cd95d36ed29d0ae1308decb9e099</id>
<content type='text'>
If you're crazy enough to want this sort of thing, then add
-D_LIBCPP_HAS_NO_THREADS to your CXXFLAGS and
--param=additiona_features=libcpp-has-no-threads to your lit commnad line.

http://reviews.llvm.org/D3969

llvm-svn: 217271
</content>
</entry>
<entry>
<title>Update synposis in &lt;memory&gt; to show move semantics for weak_ptr; add tests for already existing move semantics. Mark LWG issues #2315 (no changes needed), 2316 (move semantics for weak_ptr), 2252 (previous commit) and 2271 (previous commit) as complete.</title>
<updated>2014-03-05T03:12:04+00:00</updated>
<author>
<name>Marshall Clow</name>
<email>mclow.lists@gmail.com</email>
</author>
<published>2014-03-05T03:12:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=4703f763766f173bf046c5504db5c299bde7cc0b'/>
<id>urn:sha1:4703f763766f173bf046c5504db5c299bde7cc0b</id>
<content type='text'>
llvm-svn: 202931
</content>
</entry>
<entry>
<title>Found six (nmostly) identical files named 'test_allocator.h' in the libcxx test suite. Moved one to /support, made it a superset, and removed all but one of the others, and iupdated all the includes. Left the odd one (thread/futures/test_allocator.h) for later.</title>
<updated>2013-12-03T00:18:10+00:00</updated>
<author>
<name>Marshall Clow</name>
<email>mclow.lists@gmail.com</email>
</author>
<published>2013-12-03T00:18:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=c3deeb5f89f0fa733e4e2c4d260d6f816d6b1b5e'/>
<id>urn:sha1:c3deeb5f89f0fa733e4e2c4d260d6f816d6b1b5e</id>
<content type='text'>
llvm-svn: 196174
</content>
</entry>
</feed>
