[Lldb-commits] [lldb] d5915e2 - [lldb] Adjust TestFunctionTypes.py for arm64e (#199295)
via lldb-commits
lldb-commits at lists.llvm.org
Fri May 22 16:44:50 PDT 2026
Author: Alex Langford
Date: 2026-05-22T16:44:46-07:00
New Revision: d5915e2911eeca5b9c97a670489bcd6bb3ccee2f
URL: https://github.com/llvm/llvm-project/commit/d5915e2911eeca5b9c97a670489bcd6bb3ccee2f
DIFF: https://github.com/llvm/llvm-project/commit/d5915e2911eeca5b9c97a670489bcd6bb3ccee2f.diff
LOG: [lldb] Adjust TestFunctionTypes.py for arm64e (#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 ...)
Added:
Modified:
lldb/test/API/lang/c/function_types/TestFunctionTypes.py
Removed:
################################################################################
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():
More information about the lldb-commits
mailing list