[all-commits] [llvm/llvm-project] 470ba5: [libc++] Properly calculate rounded-up size for `{...
A. Jiang via All-commits
all-commits at lists.llvm.org
Wed Apr 8 02:49:27 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 470ba560b7726c385b2899460151565aca4d89d7
https://github.com/llvm/llvm-project/commit/470ba560b7726c385b2899460151565aca4d89d7
Author: A. Jiang <de34 at live.cn>
Date: 2026-04-08 (Wed, 08 Apr 2026)
Changed paths:
M libcxx/include/__memory/shared_ptr.h
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/allocate_shared.array.unbounded.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/make_shared.array.unbounded.pass.cpp
Log Message:
-----------
[libc++] Properly calculate rounded-up size for `{allocate,make}_shared` (#190315)
Previously, the allocated size might be a bit too small for certain
cases. This patch makes the size calculated with potentially larger
alignment of the whole control block.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list