[Lldb-commits] [lldb] 0d16652 - [lldb] Skip part of TestGdbRemoteMemoryAllocation.py on Apple Silicon

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Mon Feb 7 09:41:42 PST 2022


Author: Jonas Devlieghere
Date: 2022-02-07T09:41:38-08:00
New Revision: 0d166520217bb839ffe888036ce3f38b35f87bbf

URL: https://github.com/llvm/llvm-project/commit/0d166520217bb839ffe888036ce3f38b35f87bbf
DIFF: https://github.com/llvm/llvm-project/commit/0d166520217bb839ffe888036ce3f38b35f87bbf.diff

LOG: [lldb] Skip part of TestGdbRemoteMemoryAllocation.py on Apple Silicon

Skip the part of TestGdbRemoteMemoryAllocation.py that attempts to
allocate both writable and executable memory.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/tools/lldb-server/memory-allocation/TestGdbRemoteMemoryAllocation.py b/lldb/test/API/tools/lldb-server/memory-allocation/TestGdbRemoteMemoryAllocation.py
index 0644e6c2e1ec2..351225f69c2f0 100644
--- a/lldb/test/API/tools/lldb-server/memory-allocation/TestGdbRemoteMemoryAllocation.py
+++ b/lldb/test/API/tools/lldb-server/memory-allocation/TestGdbRemoteMemoryAllocation.py
@@ -44,6 +44,7 @@ def allocate(self, size, permissions):
 
     @skipIf(oslist=no_match(supported_oses))
     @skipIf(oslist=["linux"], archs=no_match(supported_linux_archs))
+    @expectedFailureDarwin(archs=["arm64", "arm64e"]) # Memory cannot be writable and executable
     @expectedFailureAll(oslist=["windows"]) # Memory allocated with incorrect permissions
     def test_supported(self):
         """Make sure (de)allocation works on platforms where it's supposed to


        


More information about the lldb-commits mailing list