[libcxx-commits] [libcxx] DRAFT [libc++][hardening] In production hardening modes, trap rather than abort (PR #78561)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jan 18 13:05:53 PST 2024


================
@@ -7,6 +7,7 @@
 //===----------------------------------------------------------------------===//
 
 // Test that the default verbose termination function aborts the program.
+// REQUIRES: libcpp-hardening-mode=debug
----------------
ldionne wrote:

I think for this one, it makes more sense to call `__libcpp_verbose_abort` since we're not really checking `_LIBCPP_ASSERT`. I'm not sure why it was written that way in the first place.

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


More information about the libcxx-commits mailing list