https://github.com/augusto2112 created https://github.com/llvm/llvm-project/pull/216399
The PT_DENY_ATTACH handling is in debugserver, so a system debugserver still reports lost connection. Added @skipIfOutOfTreeDebugserver >From 4c03cb279ece071882061c4b9c349db669219ddd Mon Sep 17 00:00:00 2001 From: Augusto Noronha <[email protected]> Date: Fri, 14 Aug 2026 13:49:12 -0700 Subject: [PATCH] [lldb] Run TestDenyAttach only with locally built debug server The PT_DENY_ATTACH handling is in debugserver, so a system debugserver still reports lost connection. Added @skipIfOutOfTreeDebugserver --- lldb/test/API/macosx/deny-attach/TestDenyAttach.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lldb/test/API/macosx/deny-attach/TestDenyAttach.py b/lldb/test/API/macosx/deny-attach/TestDenyAttach.py index 1abf5cb678378..56b42a5c8ba89 100644 --- a/lldb/test/API/macosx/deny-attach/TestDenyAttach.py +++ b/lldb/test/API/macosx/deny-attach/TestDenyAttach.py @@ -11,6 +11,7 @@ class DenyAttachTestCase(TestBase): @requireDarwin @skipIfDarwinEmbedded # PT_DENY_ATTACH attach behavior differs on ios/tvos/etc @skipIfAsan # Attach tests time out inconsistently under asan. + @skipIfOutOfTreeDebugserver # The PT_DENY_ATTACH handling is in debugserver. def test_attach_to_deny_attach_process(self): """Attaching to a PT_DENY_ATTACH process reports an error, not a crash.""" self.build() _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
