[Lldb-commits] [lldb] [lldb] Adjust TestFunctionTypes.py for arm64e (PR #199295)

via lldb-commits lldb-commits at lists.llvm.org
Fri May 22 15:47:29 PDT 2026


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: Alex Langford (bulbazord)

<details>
<summary>Changes</summary>

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 ...)

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


1 Files Affected:

- (modified) lldb/test/API/lang/c/function_types/TestFunctionTypes.py (+1-1) 


``````````diff
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():

``````````

</details>


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


More information about the lldb-commits mailing list