[libcxx-commits] [PATCH] D158823: [libc++][hardening] Add back the safe mode.

Christian Trott via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Aug 28 09:50:58 PDT 2023


crtrott added a comment.

I believe this 3-level thing is in general a good idea, and in principle the words "hardened < safe < debug" fell ok-ish to me in terms of expectations how much gets checked.
However, in light of a 3-level mode I may want to rethink for example the asserts in mdspan, and tailor better what is enabled in hardened, vs safe mode. I think the current choices were good in a binary world, in this more nuanced approach I am not sure.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D158823



More information about the libcxx-commits mailing list