[Lldb-commits] [lldb] [lldb] Skip ptr_refs tests on arm64e (PR #196389)
Alex Langford via lldb-commits
lldb-commits at lists.llvm.org
Thu May 7 11:50:12 PDT 2026
https://github.com/bulbazord created https://github.com/llvm/llvm-project/pull/196389
The ptr_refs utility does not work with pointer authentication
>From 9e9355fc4bd0e7a2dd6e65cf16ba1ba0858de7f2 Mon Sep 17 00:00:00 2001
From: Alex Langford <alangford at apple.com>
Date: Thu, 7 May 2026 11:45:34 -0700
Subject: [PATCH] [lldb] Skip ptr_refs tests on arm64e
The ptr_refs utility does not work with pointer authentication
---
lldb/test/API/functionalities/ptr_refs/TestPtrRefs.py | 1 +
lldb/test/API/lang/objc/ptr_refs/TestPtrRefsObjC.py | 1 +
2 files changed, 2 insertions(+)
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()
More information about the lldb-commits
mailing list