Skip to content

Commit c64d185

Browse files
committed
[lldb] Include arm64 in affected_by_radar_34562999
The same issue impacts arm64, both on-device and on Apple Silicon.
1 parent a452ca4 commit c64d185

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,10 @@ def affected_by_pr44132(self):
2222
return (self.getArchitecture() in ["aarch64", "arm"] and
2323
self.getPlatform() in ["freebsd", "linux"])
2424

25-
# ABIMacOSX_arm can't fetch simple values inside a structure
25+
# ABIMacOSX_arm(64) can't fetch simple values inside a structure
2626
def affected_by_radar_34562999(self):
27-
return (self.getArchitecture() == 'armv7' or self.getArchitecture() == 'armv7k') and self.platformIsDarwin()
27+
arch = self.getArchitecture().lower()
28+
return arch in ['arm64', 'arm64e', 'armv7', 'armv7k'] and self.platformIsDarwin()
2829

2930
@expectedFailureAll(oslist=["freebsd"], archs=["i386"],
3031
bugnumber="llvm.org/pr48376")

0 commit comments

Comments
 (0)