[libcxx-commits] [libcxx] [libc++][hardening] Introduce a dylib function to log hardening errors. (PR #148266)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jul 14 07:08:44 PDT 2025


================
@@ -894,6 +894,14 @@ def check_gdb(cfg):
             cfg.available_features,
         ),
     ),
+    # Tests that require __log_error support in the built library
+    Feature(
+        name="availability-log_error-missing",
+        when=lambda cfg: BooleanExpression.evaluate(
+            "!libcpp-has-no-availability-markup && (stdlib=apple-libc++ && !_target-has-llvm-21)",
+            cfg.available_features,
+        ),
+    ),
----------------
ldionne wrote:

Can you move this to the end of the feature list? They are roughly in chronological order right now and I think we should keep that.

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


More information about the libcxx-commits mailing list