[lldb] Include arm64 in affected_by_radar_34562999
authorJonas Devlieghere <jonas@devlieghere.com>
Wed, 18 Aug 2021 01:30:48 +0000 (18:30 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Wed, 18 Aug 2021 02:45:45 +0000 (19:45 -0700)
The same issue impacts arm64, both on-device and on Apple Silicon.

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

index fe79c46..54abfe4 100644 (file)
@@ -22,9 +22,10 @@ class ReturnValueTestCase(TestBase):
         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")