[libcxx-commits] [libcxx] [libcxxabi] [llvm] [libc++][hardening] Introduce assertion semantics. (PR #149459)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jul 24 11:10:11 PDT 2025


================
@@ -260,6 +275,76 @@ output. This is less secure and increases the size of the binary (among other
 things, it has to store the error message strings) but makes the failure easier
 to debug. It also allows testing the error messages in our test suite.
 
+.. warning::
+
+Assertion semantics are currently an experimental feature.
+
+.. note::
+
+Assertion semantics are not available in the C++03 mode.
----------------
ldionne wrote:

I would probably remove these two warnings. They are redundant with the ones immediately below under the `Assertion semantics` section.

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


More information about the libcxx-commits mailing list