[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:52 PST 2024


================
@@ -8,6 +8,7 @@
 
 // This compile-time customization requires cross-file macros, which doesn't work with modules.
 // UNSUPPORTED: clang-modules-build
+// REQUIRES: libcpp-hardening-mode=debug
----------------
ldionne wrote:

I think this one should call `_LIBCPP_VERBOSE_ABORT` directly. BTW this test will go away at some point if we remove the `_LIBCPP_VERBOSE_ABORT` macro, which I don't think we'll want to keep supporting down the line.

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


More information about the libcxx-commits mailing list