llvmorg-github-actions[bot] wrote:

<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: Charles Zablit (charles-zablit)

<details>
<summary>Changes</summary>

This is not used in llvm.org yet, but will be used in swiftlang with 
https://github.com/swiftlang/llvm-project/pull/13750.

---
Full diff: https://github.com/llvm/llvm-project/pull/216135.diff


1 Files Affected:

- (modified) lldb/packages/Python/lldbsuite/test/decorators.py (+7) 


``````````diff
diff --git a/lldb/packages/Python/lldbsuite/test/decorators.py 
b/lldb/packages/Python/lldbsuite/test/decorators.py
index abd438c0cdf6e..306eb20622746 100644
--- a/lldb/packages/Python/lldbsuite/test/decorators.py
+++ b/lldb/packages/Python/lldbsuite/test/decorators.py
@@ -1234,6 +1234,13 @@ def requirePOSIX(func):
     return requireNotPlatform(["windows"], reason="uses the posix API.")(func)
 
 
+def requireMacOS(func):
+    """Mark the item as inherently macOS-only, as opposed to other Darwin
+    platforms (iOS, tvOS, watchOS, ...).
+    """
+    return requirePlatform(["macosx"])(func)
+
+
 def requireSignals(func):
     """Mark the item as requiring POSIX signal support on the target."""
     return requireNotPlatform(["windows", "wasip1", "wasi"])(func)

``````````

</details>


https://github.com/llvm/llvm-project/pull/216135
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to