[Lldb-commits] [lldb] [lldb] Skip ptr_refs tests on arm64e (PR #196389)

via lldb-commits lldb-commits at lists.llvm.org
Thu May 7 11:51:03 PDT 2026


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: Alex Langford (bulbazord)

<details>
<summary>Changes</summary>

The ptr_refs utility does not work with pointer authentication

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


2 Files Affected:

- (modified) lldb/test/API/functionalities/ptr_refs/TestPtrRefs.py (+1) 
- (modified) lldb/test/API/lang/objc/ptr_refs/TestPtrRefsObjC.py (+1) 


``````````diff
diff --git a/lldb/test/API/functionalities/ptr_refs/TestPtrRefs.py b/lldb/test/API/functionalities/ptr_refs/TestPtrRefs.py
index d04a15eed10ab..54aa97377d78c 100644
--- a/lldb/test/API/functionalities/ptr_refs/TestPtrRefs.py
+++ b/lldb/test/API/functionalities/ptr_refs/TestPtrRefs.py
@@ -13,6 +13,7 @@ class TestPtrRefs(TestBase):
     @skipIfAsan  # The output looks different under ASAN.
     @skipIfMTE  # Heap scanning reads tagged memory with untagged pointers.
     @skipUnlessDarwin
+    @skipIf(archs=["arm64e"]) # ptr_refs does not work with pointer authentication
     def test_ptr_refs(self):
         """Test format string functionality."""
         self.build()
diff --git a/lldb/test/API/lang/objc/ptr_refs/TestPtrRefsObjC.py b/lldb/test/API/lang/objc/ptr_refs/TestPtrRefsObjC.py
index acecf1981dcf4..4529ccd52d387 100644
--- a/lldb/test/API/lang/objc/ptr_refs/TestPtrRefsObjC.py
+++ b/lldb/test/API/lang/objc/ptr_refs/TestPtrRefsObjC.py
@@ -12,6 +12,7 @@
 class TestPtrRefsObjC(TestBase):
     @skipIfAsan  # The output looks different under ASAN.
     @skipIfMTE  # Heap scanning reads tagged memory with untagged pointers.
+    @skipIf(archs=["arm64e"]) # ptr_refs does not work with pointer authentication
     def test_ptr_refs(self):
         """Test the ptr_refs tool on Darwin with Objective-C"""
         self.build()

``````````

</details>


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


More information about the lldb-commits mailing list