[Lldb-commits] [lldb] c64d185 - [lldb] Include arm64 in affected_by_radar_34562999

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Tue Aug 17 19:45:53 PDT 2021


Author: Jonas Devlieghere
Date: 2021-08-17T19:45:45-07:00
New Revision: c64d1855b9a912cd6e3d0227ecd939c93c68fd9e

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

LOG: [lldb] Include arm64 in affected_by_radar_34562999

The same issue impacts arm64, both on-device and on Apple Silicon.

Added: 
    

Modified: 
    lldb/test/API/functionalities/return-value/TestReturnValue.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/functionalities/return-value/TestReturnValue.py b/lldb/test/API/functionalities/return-value/TestReturnValue.py
index fe79c46c30f01..54abfe46c5607 100644
--- a/lldb/test/API/functionalities/return-value/TestReturnValue.py
+++ b/lldb/test/API/functionalities/return-value/TestReturnValue.py
@@ -22,9 +22,10 @@ def affected_by_pr44132(self):
         return (self.getArchitecture() in ["aarch64", "arm"] and
                 self.getPlatform() in ["freebsd", "linux"])
 
-    # ABIMacOSX_arm can't fetch simple values inside a structure
+    # ABIMacOSX_arm(64) can't fetch simple values inside a structure
     def affected_by_radar_34562999(self):
-        return (self.getArchitecture() == 'armv7' or self.getArchitecture() == 'armv7k') and self.platformIsDarwin()
+        arch = self.getArchitecture().lower()
+        return arch in ['arm64', 'arm64e', 'armv7', 'armv7k'] and self.platformIsDarwin()
 
     @expectedFailureAll(oslist=["freebsd"], archs=["i386"],
                         bugnumber="llvm.org/pr48376")


        


More information about the lldb-commits mailing list