[all-commits] [llvm/llvm-project] 19d57b: [libc++] Refactor allocate_shared to use an alloca...
Louis Dionne via All-commits
all-commits at lists.llvm.org
Mon Dec 14 14:10:42 PST 2020
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 19d57b5c42b4e80fcbd5b6a2167e4a5f4f7b64c3
https://github.com/llvm/llvm-project/commit/19d57b5c42b4e80fcbd5b6a2167e4a5f4f7b64c3
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2020-12-14 (Mon, 14 Dec 2020)
Changed paths:
M libcxx/include/CMakeLists.txt
A libcxx/include/__memory/utilities.h
M libcxx/include/memory
Log Message:
-----------
[libc++] Refactor allocate_shared to use an allocation guard
This commit is a step towards making it easier to add support for arrays
in allocate_shared. Adding support for arrays will require writing multiple
functions, and the current complexity of writing allocate_shared is
prohibitive for understanding.
Differential Revision: https://reviews.llvm.org/D93130
More information about the All-commits
mailing list