[libcxx-commits] [libcxx] [llvm] [libcxx][CMake] Rework LLVM_ENABLE_ASSERTIONS interaction w. libcxx hardening (PR #229359)

Mészáros Gergely via libcxx-commits libcxx-commits at lists.llvm.org
Wed Oct 7 03:15:49 PDT 2026


Maetveis wrote:

> I think if you either support complete separate configuration between libcxx and llvm, or just lock them and ask user to configure them separately. This patch is trying to do something in between and only adds confusion.

Would be okay with a patch that removes the `LIBCXX_HARDENING_MODE=auto` handling, essentially removing the implied LLVM_ENABLE_ASSERTIONS=ON -> LIBCXX_HARDENING_MODE=extensive link? 

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


More information about the libcxx-commits mailing list