[libcxx-commits] [libcxx] [libcxx] Align allocation to match `__set_long_cap` and `__get_long_cap` (PR #90292)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Apr 30 10:33:27 PDT 2024
philnik777 wrote:
> > AFAICT we always return `__align_it() - 1` from `__recommend` though? Adding 1 would bring us back to an aligned size. (Don't ask me why it's written this way)
>
> The assert inserted there confirms that it's not true in some cases, on check-cxx, even without sanitizers.
Ok, then what am I missing?
https://github.com/llvm/llvm-project/pull/90292
More information about the libcxx-commits
mailing list