[libcxx-commits] [libcxx] [libc++] Remove workaround which allows setting _LIBCPP_OVERRIDABLE_FUNC_VIS externally (PR #113139)

Takuto Ikuta via libcxx-commits libcxx-commits at lists.llvm.org
Tue Nov 19 01:55:27 PST 2024


atetubou wrote:

>From my investigation, I think `-fvisibility-global-new-delete` isn't applied to `operator new` with `std::nothrow_t` arg around
https://github.com/llvm/llvm-project/blob/927032807dfdca5d94eb0a8707d38b605e95e407/clang/lib/Sema/SemaExprCXX.cpp#L3116
While `_LIBCPP_OVERRIDABLE_FUNC_VIS` is used for `operator new` with `std::nothrow_t`.
e.g. https://github.com/llvm/llvm-project/blob/738a047ed6380efdfd4b64968881675347d7f915/libcxx/include/new#L216

https://github.com/llvm/llvm-project/pull/113139


More information about the libcxx-commits mailing list