[libcxx-commits] [PATCH] D112921: [clang] Enable sized deallocation by default in C++14 onwards

John McCall via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Apr 26 09:26:11 PDT 2022


rjmccall added a comment.

Hmm.  Allowing a version on `-stdlib` is intuitively appealing, but I'm not sure it actually gives us the information we need.  As I recall, `-stdlib` selects the high-level stdlib and not the low-level one, and those are related in code but not necessarily at runtime; for example, you can (or at least could, historically) use libstdc++ on macOS, but the underlying low-level stdlib is going to be libc++abi, not libsupc++.  And the low-level runtime is the one that actually provides global `operator new` functions.  Is there a way to bridge that gap?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D112921/new/

https://reviews.llvm.org/D112921



More information about the libcxx-commits mailing list