Skip to content

Commit 0d16652

Browse files
committed
[lldb] Skip part of TestGdbRemoteMemoryAllocation.py on Apple Silicon
Skip the part of TestGdbRemoteMemoryAllocation.py that attempts to allocate both writable and executable memory.
1 parent 9aa7434 commit 0d16652

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lldb/test/API/tools/lldb-server/memory-allocation/TestGdbRemoteMemoryAllocation.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ def allocate(self, size, permissions):
4444

4545
@skipIf(oslist=no_match(supported_oses))
4646
@skipIf(oslist=["linux"], archs=no_match(supported_linux_archs))
47+
@expectedFailureDarwin(archs=["arm64", "arm64e"]) # Memory cannot be writable and executable
4748
@expectedFailureAll(oslist=["windows"]) # Memory allocated with incorrect permissions
4849
def test_supported(self):
4950
"""Make sure (de)allocation works on platforms where it's supposed to

0 commit comments

Comments
 (0)