[libcxx-commits] [libcxx] [libcxxabi] [llvm] [libc++][hardening] Introduce assertion semantics. (PR #149459)
Konstantin Varlamov via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Jul 24 02:50:39 PDT 2025
================
@@ -260,6 +267,60 @@ 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.
+This default behavior can be customized by users via :ref:`assertion semantics
+<assertion-semantics>`; it can also be completely overridden by vendors by
+providing a :ref:`custom assertion failure handler
+<override-assertion-handler>`.
----------------
var-const wrote:
Added a `note` and a `warning` to make it stand out (and make it uniform throughout), let me know what you think.
https://github.com/llvm/llvm-project/pull/149459
More information about the libcxx-commits
mailing list