https://github.com/bulbazord created 
https://github.com/llvm/llvm-project/pull/199295

Normally the open parens happen right before a.out, but on arm64e the load 
address is placed there instead. So instead of:

$0 = 0x0000d00d (a.out...)

we instead have:

$0 = 0xcafed00d (actual=0x0000d00d a.out ...)

>From 6e184623b3b195285a19fc0fa1b84d56438b6e91 Mon Sep 17 00:00:00 2001
From: Alex Langford <[email protected]>
Date: Fri, 22 May 2026 15:41:43 -0700
Subject: [PATCH] [lldb] Adjust TestFunctionTypes.py for arm64e

Normally the open parens happen right before a.out, but on arm64e the
load address is placed there instead. So instead of:

$0 = 0x0000d00d (a.out...)

we instead have:

$0 = 0xcafed00d (actual=0x0000d00d a.out ...)
---
 lldb/test/API/lang/c/function_types/TestFunctionTypes.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lldb/test/API/lang/c/function_types/TestFunctionTypes.py 
b/lldb/test/API/lang/c/function_types/TestFunctionTypes.py
index 6e42cd63573c9..0504b6d4e524e 100644
--- a/lldb/test/API/lang/c/function_types/TestFunctionTypes.py
+++ b/lldb/test/API/lang/c/function_types/TestFunctionTypes.py
@@ -50,7 +50,7 @@ def test_pointers(self):
 
         self.expect(
             "expr string_not_empty",
-            substrs=["(int (*)(const char *)) $0 = ", "(a.out`"],
+            substrs=["(int (*)(const char *)) $0 = ", "a.out`"],
         )
 
         if self.platformIsDarwin():

_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to