[libcxx-commits] [libcxx] [llvm] [libc++][hardening] Rework macros for enabling the hardening mode. (PR #70575)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Tue Oct 31 13:51:04 PDT 2023


================
@@ -7,21 +7,20 @@
 //===----------------------------------------------------------------------===//
 
 // TODO(hardening): remove in LLVM 20.
-// This test ensures that enabling assertions now enables the safe mode.
+// This test ensures that enabling assertions now enables the debug-lite mode.
----------------
ldionne wrote:

```suggestion
// This test ensures that enabling assertions with the legacy _LIBCPP_ENABLE_ASSERTIONS now enables the debug-lite mode.
```

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


More information about the libcxx-commits mailing list