[PATCH] D11397: [libcxx] Add first bits of <experimental/memory_resource>
Eric Fiselier
eric at efcs.ca
Tue Jul 21 18:10:48 PDT 2015
EricWF updated this revision to Diff 30304.
EricWF added a comment.
I changed the lifetime of the global resources. The global resources are no longer destroyed during program termination. This should prevent issues where other static destructors require memory resources.
http://reviews.llvm.org/D11397
Files:
include/experimental/__config
include/experimental/__memory
include/experimental/memory_resource
src/memory_resource.cpp
src/support/atomic_support.h
test/libcxx/experimental/memory/memory.resource.synop/version.pass.cpp
test/std/algorithms/alg.sorting/alg.heap.operations/make.heap/make_heap_comp.pass.cpp
test/std/experimental/memory/memory.resource.global/default_resource.pass.cpp
test/std/experimental/memory/memory.resource.global/new_delete_resource.pass.cpp
test/std/experimental/memory/memory.resource.global/null_memory_resource.pass.cpp
test/std/experimental/memory/memory.resource.synop/nothing_to_do.pass.cpp
test/std/experimental/memory/memory.resource/construct.fail.cpp
test/std/experimental/memory/memory.resource/memory.resource.eq/equality.pass.cpp
test/std/experimental/memory/memory.resource/memory.resource.overview/nothing_to_do.pass.cpp
test/std/experimental/memory/memory.resource/memory.resource.priv/tested_elsewhere.pass.cpp
test/std/experimental/memory/memory.resource/memory.resource.public/allocate.pass.cpp
test/std/experimental/memory/memory.resource/memory.resource.public/deallocate.pass.cpp
test/std/experimental/memory/memory.resource/memory.resource.public/dtor.pass.cpp
test/std/experimental/memory/memory.resource/memory.resource.public/is_equal.pass.cpp
test/support/test_memory_resource.hpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11397.30304.patch
Type: text/x-patch
Size: 55270 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150722/537bd31c/attachment.bin>
More information about the cfe-commits
mailing list