[Lldb-commits] [lldb] 5b381d5 - [lldb][AArch64] Fix typeo in AArch64 DoFixAddr highmem (#191952)

via lldb-commits lldb-commits at lists.llvm.org
Sat Apr 18 22:01:18 PDT 2026


Author: Jason Molenda
Date: 2026-04-18T22:01:14-07:00
New Revision: 5b381d5c00009c73eb85fa8b5341590a1adf8521

URL: https://github.com/llvm/llvm-project/commit/5b381d5c00009c73eb85fa8b5341590a1adf8521
DIFF: https://github.com/llvm/llvm-project/commit/5b381d5c00009c73eb85fa8b5341590a1adf8521.diff

LOG: [lldb][AArch64] Fix typeo in AArch64 DoFixAddr highmem (#191952)

Code and Data masks are the same on AArch64, but someone could adopt a
Code mask that cleared the low 2 bits, so it's good to correct the
mistake.

rdar://174463000

Added: 
    

Modified: 
    lldb/source/Plugins/ABI/AArch64/ABIMacOSX_arm64.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Plugins/ABI/AArch64/ABIMacOSX_arm64.cpp b/lldb/source/Plugins/ABI/AArch64/ABIMacOSX_arm64.cpp
index c595564f6fb8e..8c3113e606c60 100644
--- a/lldb/source/Plugins/ABI/AArch64/ABIMacOSX_arm64.cpp
+++ b/lldb/source/Plugins/ABI/AArch64/ABIMacOSX_arm64.cpp
@@ -773,7 +773,7 @@ static addr_t DoFixAddr(addr_t addr, bool is_code, ProcessSP process_sp) {
 
   if (addr & pac_sign_extension) {
     addr_t highmem_mask = is_code ? process_sp->GetHighmemCodeAddressMask()
-                                  : process_sp->GetHighmemCodeAddressMask();
+                                  : process_sp->GetHighmemDataAddressMask();
     if (highmem_mask != LLDB_INVALID_ADDRESS_MASK)
       return addr | highmem_mask;
     return addr | mask;


        


More information about the lldb-commits mailing list