[libcxx-commits] [libcxx] [libc++][hardening] Enable comparator checks for safe mode too (PR #66458)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Fri Sep 15 14:24:20 PDT 2023


ldionne wrote:

> IMO we should strive to keep the conceptual model simple and I would rather modify the existing modes than add a new one (and making this user-configurable is equivalent to a combinatorial explosion of modes).

Also, individual categories of checks is probably not something we want to commit to keeping stable. Stabilizing that would increase the API surface quite a bit.

We could conceivably provide a way for vendors to create new modes, though -- that way folks could craft modes that don't make sense for "the general public" but that could be used internally for specific use cases. I still think that what you want is actually the debug mode, but this would be an avenue.

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


More information about the libcxx-commits mailing list