[libcxx-commits] [PATCH] D70343: Add a `_LIBCPP_HARDEN` define

JF Bastien via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue May 26 09:44:41 PDT 2020


jfb added a comment.

Overall I've been wanting to do something like this, and I agree that assert != hardening checks. Some assertions might be hardening checks, but many assertions are there to verify that the libc++ implementors didn't mess up, or to verify expensive things about usage of libc++. Hardening is only there to verify inexpensive problems which might lead to security issues. Therefore there's some overlap, but it's not the same.


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

https://reviews.llvm.org/D70343





More information about the libcxx-commits mailing list